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]

Irix6 breaking on o32/n32 again... time to consider my patch?


Jeff,

	I'm getting new bootstrap failures on mips-sgi-irix6.2 (using cc
for stage1) caused by the o32/n32 incompatibility (already discussed
begining with http://www.cygnus.com/ml/egcs/1998-Dec/0044.html). 

 > stage1/xgcc -Bstage1/ -B/usr/local/mips-sgi-irix6.2/bin/ -DIN_GCC -W
 > 	-Wall -O2 -g -DHAVE_CONFIG_H -o gcj gcj.o jvspec.o prefix.o version.o
 > 	obstack.o ../libiberty/libiberty.a
 > ld: FATAL 112: cannot link old 32-bit object with -n32 link:
 > 	../libiberty/libiberty.a(pexecute.o).
 > collect2: ld returned 4 exit status
 > make[2]: *** [gcj] Error 1


	I believe this error is caused by recent patches like this one.

 > Wed Feb  3 21:55:56 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
 > 
 > 	* Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and
 > 	mkstemp.  Get them from libiberty.
 > 	(COLLECT2_OBJS): Similarly for choose-temp, cplus-dem and mkstemp.
 > 	(PROTO_OBJS): Similarly for choose-temp, getopt, getopt1 and pexecute.
 > 	(cplus-dem.o, pexecute.o, choose-temp.o): Remove build rules.
 > 	(mkstemp.o, getopt1.o, getopt.o): Likewise.


	In Dec I posted a fix for this which rebuilds libiberty at each
bootstrap stage and which also addressed the host/build libiberty
incompatibility.
(http://www.cygnus.com/ml/egcs-patches/1998-Dec/0277.html)

	My plan had been to postpone cleaning out libiberty
redundancies until this had been addressed.  However now that Irix6 is
breaking again, this issue becomes more important to me.  So can we
consider the above patch now?

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


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