public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* libgcj missing symbol __data_start
@ 2009-08-25 14:21 Andreas Krebbel
  2009-08-25 16:43 ` Andrew Haley
  2009-09-01 15:33 ` Andrew Haley
  0 siblings, 2 replies; 8+ messages in thread
From: Andreas Krebbel @ 2009-08-25 14:21 UTC (permalink / raw)
  To: gcc-patches, java, aph

Hi Andrew,

I see a lot of libjava fails on s390 when the -findirect-dispatch
switch is used. The testcases fail with:

/gcc-build/s390x-ibm-linux-gnu/libjava/testsuite/anonarray.exe: symbol
lookup error:
/gcc-build/s390x-ibm-linux-gnu/libjava/.libs/libgcj.so.11: undefined
symbol: __data_start

This symbol used to be in the .dynsym section of the main executable
after linking. I think it was exported since libgcj.so requires
it. But with your change libgcj_bc.so does not depend on libgcj.so
anymore and since the link step does not directly use libgcj.so it is
not loaded while linking the main executable what seems to lead to the
__data_start symbol to be ommitted from the .dynsym section.

rev 150852:
ldd libgcj_bc.so
        libc.so.6 => /lib64/libc.so.6 (0x0000020000020000)
        libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000020000182000)
        /lib/ld64.so.1 (0x000002aaaaaaa000)

rev 150853:
ldd libgcj_bc.so
        libgcj.so.11 => /home/krebbel/build/gcc-build/s390x-ibm-linux-gnu/libjava/.libs/libgcj.so.11 (0x0000020000005000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00000200033bc000)
        librt.so.1 => /lib64/librt.so.1 (0x00000200033d7000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00000200033e2000)
        libz.so.1 => /lib64/libz.so.1 (0x00000200033e7000)
        libc.so.6 => /lib64/libc.so.6 (0x00000200033ff000)
        libgcc_s.so.1 => /home/krebbel/build/gcc-install/lib/../lib64/libgcc_s.so.1 (0x0000020003562000)
        /lib/ld64.so.1 (0x000002aaaaaaa000)

Does that make sense to you?  Could you please have a look if so?

I've verified that revision 150853 introduced the failures.

Bye,

-Andreas-

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-09-16 10:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-25 14:21 libgcj missing symbol __data_start Andreas Krebbel
2009-08-25 16:43 ` Andrew Haley
2009-08-26 16:32   ` Andreas Krebbel
2009-08-26 17:42     ` Boehm, Hans
2009-08-26 18:25       ` BGB
2009-09-01 15:33 ` Andrew Haley
2009-09-02 12:00   ` Andreas Krebbel
2009-09-16 10:32   ` Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).