gcj trunk - build of junit 4.3.1 native lib fails

Hanno Meyer-Thurow h.mth@web.de
Sat Jun 23 16:38:00 GMT 2007


Hi list,
build of native lib from junit 4.3.1 jar fails:

# LC_ALL=C /usr/lib/gcj-4.3.0_alpha20070622/bin/gcj -v
Using built-in specs.
Reading specs from /usr/lib64/gcj-4.3.0_alpha20070622/bin/../lib64/gcc/x86_64-unknown-linux-gnu/4.3.0-alpha20070622/../../../libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: x86_64-unknown-linux-gnu
Configured with: /mnt/data/tmp/portage/dev-java/gcj-4.3.0_alpha20070622/work/gcc-4.3-20070622/configure --prefix=/usr/lib/gcj-4.3.0_alpha20070622 --libdir=/usr/lib/gcj-4.3.0_alpha20070622/lib64 --libexecdir=/usr/lib/gcj-4.3.0_alpha20070622/lib64 --with-gxx-include-dir=/usr/lib/gcj-4.3.0_alpha20070622/include/c++ --enable-languages=c,c++,java --enable-ssp --enable-libstdcxx-allocator=new --disable-static --disable-altivec --disable-gtktest --disable-glibtest --disable-multilib --disable-maintainer-mode --disable-libada --disable-libarttest --disable-libjava-multilib --disable-libmudflap --disable-libssp --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-secureplt --enable-nls --without-included-gettext --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/gcj-4.3.0_alpha20070622/jre --enable-plugin --disable-gconf-peer --with-ecj-jar=/usr/share/eclipse-ecj-3.
 3/lib/ecj.jar --enable-java-maintainer-mode
Thread model: posix
gcc version 4.3.0-alpha20070622  (experimental) (Gentoo 4.3.0_alpha20070622)

# /usr/lib/gcj-4.3.0_alpha20070622/bin/gcj -shared -Wl,-Bsymbolic -fPIC -findirect-dispatch -fjni -g0 -O0 -mtune=nocona -march=nocona -pipe -w -save-temps -o libjunit.jar.so junit.jar

gcj: Warnung: -pipe ignoriert, da -save-temps angegeben
junit.s: Assembler messages:
junit.s:2812: Error: junk at end of line, first unrecognized character is `-'
junit.s:2813: Error: bad or irreducible absolute expression
junit.s:2813: Error: junk at end of line, first unrecognized character is `,'
junit.s:2816: Error: unrecognized symbol type ""
junit.s:2816: Error: junk at end of line, first unrecognized character is `-'
junit.s:2817: Error: expected comma after name `_CD_junit_extensions_package' in .size directive
junit.s:2818: Error: invalid character '_' in mnemonic
junit.s:2822: Error: unrecognized symbol type ""
junit.s:2822: Error: junk at end of line, first unrecognized character is `-'
junit.s:2823: Error: expected comma after name `_CT_junit_extensions_package' in .size directive
junit.s:2824: Error: invalid character '_' in mnemonic
junit.s:2828: Error: unrecognized symbol type ""
junit.s:2828: Error: junk at end of line, first unrecognized character is `-'
junit.s:2829: Error: expected comma after name `_catch_classes_junit.extensions.package' in .size directive
junit.s:2830: Error: invalid character '_' in mnemonic

(... and more like these)

junit.s first failing part looks like:

2804:	.hidden	_ZN5junit10extensions11TestSetup$17class$$E
2805:.globl _ZN5junit10extensions11TestSetup$17class$$E
2806-	.bss
2807-	.align 8
2808:	.type	_ZN5junit10extensions11TestSetup$17class$$E, @object
2809:	.size	_ZN5junit10extensions11TestSetup$17class$$E, 8
2810:_ZN5junit10extensions11TestSetup$17class$$E:
2811-	.zero	8
2812-	.local	_MT_junit_extensions_package-info
2813-	.comm	_MT_junit_extensions_package-info,0,8
2814-	.section	.data.rel.local
2815-	.align 16
2816-	.type	_CD_junit_extensions_package-info, @object
2817-	.size	_CD_junit_extensions_package-info, 16
2818-_CD_junit_extensions_package-info:
2819-	.quad	0
2820-	.quad	_Utf65
2821-	.data
2822-	.type	_CT_junit_extensions_package-info, @object
2823-	.size	_CT_junit_extensions_package-info, 2
2824-_CT_junit_extensions_package-info:
2825-	.byte	0
2826-	.byte	7
2827-	.align 32
2828-	.type	_catch_classes_junit.extensions.package-info, @object
2829-	.size	_catch_classes_junit.extensions.package-info, 48
2830-_catch_classes_junit.extensions.package-info:
2831-	.zero	48
2832-	.section	.rodata
2833-	.align 2
2834-	.type	_Utf69, @object
2835-	.size	_Utf69, 4


Any ideas about this? Thanks in advance for help!
Any other info I should supply?


Regards,
Hanno



More information about the Java mailing list