gcj-4.3.20060126 miscompiles native libraries?

Hanno Meyer-Thurow h.mth@web.de
Sat Jan 27 15:47:00 GMT 2007


On 2007年1月27日 14:55:17 +0000
Andrew Haley <aph@redhat.com> wrote:
> Hanno Meyer-Thurow writes:
> > gcj -shared -Wl,-Bsymbolic -fPIC -findirect-dispatch -fjni -g0 -O1 -mtune=pentium4 -march=pentium4 -pipe -momit-leaf-frame-pointer -fomit-frame-pointer -o /usr/share/eclipse-ecj-3.3/lib/libecj.jar.so /usr/share/eclipse-ecj-3.3/lib/ecj.jar
> > 
> > ... seems to miscompile native libraries. 
>> Hmm. Are you trying to run a newly-compiled set of libraries with an
> old libgcj?

Nope.
> A test case would be nice. Is there some way that youy can turn this
> into a complete set of commands, with all the files included, that I
> can run for myself?

Compile ecj with the latest snapshot.
Then try to compile anything with this script:
#!/bin/sh
/usr/lib/gcj-4.3.0_alpha20070126/bin/gij -Dgnu.gcj.precompiled.db.path=/usr/share/java/classmap.gcjdb \
 org.eclipse.jdt.internal.compiler.batch.Main -nowarn "${@}"
I will see if I get any useful information out of a debug build later.
Hanno


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /