This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30572] [4.3 Regression] target libraries links against /libgcc_s.1.dylib instead of $(prefix)/lib/libgcc_s.1.dylib
- From: "ek dot kato at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2007 02:02:27 -0000
- Subject: [Bug target/30572] [4.3 Regression] target libraries links against /libgcc_s.1.dylib instead of $(prefix)/lib/libgcc_s.1.dylib
- References: <bug-30572-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #15 from ek dot kato at gmail dot com 2007-12-17 02:02 -------
(In reply to comment #14)
> Etsushi,
> Your last patch doesn't do the right thing for the x86_64 multilib. The
> shared libraries in...
>
> /sw/lib/gcc4.3/lib/x86_64
>
> ...are linked to /sw/lib/gcc4.3/lib/libgcc_s.1.dylib instead of the desired
> /sw/lib/gcc4.3/lib/x86_64/libgcc_s.1.dylib.
Since /sw/lib/gcc4.3/lib/libgcc_s.1.dylib is a binary with 2 architectures
(i386 and x86_64 in my case; see below), I think it should work and the links
are intended one, which is not related the last patch.
$ file /sw/lib/gcc4.3/lib/libgcc_s.1.dylib
/sw/lib/gcc4.3/lib/libgcc_s.1.dylib: Mach-O universal binary with 2
architectures
/sw/lib/gcc4.3/lib/libgcc_s.1.dylib (for architecture i386): Mach-O
dynamically linked shared library i386
/sw/lib/gcc4.3/lib/libgcc_s.1.dylib (for architecture x86_64): Mach-O 64-bit
dynamically linked shared library x86_64
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30572