This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
[regressions in GCC/libjava testsuite] Re: Patch to make bfd compile with -Wc++-compat
- From: Matthias Klose <doko at ubuntu dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: Martin Thuresson <martin at mtme dot org>, binutils <binutils at sourceware dot org>, Tristan Gingold <gingold at adacore dot com>, GCC Java <java at gcc dot gnu dot org>
- Date: Thu, 01 Oct 2009 01:01:33 +0200
- Subject: [regressions in GCC/libjava testsuite] Re: Patch to make bfd compile with -Wc++-compat
- References: <624836f10909071812q358c0ff8p34ce468ccadb50@mail.gmail.com> <m3pra1w0t9.fsf@google.com> <624836f10909082138h1e14eb14j76d08ba0e4d76d0a@mail.gmail.com> <624836f10909082308p349131c5l103efc029e9e26e0@mail.gmail.com> <4AA820CB.3030403@redhat.com>
On 09.09.2009 23:40, Nick Clifton wrote:
Hi Martin,
Reran make check, make check-gas and make check-ld on x86_64-linux and
arm-eabi
and found no regression.
Approved and applied (mainline and branch).
I identified this patch or the one applied to the binutils subdirectory to cause
regressions in the GCC/libjava testsuite on the 4.3/4.4 branches and trunk, at
least on {x86,x86_64,powerpc}-linux:
FAIL: StackTrace2 execution - source compiled test
FAIL: StackTrace2 -findirect-dispatch execution - source compiled test
FAIL: StackTrace2 -O3 execution - source compiled test
FAIL: StackTrace2 -O3 -findirect-dispatch execution - source compiled test
FAIL: Throw_3 execution - source compiled test
FAIL: Throw_3 -findirect-dispatch execution - source compiled test
FAIL: Throw_3 -O3 execution - source compiled test
FAIL: Throw_3 -O3 -findirect-dispatch execution - source compiled test
FAIL: stacktrace execution - source compiled test
FAIL: stacktrace -findirect-dispatch execution - source compiled test
FAIL: stacktrace -O3 execution - source compiled test
FAIL: stacktrace -O3 -findirect-dispatch execution - source compiled test
The tests fail as:
set_ld_library_path_env_vars:
ld_library_path=.:/scratch/packages/gcc/4.3/u/java/gcj-4.3-4.3.4/build/i486-linux-gnu/./libjava/.libs:/scratch/packages/gcc/4.3/u/java/gcj-4.3-4.3.4/build/gcc
invoke:
/scratch/packages/gcc/4.3/u/java/gcj-4.3-4.3.4/build/i486-linux-gnu/libjava/testsuite/StackTrace2.exe
Setting LD_LIBRARY_PATH to
.:/scratch/packages/gcc/4.3/u/java/gcj-4.3-4.3.4/build/i486-linux-gnu/./libjava/.libs:/scratch/packages/gcc/4.3/u/java/gcj-4.3-4.3.4/build/gcc:.:/scratch/packages/gcc/4.3/u/java/gcj-4.3-4.3.4/build/i486-linux-gnu/./libjava/.libs:/scratch/packages/gcc/4.3/u/java/gcj-4.3-4.3.4/build/gcc
Exception in thread "main" java.lang.NullPointerException
*** Got java.lang.NullPointerException while trying to print stack trace.
No difference, if binutils is built with 4.3.4 or 4.4.1.
Matthias