This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/54423] building trunk on Darwin 12.1 fails in building libraries
- From: "nenad at intrepid dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 Oct 2012 17:38:37 +0000
- Subject: [Bug other/54423] building trunk on Darwin 12.1 fails in building libraries
- Auto-submitted: auto-generated
- References: <bug-54423-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54423
--- Comment #2 from Nenad Vukicevic <nenad at intrepid dot com> 2012-10-16 17:38:37 UTC ---
I verified that I have the latest Xcode (4.5). I verified that I installed the
latest development CLI tools (via Xcode and manual download).
* I see that 10.8 SDK directory exists under Xcode App - but not under
/Developer
* cc running is llvm - 4.2.1
* I see that it links with the following command:
/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as -arch
x86_64 -force_cpusubtype_ALL -o
/var/folders/z7/83zx0wdj4cx644rg7p7kgwb80000gn/T//ccDk1do9.o
/var/folders/z7/83zx0wdj4cx644rg7p7kgwb80000gn/T//ccDTslhw.s
/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/collect2
-dynamic -arch x86_64 -macosx_version_min 10.8.2 -weak_reference_mismatches
non-weak -o t -lcrt1.10.6.o
-L/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/x86_64
-L/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1
-L/Developer/usr/llvm-gcc-4.2/lib/gcc/i686-apple-darwin11/4.2.1/../../..
/var/folders/z7/83zx0wdj4cx644rg7p7kgwb80000gn/T//ccDk1do9.o -lSystem -lgcc
-lSystem
Note the "-lcrt1.10.6.0" on the command line.
Is linking with crt1.10.6.0 the right fix for Mountain Lion?