This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcj-4.3.20060126 miscompiles native libraries?
- From: Andrew Haley <aph at redhat dot com>
- To: Hanno Meyer-Thurow <h dot mth at web dot de>
- Cc: java at gcc dot gnu dot org
- Date: Sat, 27 Jan 2007 14:55:17 +0000
- Subject: Re: gcj-4.3.20060126 miscompiles native libraries?
- References: <20070127150659.5d11f680.h.mth@web.de>
Hanno Meyer-Thurow writes:
> Hi again,
> another thing I see with latest gcj.
>
> 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?
> At least calling javac wrapper then fails.
Fails how, exactly?
> Deleteing /usr/share/java/classpath.gcjdb makes it work again.
>
> Though, ant buildfiles still fail on javac tasks like:
>
> Missing resource: org/eclipse/jdt/internal/compiler/batch/messages.properties for locale: de_DE
> error starting modern compiler
>
>
> I should say that gcj-4.3.20060119 does fine.
> Please tell me what other information you may need.
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?
Andrew.