#35629: clang-mp-* does not link crt1.o on 10.8 by default -------------------------------+-------------------------------------------- Reporter: arsenm2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: clang-3.1 -------------------------------+-------------------------------------------- $ clang-mp-3.1 arst.c Undefined symbols for architecture x86_64: "start", referenced from: -u command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) $ clang-mp-3.2 arst.c Undefined symbols for architecture x86_64: "start", referenced from: -u command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Works: clang-mp-3.1 arst.c /usr/lib/crt1.o clang-mp-3.1 arst.c -mmacosx-version-min=10.5 clang-mp-3.1 arst.c -mmacosx-version-min=10.6 clang-mp-3.1 arst.c -mmacosx-version-min=10.7 $ clang-mp-3.1 arst.c -mmacosx-version-min=10.8 Undefined symbols for architecture x86_64: "start", referenced from: -u command line option ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) Apple's clang does not have this problem: $ /usr/bin/clang arst.c Works -- Ticket URL: <https://trac.macports.org/ticket/35629> MacPorts <http://www.macports.org/> Ports system for Mac OS