This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Question about PPC / libgcc.so / multilibs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]