[MacPorts] #49294: clang-3.7 +analyzer +openmp does not compile
#49294: clang-3.7 +analyzer +openmp does not compile ----------------------------+-------------------------------- Reporter: benoit.bayol@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: clang openmp | Port: clang-3.7 ----------------------------+-------------------------------- sudo port install clang-3.7 +analyzer +openmp gives : {{{ :info:build ld: library not found for -lc++ :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.7/clang-3.7/work/build/tools/clang/runtime /compiler-rt/clang_darwin/asan_osx_dynamic/x86_64/libcompiler_rt.dylib] Error 1 :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.7/clang-3.7/work/llvm-3.7.0.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.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.0/lib/macho_embedded/.dir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.7/clang-3.7/work/build/Release+Debug/lib/clang/3.7.0/lib/darwin/.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.7/clang-3.7/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.7/clang-3.7/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.7/clang-3.7/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.7/clang-3.7/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.7/clang-3.7/work/build" && /usr/bin/make -j8 -w clang-only :info:build Exit code: 2 :error:build org.macports.build for port clang-3.7 returned: command execution failed :debug:build Error code: CHILDSTATUS 34582 2 :debug:build Backtrace: command execution failed }}} It complains at linking about -lc++ but "sudo port install libcxx" is installed. -- Ticket URL: <https://trac.macports.org/ticket/49294> MacPorts <https://www.macports.org/> Ports system for OS X
#49294: clang-3.7 +analyzer +openmp does not compile -----------------------------+------------------------ Reporter: benoit.bayol@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: clang-3.7 | -----------------------------+------------------------ Changes (by ryandesign@…): * keywords: clang openmp => * owner: macports-tickets@… => jeremyhu@… Comment: Please attach the main.log file. You didn't mention what OS X and Xcode versions you are using. If you're using OS X 10.11 El Capitan, please install the ld64 port with the +ld64_xcode variant ("sudo port install ld64 +ld64_xcode"), then clean clang-3.7 ("sudo port clean clang-3.7") and try again. -- Ticket URL: <https://trac.macports.org/ticket/49294#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49294: clang-3.7 +analyzer +openmp does not compile -----------------------------+------------------------ Reporter: benoit.bayol@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: duplicate | Keywords: Port: clang-3.7 | -----------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => duplicate Comment: No need to clean clang. It should continue fine and link after setting up ld64. -- Ticket URL: <https://trac.macports.org/ticket/49294#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts