Date: Sat, 02 Mar 2019 07:06:53 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 236144] graphics/embree: relocation R_X86_64_PC32 against `__stdoutp@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC Message-ID: <bug-236144-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236144 Bug ID: 236144 Summary: graphics/embree: relocation R_X86_64_PC32 against `__stdoutp@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: yuri@freebsd.org Flags: maintainer-feedback?(danfe@FreeBSD.org) Assignee: danfe@FreeBSD.org Created attachment 202493 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202493&action= =3Dedit patch It breaks in 112amd64: ---log--- [313/354] : && /usr/bin/c++ -msse2 -Wall -Wformat -Wformat-security -fPIE -fPIC -std=3Dc++11 -fvisibility=3Dhidden -fvisibility-inlines-hidden -fno-strict-aliasing -D_FORTIFY_SOURCE=3D2 -fno-tree-vectorize -DNDEBUG -O= 3=20 -fstack-protector -z noexecstack -z relro -z now -pie tutorials/triangle_geometry/triangle_geometry_device.dev.o tutorials/triangle_geometry/triangle_geometry_device.dev_sse2.o tutorials/triangle_geometry/triangle_geometry_device.dev_sse4.o tutorials/triangle_geometry/triangle_geometry_device.dev_avx.o tutorials/triangle_geometry/triangle_geometry_device.dev_avx2.o tutorials/triangle_geometry/CMakeFiles/triangle_geometry_ispc.dir/triangle_= geometry.cpp.o -o triangle_geometry_ispc=20 -Wl,-rpath,/wrkdirs/usr/ports/graphics/embree/work/.build:/usr/local/lib: libtutorial.a libimage.a libtutorial_device_ispc.a libnoise.a libnoise_ispc= .a libembree.so.2.17.6 libembree_sse42.a libembree_avx.a libembree_avx2.a libsimd.a libtasking.a libtutorial.a libscenegraph.a libimage.a liblexers.a /usr/local/lib/libGL.so /usr/local/lib/libGLU.so /usr/local/lib/libglut.so /usr/local/lib/libXmu.so /usr/local/lib/libXi.so liblights_ispc.a libsys.a -pthread libmath.a && : FAILED: triangle_geometry_ispc : && /usr/bin/c++ -msse2 -Wall -Wformat -Wformat-security -fPIE -fPIC -std=3Dc++11 -fvisibility=3Dhidden -fvisibility-inlines-hidden -fno-strict-= aliasing -D_FORTIFY_SOURCE=3D2 -fno-tree-vectorize -DNDEBUG -O3 -fstack-protector = -z noexecstack -z relro -z now -pie tutorials/triangle_geometry/triangle_geometry_device.dev.o tutorials/triangle_geometry/triangle_geometry_device.dev_sse2.o tutorials/triangle_geometry/triangle_geometry_device.dev_sse4.o tutorials/triangle_geometry/triangle_geometry_device.dev_avx.o tutorials/triangle_geometry/triangle_geometry_device.dev_avx2.o tutorials/triangle_geometry/CMakeFiles/triangle_geometry_ispc.dir/triangle_= geometry.cpp.o -o triangle_geometry_ispc=20 -Wl,-rpath,/wrkdirs/usr/ports/graphics/embree/work/.build:/usr/local/lib: libtutorial.a libimage.a libtutorial_device_ispc.a libnoise.a libnoise_ispc= .a libembree.so.2.17.6 libembree_sse42.a libembree_avx.a libembree_avx2.a libsimd.a libtasking.a libtutorial.a libscenegraph.a libimage.a liblexers.a /usr/local/lib/libGL.so /usr/local/lib/libGLU.so /usr/local/lib/libglut.so /usr/local/lib/libXmu.so /usr/local/lib/libXi.so liblights_ispc.a libsys.a -pthread libmath.a && : /usr/bin/ld: libtutorial_device_ispc.a(tutorial_device.dev_sse2.o): relocat= ion R_X86_64_PC32 against `__stdoutp@@FBSD_1.0' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236144-7788>