libobjc busted in current CVS
Zack Weinberg
zack@wolery.cumb.org
Tue Jan 18 23:06:00 GMT 2000
This change
Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
* i386.h (BIGGEST_ALIGNMENT): Set to 128.
(BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
breaks Objective C. BIGGEST_FIELD_ALIGNMENT is used in libobjc/encoding.c,
which does not have access to target_flags. The errors look like
Executing on host: /work/build/egcs/gcc/xgcc -B/work/build/egcs/gcc/
/work/src/egcs/gcc/testsuite/objc/execute/bf-1.m -w -O
-I/work/src/egcs/gcc/testsuite/../../libobjc
-L/work/build/egcs/i686-pc-linux-gnu/libobjc -lobjc -lm
-o /work/build/egcs/gcc/testsuite/bf-1.x (timeout = 300)
/work/build/egcs/i686-pc-linux-gnu/libobjc/libobjc.a(encoding.o):
In function `objc_layout_structure_next_member':
/work/src/egcs/libobjc/encoding.c:804: undefined reference to `target_flags'
collect2: ld returned 1 exit status
compiler exited with status 1
zw
More information about the Gcc-bugs
mailing list