Changes between Initial Version and Version 3 of Ticket #49177


Ignore:
Timestamp:
Oct 8, 2015, 2:54:06 AM (9 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

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) to clang-3.5: ld: library not found for -lc++
  • Ticket #49177 – Description

    initial v3  
    11Trying to build clang-3.5 with Xcode 7.0.1 (Build version 7A1001) on OS X El Capitan 10.11 (15A284) fails:
    22
    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
     8Error: org.macports.build for port clang-3.5 returned: command execution failed
     9Please 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...
     12Error: Processing of port clang-3.5 failed
     13}}}
    1214
    1315This seems to be a linker problem related to libc++, as the log file repeatedly contains the lines:
    1416
    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}}}
    1721
    1822BTW: Building clang-3.6 on the same system works without a problem.