------- Comment #11 from aph at gcc dot gnu dot org  2008-12-10 11:32 -------
This looks like a bug to me.

zorro:tmp $ gcj /home/aph/gcc/trunk/ecj.jar
--main=org.eclipse.jdt.internal.compiler.batch.Main -o ecj -findirect-dispatch

zorro:tmp $ readelf -d ecj

Dynamic section at offset 0xa92728 contains 28 entries:
  Tag        Type                         Name/Value
 0x0000000000000001 (NEEDED)             Shared library: [libgcc_s.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libgcj_bc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libm.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libpthread.so.0]
 0x0000000000000001 (NEEDED)             Shared library: [librt.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libz.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libdl.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libc.so.6]
 0x0000000000000001 (NEEDED)             Shared library: [libgcj.so.9]

Generating a link map doesn't help: there are no references to libgcj.so


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38396

Reply via email to