This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
libobjc busted in current CVS
- To: gcc-bugs at gcc dot gnu dot org
- Subject: libobjc busted in current CVS
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Tue, 18 Jan 2000 23:05:23 -0800
- Cc: hubicka at freesoft dot cz
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