gcc-3.1 2002年04月03日 libjava failures on sparc-linux?

Christian Jönsson christian@j-son.org
Wed Apr 17 00:28:00 GMT 2002


On Tue, Apr 16, 2002 at 10:08:45AM -0600, Tom Tromey wrote:
> >>>>> "ChJ" == Christian Jönsson <c.christian.joensson@telia.com> writes:
>> ChJ> I applied it to Hans et als. gc6.1alpha4 sources, it seems to
> ChJ> work there.
>> Great.
>> ChJ> So Hans, what do we do now? Incorporate your patch into the gcc
> ChJ> 3.1 branch and trunk? Test it first in gc6.1alpha5?
>> As I understand it, you couldn't apply this patch to the GC currently
> in the gcc tree, right? Could you modify the patch so it applies
> (apply it by hand somehow) and then test that version of the GC?
>> If that works, we will definitely check it in.

I have used the attached patch (based on Hans' first suggested patch).
The results are good (however, I happened to throw an an additional
--enable-threads that I know cause troubles on sparc32/linux). 
I'd say the proposed patch works for sparc32, and I know Hans has
a proposed patch for "all" sparc targets that I hope is in the process
of being tested by folks having those arch available.
Here are the not-yet-quite-ready results:
This was on a Debian Woody (test release) sun4m system with these
packages:
binutils 2.12.90.0.1-1
dejagnu 1.4.2-1.1
gcc 2:2.95.4-14 (Debian prerelease)
gcc-2.95			 1:2.95.4-5 (Debian prerelease)
kernel-image-2.2.20-sun4dm-smp 9
libc6 2.2.5-4
In-tree joined gcc-3.1 and binutils-2.12 cvs branches.
An unofficial patch to boehm-gc/include/private/gcconfig.h is used.
It makes boehm-gc use LINUX_STACKBOTTOM instead of the "old" method.
I assume this patch is to be incorporated in the branch and trunk
soon.
LAST_UPDATED: Tue Apr 16 18:11:53 UTC 2002
Native configuration is sparc-unknown-linux-gnu
		=== binutils tests ===
Running target unix
		=== binutils Summary ===
# of expected passes		31
# of expected failures		1
		=== gas tests ===
Running target unix
		=== gas Summary ===
# of expected passes		91
		=== g++ tests ===
Running target unix
FAIL: g++.dg/opt/cleanup1.C execution test
		=== gcc tests ===
Running target unix
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c, -O1 
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c, -O2 
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c, -O3 -fomit-frame-pointer 
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c, -O3 -g 
WARNING: program timed out.
FAIL: gcc.c-torture/compile/20001226-1.c, -Os 
		=== ld tests ===
Running target unix
		=== ld Summary ===
# of expected passes		129
# of expected failures		13
		=== libjava tests ===
Running target unix
WARNING: program timed out.
FAIL: SyncTest execution from source compiled test
WARNING: program timed out.
FAIL: SyncTest execution from bytecode->native test
WARNING: program timed out.
FAIL: SyncTest -O execution from source compiled test
WARNING: program timed out.
FAIL: SyncTest -O execution from bytecode->native test
FAIL: invokethrow execution from source compiled test
FAIL: invokethrow execution from bytecode->native test
FAIL: invokethrow -O execution from source compiled test
FAIL: invokethrow -O execution from bytecode->native test
FAIL: Throw_2 execution from source compiled test
FAIL: Throw_2 execution from bytecode->native test
FAIL: Throw_2 -O execution from source compiled test
FAIL: Throw_2 -O execution from bytecode->native test
		=== libjava Summary ===
# of expected passes		2037
# of unexpected failures	12
# of expected failures		18
# of untested testcases		26
		=== libstdc++-v3 tests ===
Running target unix
FAIL: 26_numerics/c99_classification_macros_c.cc (test for excess errors)
FAIL: 27_io/filebuf_virtuals.cc execution test
FAIL: 27_io/streambuf.cc execution test
FAIL: 27_io/stringbuf.cc execution test
WARNING: program timed out.
FAIL: thread/pthread1.cc execution test
WARNING: program timed out.
FAIL: thread/pthread5.cc execution test
WARNING: program timed out.
FAIL: thread/pthread6.cc execution test
		=== libstdc++-v3 Summary ===
# of expected passes		366
# of unexpected failures	7
# of expected failures		25
Compiler version: gcc 
Platform: sparc-unknown-linux-gnu
configure flags: --host=sparc-linux --prefix=/usr --enable-shared --enable-threads --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --enable-symvers --without-x --without-included-gettext --disable-checking
Counting all warnings,
there are 225 warnings in stage0 of this bootstrap.
Number of warnings per file:
 96	libiberty/md5.c
 76	libiberty/regex.c
 10	cxa_demangle.c
 8	dyn-string.c
 5	make[3]
 5	libjava/java/lang/natClassLoader.cc
 4	cc1
 3	gcc/unwind-pe.h
 2	make[4]
 2	include/xregex2.h
 2	include/sys/cdefs.h
 2	include/gc.h
 1	make[5]
 1	libsupc++/eh_terminate.cc
 1	libjava/posix-threads.cc
 1	libjava/gnu/gcj/runtime/natSharedLibLoader.cc
 1	libjava/gnu/gcj/io/shs.cc
 1	libjava/boehm.cc
 1	libf2c/libI77/open.c
 1	lex.yy.c
 1	gcc/boehm-gc/mark_rts.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
 16	implicit declaration of function \`???'
 8	signed and unsigned type in conditional expression
 8	jobserver unavailable: using -j1. Add \`???' to parent make rule.
 5	unused 
 5	this is the location of the previous definition
 4	unused parameter \`???'
 2	ignoring command line option '-fno-implicit-templates'
 2	control reaches end of 
 2	\`__restrict_arr' redefined
 2	\`GC_LINUX_THREADS' redefined
 2	\`???' defined but not used
 2	(it is valid for C++ but not the selected language)
 1	unused
 1	function returns address of local variable
 1	assignment makes pointer from integer without a cast
 1	\`noreturn'
 1	\`_XOPEN_SOURCE' redefined
 1	\`???' might be 
 1	\`???' 
Counting all warnings,
there are 53 warnings in stage3 of this bootstrap.
Number of warnings per file:
 23	gcc/combine.c
 10	gcc/regclass.c
 4	gcc/optabs.c
 3	gcc/gcc.c
 2	gcc/java/javaop.def
 2	gcc/fold-const.c
 2	gcc/crtstuff.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
Number of warning types:
 37	comparison between signed and unsigned
 6	string length \`???' is greater than the length \`???' ISO C89 compilers are required to support
 5	signed and unsigned type in conditional expression
 2	operation on \`???' may be undefined
 2	\`???' defined but not used
 1	pointer targets in passing arg ??? of \`???' differ in signedness


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /