Date: Wed, 20 Feb 2019 18:05:41 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 235891] lang/julia: link errors on stable/11 after clang 7.0.1 Message-ID: <bug-235891-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235891 Bug ID: 235891 Summary: lang/julia: link errors on stable/11 after clang 7.0.1 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: Trond.Endrestol@ximalas.info CC: iblis@hs.ntnu.edu.tw CC: iblis@hs.ntnu.edu.tw Flags: maintainer-feedback?(iblis@hs.ntnu.edu.tw) After clang 7.0.1 was introduced in base/stable/11, r344213, building lang/julia exhibits the following link errors: [ 85%] Linking CXX shared library ../../lib/libLTO.so gmake[5]: Entering directory '/construction/xports/lang/julia/work/julia-1.0.3/deps/scratch/llvm-6.0.0/b= uild_Release' /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 Scanning dependencies of target llvm-lto gmake[5]: Leaving directory '/construction/xports/lang/julia/work/julia-1.0.3/deps/scratch/llvm-6.0.0/b= uild_Release' c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) gmake[5]: *** [tools/llvm-config/CMakeFiles/llvm-config.dir/build.make:86: bin/llvm-config] Error 1 gmake[5]: Leaving directory '/construction/xports/lang/julia/work/julia-1.0.3/deps/scratch/llvm-6.0.0/b= uild_Release' gmake[4]: *** [CMakeFiles/Makefile2:10863: tools/llvm-config/CMakeFiles/llvm-config.dir/all] Error 2 gmake[4]: *** Waiting for unfinished jobs.... gmake[5]: Entering directory '/construction/xports/lang/julia/work/julia-1.0.3/deps/scratch/llvm-6.0.0/b= uild_Release' [ 87%] Building CXX object tools/llvm-lto/CMakeFiles/llvm-lto.dir/llvm-lto.cpp.o /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) gmake[5]: *** [tools/llvm-ar/CMakeFiles/llvm-ar.dir/build.make:85: bin/llvm= -ar] Error 1 gmake[5]: Leaving directory '/construction/xports/lang/julia/work/julia-1.0.3/deps/scratch/llvm-6.0.0/b= uild_Release' gmake[4]: *** [CMakeFiles/Makefile2:10774: tools/llvm-ar/CMakeFiles/llvm-ar.dir/all] Error 2 /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 [ 87%] Linking CXX executable ../../bin/llvm-lto c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) gmake[5]: *** [tools/lto/CMakeFiles/LTO.dir/build.make:100: lib/libLTO.so.6.0.0] Error 1 gmake[5]: Leaving directory '/construction/xports/lang/julia/work/julia-1.0.3/deps/scratch/llvm-6.0.0/b= uild_Release' gmake[4]: *** [CMakeFiles/Makefile2:10307: tools/lto/CMakeFiles/LTO.dir/all] Error 2 /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 /usr/local/bin/ld: BFD (GNU Binutils) 2.32 assertion fail elflink.c:2935 c++: error: linker command failed with exit code 1 (use -v to see invocatio= n) gmake[5]: *** [tools/llvm-lto/CMakeFiles/llvm-lto.dir/build.make:85: bin/llvm-lto] Error 1 Previously the link errors was limited to base/head, but now I fear base/stable/12 is equally affected. lang/julia pulls in lang/gcc8, presumably as a build tool, yet it proceeds = to use cc (clang 7.0.1) as its compiler. Maybe an adjustment of LD is all that's required. Full build log is available at https://ximalas.info/~trond/julia-stable-11/lang___julia.log --=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-235891-7788>