This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Question about PPC / libgcc.so / multilibs
- To: GCC Hackers <gcc at gcc dot gnu dot org>
- Subject: Question about PPC / libgcc.so / multilibs
- From: Tom Tromey <tromey at redhat dot com>
- Date: 20 Mar 2001 10:23:34 -0700
- Reply-To: tromey at redhat dot com
I'm using the gcc 3.0 branch.
By default a gcc compiled on this branch builds two multilibs. I've
been trying to get the Java libraries to build in this environment.
Right now I've reached this problem when linking a program in the
`nof' libjava directory:
./../boehm-gc/.libs/libgcjgc.so: undefined reference to `__fixunsdfsi'
Running the link with `-v' shows me that libgcc_s_nof.so is being
linked in. If I look at the .so's I see this:
cachet. nm libgcc_s_nof.so | grep fixunsdfsi
000045fc t __fixunsdfsi
cachet. nm libgcc_s.so | grep fixunsdfsi
000045d0 t __fixunsdfsi
I don't understand this. Why would the GC library have a reference to
a function that is not exported?
Adding `__fixunsdfsi' to libgcc-std.ver fixes the problem for me.
However I doubt that is the real solution. What is the real fix?
Tom