This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/42825] New: bootstrap fails: /usr/bin/ld: can't locate file for: -lgcc_s.10.4
- From: "3dw4rd at verizon dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 21 Jan 2010 13:36:50 -0000
- Subject: [Bug bootstrap/42825] New: bootstrap fails: /usr/bin/ld: can't locate file for: -lgcc_s.10.4
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
While bootstrapping on MacOSX 10.3 a link error is found in stage3 while
building libstdc++
The library in question is libgcc_s.10.4.
I've had a look at gcc/config/ and it seems this is supposed to be a
There are several of these in
If a system library is required then we have these:
MacOSX:~/gcc/libstdc++-v3/include/tr1_impl ed$ ll /usr/lib/libgcc*
/usr/lib/libgcc.a -> gcc/darwin/default/libgcc.a
/usr/lib/libgcc_s.1.0.dylib
/usr/lib/libgcc_s.1.dylib -> libgcc_s.1.0.dylib
Possibility: MacOSX 10.3 was dropped - it looks like the
libgcc_s.10.4 and libgcc_s.10.5 are from MacOSX 10.4 and 10.5 respectively.
Should the link be against libgcc_s.1.0.dylib dot MacOSX10.3 instead?
Possibility: Should the link use the recently built libgcc_s.1 instead of a
system library?
I might try to fake out the compile with a link from libgcc_s.10.4.dylib to
libgcc_s.1.0.dylib
I'll report back.
I still think it's a config problem though.
--
Summary: bootstrap fails: /usr/bin/ld: can't locate file for: -
lgcc_s.10.4
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: 3dw4rd at verizon dot net
GCC build triplet: powerpc-apple-darwin7.9.0
GCC host triplet: powerpc-apple-darwin7.9.0
GCC target triplet: powerpc-apple-darwin7.9.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42825