This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/22082] Can't link 64-bit shared libraries with Xcode 2.1
- From: "lucier at math dot purdue dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2005 10:31:26 -0000
- Subject: [Bug target/22082] Can't link 64-bit shared libraries with Xcode 2.1
- References: <bug-22082-271@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #23 from lucier at math dot purdue dot edu 2005-10-04 10:31 -------
This bug was triaged as a duplicate of 21757, which has now been resolved as
"fixed".
And this bug still doesn't work with mainline. Here are the symptoms.
[lindv2:~/Desktop/gcc-test] lucier% cat conftest.c
int main() {
return 0;
}
[lindv2:~/Desktop/gcc-test] lucier% /pkgs/gcc-mainline/bin/gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.2.0
Configured with: ../configure powerpc-apple-darwin8.2.0 --enable-languages=c
--prefix=/pkgs/gcc-mainline --with-gmp=/pkgs/gmp-4.1.4
--with-mpfr=/pkgs/gmp-4.1.4
Thread model: posix
gcc version 4.1.0 20051003 (experimental)
[lindv2:~/Desktop/gcc-test] lucier% /pkgs/gcc-mainline/bin/gcc -dynamiclib -o
conftest conftest.c
[lindv2:~/Desktop/gcc-test] lucier% otool -L conftest
conftest:
conftest (compatibility version 0.0.0, current version 0.0.0)
/pkgs/gcc-mainline/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 88.2.1)
[lindv2:~/Desktop/gcc-test] lucier% /pkgs/gcc-mainline/bin/gcc -m64 -dynamiclib
-o conftest conftest.c
/usr/bin/libtool: can't locate file for: -lgcc_s.10.4
/usr/bin/libtool: file: -lgcc_s.10.4 is not an object file (not allowed in a
library)
[lindv2:~/Desktop/gcc-test] lucier% pushd /pkgs/gcc-mainline/
/pkgs/gcc-mainline ~/Desktop/gcc-test
[lindv2:/pkgs/gcc-mainline] lucier% find . -name '*libgcc*'
./lib/gcc/powerpc-apple-darwin8.2.0/4.1.0/libgcc.a
./lib/gcc/powerpc-apple-darwin8.2.0/4.1.0/libgcc_eh.a
./lib/gcc/powerpc-apple-darwin8.2.0/4.1.0/ppc64/libgcc.a
./lib/gcc/powerpc-apple-darwin8.2.0/4.1.0/ppc64/libgcc_eh.a
./lib/libgcc_s.1.dylib
./lib/libgcc_s.10.4.dylib
./lib/libgcc_s.10.5.dylib
./lib/libgcc_s.dylib
./lib/libgcc_s_ppc64.1.dylib
./lib/libgcc_s_ppc64.dylib
--
lucier at math dot purdue dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|DUPLICATE |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22082