Opened 9 years ago
Last modified 9 years ago
#49177 closed defect
clang-3.5 fails to build (Xcode 7.0.1, OS X El Capitan) — at Initial Version
Reported by: | csinz (Carsten Sinz) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | elcapitan | Cc: | |
Port: | clang-3.5 |
Description
Trying to build clang-3.5 with Xcode 7.0.1 (Build version 7A1001) on OS X El Capitan 10.11 (15A284) fails:
$ sudo port install clang-3.5
---> Computing dependencies for clang-3.5
...
---> Building clang-3.5
Error: org.macports.build for port clang-3.5 returned: command execution failed
Please see the log file for port clang-3.5 for details:
/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
...
Error: Processing of port clang-3.5 failed
This seems to be a linker problem related to libc++, as the log file repeatedly contains the lines:
:info:build ld: library not found for -lc++
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
BTW: Building clang-3.6 on the same system works without a problem.