[MacPorts] #48163: clang-3.6 @3.6.1_1: fails to build on Mavericks
#48163: clang-3.6 @3.6.1_1: fails to build on Mavericks --------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: clang-3.6 --------------------+------------------------ What's going on with {{{libunwind}}} and the architectures here? {{{ :info:build /opt/local/bin/ranlib 2> /dev/null /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build/tools/clang/ runtime/compiler-rt/clang_darwin/ubsan_osx/i386/libcompiler_rt.a :info:build /opt/local/bin/ranlib 2> /dev/null /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build/tools/clang/ runtime/compiler-rt/clang_darwin/ubsan_osx/x86_64/libcompiler_rt.a :info:build ld: in '/opt/local/lib/libunwind.dylib', file was built for x86_64 which is not the architecture being linked (i386): /opt/local/lib/libunwind.dylib for architecture i386 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[4]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build/tools/clang/runtime /compiler-rt/ clang_darwin/asan_osx_dynamic/i386/libcompiler_rt.dylib] Error 1 :info:build make[4]: *** Waiting for unfinished jobs.... :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/llvm-3.6.1.src/projects/ compiler-rt' :info:build make[3]: *** [BuildRuntimeLibraries] Error 2 :info:build rm /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build/Release+Debug/lib/clang/3.6.1/lib/darwin/.dir / opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build/Release+Debug/lib/clang/3.6.1/lib/macho_embedded/.dir :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build/tools/clang/runtime/ compiler-rt' :info:build make[2]: *** [compiler-rt/.makeall] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build/tools/clang/runtime' :info:build make[1]: *** [all] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build/tools/clang' :info:build make: *** [all] Error 1 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.6/clang-3.6/work/build" && /usr/bin/make -j5 -w clang-only :info:build Exit code: 2 :error:build org.macports.build for port clang-3.6 returned: command execution failed }}} -- Ticket URL: <https://trac.macports.org/ticket/48163> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by larryv@…): You have the `libunwind` port installed? It looks like Clang’s build is picking that up accidentally. -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by mk@…): Can one forbid that for clang in its portfile somehow, or do I need to manually deactivate it myself before upgrading clang? -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by mk@…): I've uninstalled port {{{libunwind}}} and upgraded {{{clang-3.6}}} successfully by now. -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by mk@…): So, shall this be considered a port bug to be fixed or shall we close this ticket as invalid? -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by larryv@…): Leave it open. The opportunistic nature makes it a port bug. -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by jeremyhu@…): Yeah, we need to fix this. Don't close it. -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by jeremyhu@…): Can you please attach your full log? -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by mk@…): Sorry, that's already history. I can't supply a log anymore without reverting to the previous clang-3.6 version, reinstalling libunwind and redoing a clang-3.6 update. -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by jeremyhu@…): Ok, well from what I can tell, the i386 ASan libcompiler_rt.dylib build tried to link against MacPorts' libunwind.dylib for some reason. I'll need to take a closer look at the Makefiles. Did clang-3.5 and/or clang-3.7 build ok for you with libunwind installed? -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: clang-3.6 | ------------------------+------------------------ Comment (by mk@…): I _believe_ that clang-3.5 didn't misbehave. clang-3.7 I didn't have installed at the time, sorry. -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#48163: clang-3.6 @3.6.1_1: incorrectly uses libunwind port if installed ------------------------+------------------------ Reporter: mk@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: wontfix | Keywords: Port: clang-3.6 | ------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => wontfix Comment: This is an issue with the linker and no w something we can really do anything about. You should install libunwind +universal. -- Ticket URL: <https://trac.macports.org/ticket/48163#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts