This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
FYI: large number of objc failures on i686-linux-gnu
- From: Andreas Jaeger <aj at suse dot de>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 06 Jan 2002 18:05:51 +0100
- Subject: FYI: large number of objc failures on i686-linux-gnu
I get with current CVS a large number of failures in objc:
=== objc Summary ===
# of expected passes 570
# of unexpected failures 236
# of unresolved testcases 236
Most of the failures (I didn't check all) are missing symbols:
FAIL: objc/execute/accessing_ivars.m compilation, -O0
UNRESOLVED: objc/execute/accessing_ivars.m execution, -O0
Executing on host: /builds/gcc/gcc-3.1-devel/gcc/xgcc -B/builds/gcc/gcc-3.1-devel/gcc/ /cvs/gcc/gcc/testsuite/objc/execute/accessing_ivars.m -w -O1 -I/cvs/gcc/gcc/testsuite/../../libobjc -L/builds/gcc/gcc-3.1-devel/i686-pc-linux-gnu/libobjc/.libs -lobjc -lm -o /builds/gcc/gcc-3.1-devel/gcc/testsuite/accessing_ivars.x1 (timeout = 300)
/opt/binutils/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Object' are not defined
output is:
/opt/binutils/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Object' are not defined
FAIL: objc/execute/bycopy-2.m compilation, -O0
UNRESOLVED: objc/execute/bycopy-2.m execution, -O0
Executing on host: /builds/gcc/gcc-3.1-devel/gcc/xgcc -B/builds/gcc/gcc-3.1-devel/gcc/ /cvs/gcc/gcc/testsuite/objc/execute/bycopy-2.m -w -O1 -I/cvs/gcc/gcc/testsuite/../../libobjc -L/builds/gcc/gcc-3.1-devel/i686-pc-linux-gnu/libobjc/.libs -lobjc -lm -o /builds/gcc/gcc-3.1-devel/gcc/testsuite/bycopy-2.x1 (timeout = 300)
/opt/binutils/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Object' are not defined
/opt/binutils/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Protocol' are not defined
output is:
/opt/binutils/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Object' are not defined
/opt/binutils/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Protocol' are not defined
readelf gives:
$ readelf -a /builds/gcc/gcc-3.1-devel/i686-pc-linux-gnu/libobjc/.libs/libobjc.so.1.0.0 |grep __objc_class_name_Object
0001396c 00009201 R_386_32 00011dcf __objc_class_name_Object
00013a88 00009201 R_386_32 00011dcf __objc_class_name_Object
000140b4 00009201 R_386_32 00011dcf __objc_class_name_Object
146: 00011dcf 0 NOTYPE GLOBAL DEFAULT 12 __objc_class_name_Object
584: 00011dcf 0 NOTYPE GLOBAL DEFAULT 12 __objc_class_name_Object
My system: i686-linux-gnu, glibc 2.2.5 CVS version, Linux 2.4.16,
binutils from CVS just before christmas,
Any ideas what could be the problem?
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj