[regressions in GCC/libjava testsuite] Re: Patch to make bfd compile with -Wc++-compat

Matthias Klose <[email protected]>
Newsgroups gmane.comp.gnu.binutils,gmane.comp.gcc.java.devel
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.