Array_3 execution failure on sparc-linux (sun4m/sparc32) in gcc 3.2 branch 20021008

Christian Jönsson christian@j-son.org
Wed Oct 9 08:01:00 GMT 2002


Just as a litte freshen up, is the Array_3 issues still what to expect?

chj@fw:/usr/local/src/gcc-binutils/branch/objdir/sparc-linux/libjava/testsuite$ env LD_LIBRARY_PATH=../.libs:../../../gcc ldd Array_3
        libm.so.6 => /lib/libm.so.6 (0x50029000)
        libgcc_s.so.1 => ../../../gcc/libgcc_s.so.1 (0x500be000)
        libgcj.so.3 => ../.libs/libgcj.so.3 (0x500d6000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x50666000)
        libdl.so.2 => /lib/libdl.so.2 (0x50688000)
        libc.so.6 => /lib/libc.so.6 (0x50699000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x50000000)
chj@fw:/usr/local/src/gcc-binutils/branch/objdir/sparc-linux/libjava/testsuite$ env LD_LIBRARY_PATH=../.libs:../../../gcc gdb Array_3
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-linux"...
(gdb) r
Starting program: /share2/gcc-rel/objdir/sparc-linux/libjava/testsuite/Array_3
[New Thread 1024 (LWP 11956)]
[New Thread 2049 (LWP 12525)]
[New Thread 1026 (LWP 12532)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 11956)]
Array_3.main(java.lang.String[]) () at Array_3.java:23
23      Array_3.java: No such file or directory.
        in Array_3.java
Current language:  auto; currently java
(gdb) bt
#0  Array_3.main(java.lang.String[]) () at Array_3.java:23
#1  0x5034c1e8 in gnu::gcj::runtime::FirstThread::call_main() (this=@7e8f8)
    at /usr/local/src/gcc-binutils/branch/gcc/libjava/gnu/gcj/runtime/natFirstThread.cc:46
#2  0x50357498 in _Jv_ThreadRun(java::lang::Thread*) (thread=@7e8f8)
    at /usr/local/src/gcc-binutils/branch/gcc/libjava/java/lang/natThread.cc:285
#3  0x5033cebc in _Jv_RunMain(java::lang::Class*, char const*, int, char const**, bool) (klass=@20dac, name=null, argc=-4096,
    argv=@efffeae4, is_jar=false) at /usr/local/src/gcc-binutils/branch/gcc/libjava/prims.cc:1010
#4  0x00010a7c in main (argc=0, argv=@fffff000) at /tmp/cc4W44UZ.i:11
(gdb)


This was on a Debian 3.0 (Woody) dual SuperSparc-II sun4m system with these
packages:

binutils	2.12.90.0.1-4 (20020307)
dejagnu		1.4.2-1.1
expect		5.32.2-4
gcc		2:2.95.4-14 (Debian prerelease)
gcc-2.95	1:2.95.4-7  (Debian prerelease)
gnat		3.14p-3
kernel-image	2.4.19_2    (from http://osinvestor.com/sparc)
tcl8.3		8.3.3-7

LAST_UPDATED: Wed Oct  9 06:55:33 UTC 2002

Native configuration is sparc-unknown-linux-gnu

Platform: sparc-unknown-linux-gnu
configure flags: --host=sparc-linux --prefix=/usr/local/gcc-binutils --enable-shared --enable-threads=posix
Counting all warnings,
there are 212 warnings in stage0 of this bootstrap.

Number of warnings per file:
     96	libiberty/md5.c
     76	libiberty/regex.c
      5	libjava/java/lang/natClassLoader.cc
      4	libjava/java/lang/strtod.c
      4	libjava/java/lang/dtoa.c
      4	cc1
      3	libjava/java/lang/e_exp.c
      3	gcc/unwind-pe.h
      2	include/xregex2.h
      2	include/gc.h
      1	libsupc++/eh_terminate.cc
      1	libjava/prims.cc
      1	libjava/posix-threads.cc
      1	libjava/java/lang/e_rem_pio2.c
      1	libjava/java/lang/e_log.c
      1	libjava/java/lang/e_asin.c
      1	libjava/gnu/gcj/runtime/natSharedLibLoader.cc
      1	libjava/gnu/gcj/io/shs.cc
      1	libjava/boehm.cc
      1	libf2c/libI77/open.c
      1	gcc/boehm-gc/mark_rts.c
      1	cxa_demangle.c
      1	config.h

Number of warning types:
     64	traditional C rejects string concatenation
     32	function-like macro \`FI' must be used with arguments in traditional C
     32	function-like macro \`FH' must be used with arguments in traditional C
     32	function-like macro \`FG' must be used with arguments in traditional C
     13	\`???' might be used uninitialized in this function
      8	signed and unsigned type in conditional expression
      6	unused
      4	unused parameter \`???'
      3	this is the location of the previous definition
      2	ignoring command line option '-fno-implicit-templates'
      2	control 
      2	\`GC_LINUX_THREADS' redefined
      2	\`
      2	ISO C89 does not support \`static' or type qualifiers in parameter array declarators
      2	(it is valid for C++ but not the selected language)
      1	unused 
      1	function returns address of local variable
      1	division: function singularity
      1	\`noreturn'
      1	\`_XOPEN_SOURCE' redefined
      1	\`???' defined but not used
Counting all warnings,
there are 50 warnings in stage3 of this bootstrap.

Number of warnings per file:
     23	gcc/combine.c
     10	gcc/regclass.c
      3	gcc/gcc.c
      2	gcc/fold-const.c
      2	gcc/crtstuff.c
      1	gcc/sched-deps.c
      1	gcc/reload.c
      1	gcc/profile.c
      1	gcc/objc/lang-specs.h
      1	gcc/java/jvspec.c
      1	gcc/function.c
      1	gcc/emit-rtl.c
      1	gcc/cp/lang-specs.h
      1	gcc/cp/init.c
      1	gcc/cp/class.c

Number of warning types:
     34	comparison between signed and unsigned
      6	string length \`???' is greater than the length \`???' ISO C89 compilers are required to support
      4	signed and unsigned type in conditional expression
      2	unused variable \`???'
      2	\`???' defined but not used
      1	unused parameter \`???'
      1	pointer targets in passing arg ??? of \`???' differ in signedness



More information about the Java mailing list