Changes between Initial Version and Version 3 of Ticket #49177
- Timestamp:
- Oct 8, 2015, 2:54:06 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #49177
- Property Owner changed from macports-tickets@… to jeremyhu@…
- Property Keywords elcapitan added
-
Property
Summary
changed from
clang-3.5 fails to build (Xcode 7.0.1, OS X El Capitan)
toclang-3.5: ld: library not found for -lc++
-
Ticket #49177 – Description
initial v3 1 1 Trying to build clang-3.5 with Xcode 7.0.1 (Build version 7A1001) on OS X El Capitan 10.11 (15A284) fails: 2 2 3 $ sudo port install clang-3.5 \\ 4 ---> Computing dependencies for clang-3.5 \\ 5 ... \\ 6 ---> Building clang-3.5 \\ 7 Error: org.macports.build for port clang-3.5 returned: command execution failed \\ 8 Please see the log file for port clang-3.5 for details: \\ 9 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/main.log \\ 10 ...\\ 11 Error: Processing of port clang-3.5 failed \\ 3 {{{ 4 $ sudo port install clang-3.5 5 ---> Computing dependencies for clang-3.5 6 ... 7 ---> Building clang-3.5 8 Error: org.macports.build for port clang-3.5 returned: command execution failed 9 Please see the log file for port clang-3.5 for details: 10 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_llvm-3.5/clang-3.5/main.log 11 ... 12 Error: Processing of port clang-3.5 failed 13 }}} 12 14 13 15 This seems to be a linker problem related to libc++, as the log file repeatedly contains the lines: 14 16 15 :info:build ld: library not found for -lc++ \\ 16 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) \\ 17 {{{ 18 :info:build ld: library not found for -lc++ 19 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) 20 }}} 17 21 18 22 BTW: Building clang-3.6 on the same system works without a problem.