FreeBSD Bugzilla – Attachment 214530 Details for
Bug 246488
gcc-built binary crashes in std::ios_base::Init::Init()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to build cad/openvsp with GCC
cad_openvsp_gcc_build.svndiff (text/plain), 1.78 KB, created by
Fernando ApesteguĂa
on 2020-05-15 16:52:46 UTC
(
hide
)
Description:
Patch to build cad/openvsp with GCC
Filename:
MIME Type:
Creator:
Fernando ApesteguĂa
Created:
2020-05-15 16:52:46 UTC
Size:
1.78 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 535284) >+++ Makefile (working copy) >@@ -13,7 +13,6 @@ > LICENSE_FILE= ${WRKSRC}/LICENSE > LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept > >-BROKEN= fails to link > BROKEN_aarch64= fails to compile: invokes x86 asm > > LIB_DEPENDS= libdrm.so:graphics/libdrm \ >@@ -27,8 +26,8 @@ > ${LOCALBASE}/include/glm/glm.hpp:math/glm \ > ${LOCALBASE}/libdata/pkgconfig/pthread-stubs.pc:devel/libpthread-stubs > >-USES= compiler:c++11-lang cmake:noninja localbase\ >- gl gnome jpeg xorg >+USES= cmake:noninja localbase\ >+ gl gnome jpeg pkgconfig xorg > USE_GITHUB= yes > GH_PROJECT= OpenVSP > GH_ACCOUNT= ${GH_PROJECT} >@@ -36,7 +35,7 @@ > CMAKE_SOURCE_PATH= ${WRKSRC}/SuperProject > CMAKE_INSTALL_PREFIX= ${STAGEDIR}${PREFIX} > CMAKE_ARGS= -DVSP_USE_SYSTEM_CMINPACK:BOOLEAN=yes \ >- -DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=yes \ >+ -DVSP_USE_SYSTEM_CPPTEST:BOOLEAN=no \ > -DVSP_USE_SYSTEM_CODEELI:BOOLEAN=no \ > -DVSP_USE_SYSTEM_EIGEN:BOOLEAN=no \ > -DVSP_USE_SYSTEM_LIBXML2:BOOLEAN=yes \ >@@ -44,8 +43,15 @@ > -DVSP_USE_SYSTEM_CMINPACK:boolean=no \ > -DVSP_USE_SYSTEM_GLM:BOOLEAN=yes \ > -DVSP_USE_SYSTEM_GLEW:BOOLEAN=yes >+ >+CXXFLAGS+= -lgcc -lstdc++ >+CPPFLAGS+= -lgcc -lstdc++ >+ > USE_XORG= ice sm x11 xau xcb xdamage xdmcp xext xfixes xft \ > xinerama xrender xxf86vm >+ >+USE_GCC= 9+ >+ > USE_GL= gl glew glu > > USE_GNOME= libxml2 >@@ -54,13 +60,6 @@ > > .include <bsd.port.pre.mk> > >-# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230888 >-.if ${OPSYS} == FreeBSD >-.if (${OSVERSION} < 1200000 || ${OSVERSION} >=1300000) >-BROKEN= undefined reference to __atomic_load >-.endif >-.endif >- > BUILD_PREFIX= OpenVSP-prefix/src/OpenVSP-build/_CPack_Packages/FreeBSD/ZIP/OpenVSP-${DISTVERSION}-FreeBSD > > do-install:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 246488
: 214530