This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

libobjc busted in current CVS


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]