[Bug java/20190] New: [4.0 regression] 81 java regressions for arm-elf, undefined references

hp at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Feb 24 17:03:00 GMT 2005


Using Geoff Keatings contrib/regression/btest-gcc.sh, I notice regression in
the test-results, all in the libjava test-suite.  These tests passed with
LAST_UPDATED: "Sat Feb 12 07:27:15 UTC 2005"
and fail with LAST_UPDATED: "Wed Feb 23 22:28:12 UTC 2005":
+libjava.sum ArrayClass
+libjava.sum AssertBug
+libjava.sum Case
+libjava.sum G19990210_1
+libjava.sum G19990210_2
+libjava.sum G19990210_3
+libjava.sum G19990217_01
+libjava.sum G19990225_01
+libjava.sum InnerExcept
+libjava.sum N19990310_01
+libjava.sum N19990317
+libjava.sum OperatorBenchmark
+libjava.sum PR12374
+libjava.sum PR12857
+libjava.sum PR13024
+libjava.sum PR13237
+libjava.sum PR1343
+libjava.sum PR15769
+libjava.sum PR16249
+libjava.sum PR16675
+libjava.sum PR16701
+libjava.sum PR19295
+libjava.sum PR206
+libjava.sum PR209
+libjava.sum PR232
+libjava.sum PR232B
+libjava.sum PR234
+libjava.sum PR235
+libjava.sum PR295
+libjava.sum PR374
+libjava.sum PR375
+libjava.sum PR5902
+libjava.sum PR5913
+libjava.sum PR6026
+libjava.sum Semi
+libjava.sum Statics
+libjava.sum SuperConstr
+libjava.sum SyncTest
+libjava.sum T20020529
+libjava.sum T20020604
+libjava.sum TLtest
+libjava.sum TestEarlyGC
+libjava.sum TestLeak
+libjava.sum TestMultiple
+libjava.sum TestParent
+libjava.sum Thread_Alive
+libjava.sum Thread_Interrupt
+libjava.sum Thread_Join
+libjava.sum Thread_Monitor
+libjava.sum Thread_Sleep
+libjava.sum Thread_Wait
+libjava.sum Thread_Wait_2
+libjava.sum Thread_Wait_Interrupt
+libjava.sum Twice
+libjava.sum XercesBug
+libjava.sum assignment
+libjava.sum assignment_2
+libjava.sum comment
+libjava.sum final_initialization_in_ctor
+libjava.sum final_local_switch
+libjava.sum iface
+libjava.sum inner_data
+libjava.sum inner_inherit
+libjava.sum inner_priv
+libjava.sum inner_pub
+libjava.sum linking
+libjava.sum narrow_case
+libjava.sum perc
+libjava.sum plusplus
+libjava.sum pr10459
+libjava.sum pr172
+libjava.sum pr17329
+libjava.sum pr174
+libjava.sum pr17500
+libjava.sum pr176
+libjava.sum pr7912
+libjava.sum pr8712
+libjava.sum pr8955
+libjava.sum static_init2
+libjava.sum static_inner
+libjava.sum zeroexp

The failures look like this:
Executing on host:
/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/libjava/testsuite/../libtool
--silent --tag=GCJ --mode=\
link /home/hp/cvs_areas/combined/arm-regobj/gcc/gcj
-B/home/hp/cvs_areas/combined/arm-regobj/gcc/ -nostdinc -B/home/hp/cvs_areas/\
combined/arm-regobj/arm-unknown-elf/newlib/ -isystem
/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/newlib/targ-include -\
isystem /home/hp/cvs_areas/combined/combined/newlib/libc/include
-B/tmp/reg-arm/arm-unknown-elf/bin/ -B/tmp/reg-arm/arm-unknown-e\
lf/lib/ -isystem /tmp/reg-arm/arm-unknown-elf/include -isystem
/tmp/reg-arm/arm-unknown-elf/sys-include -L/home/hp/cvs_areas/comb\
ined/arm-regobj/ld --encoding=UTF-8
-B/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/libjava/testsuite/../
/home/hp/cvs_a\
reas/combined/combined/libjava/testsuite/libjava.compile/ArrayClass.java  
-no-install --main=ArrayClass    -L/home/hp/cvs_areas/\
combined/arm-regobj/ld  -g 
-L/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/libjava/testsuite/../../libjava/.libs
-lm   \
-o
/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/libjava/testsuite/ArrayClass.exe   
(timeout = 300)
/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/libjava/testsuite/../../libjava/.libs/libgcj.a(jni.o):
In function `_Jv_JN\
I_GetAnyMethodID<0u>':^M
/home/hp/cvs_areas/combined/combined/libjava/jni.cc:730: undefined reference to
`java::lang::StringBuffer::StringBuffer(java::lan\
g::String*)'^M
/home/hp/cvs_areas/combined/combined/libjava/jni.cc:736: undefined reference to
`java::lang::StringBuffer::class$'^M
/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/libjava/testsuite/../../libjava/.libs/libgcj.a(jni.o):
In function `_Jv_JN\
I_GetAnyMethodID<1u>':^M
/home/hp/cvs_areas/combined/combined/libjava/jni.cc:730: undefined reference to
`java::lang::StringBuffer::StringBuffer(java::lan\
g::String*)'^M
/home/hp/cvs_areas/combined/combined/libjava/jni.cc:736: undefined reference to
`java::lang::StringBuffer::class$'^M
/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/libjava/testsuite/../../libjava/.libs/libgcj.a(link.o):
In function `_Jv_L\
inker::find_field(java::lang::Class*, java::lang::Class*, _Jv_Utf8Const*,
_Jv_Utf8Const*)':^M
/home/hp/cvs_areas/combined/combined/libjava/link.cc:178: undefined reference to
`java::lang::StringBuffer::StringBuffer()'^M
/home/hp/cvs_areas/combined/combined/libjava/link.cc:202: undefined reference to
`java::lang::StringBuffer::StringBuffer()'^M
/home/hp/cvs_areas/combined/combined/libjava/link.cc:197: undefined reference to
`java::lang::StringBuffer::class$'^M
/home/hp/cvs_areas/combined/arm-regobj/arm-unknown-elf/libjava/testsuite/../../libjava/.libs/libgcj.a(link.o):
In function `_Jv_L\
inker::search_method_in_class(java::lang::Class*, java::lang::Class*,
_Jv_Utf8Const*, _Jv_Utf8Const*)':^M
...
FAIL: ArrayClass compilation from source

(2800 lines for the first error, seemingly similar for the rest)
Note also that "WARNING: Status wrapper failed to build."; it apparently
needs the same tweaks as are in the gcc testsuite.
(I think that's independent of the error in this PR though.)

-- 
           Summary: [4.0 regression] 81 java regressions for arm-elf,
                    undefined references
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-elf


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



More information about the Gcc-bugs mailing list