This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: 3.4/3.5 PATCH: install.texi updates for IRIX 5/6


Richard Sandiford writes:

> Out of curiosity:
> 
> > +To enable debugging under IRIX 5, you must use GNU binutils 2.15 or
> > +later, and use the @option{--with-gnu-as} and @option{--with-gnu-ld}
> > +@command{configure} options when configuring GCC@.  You need to use GNU
> > +@command{ar} and @command{nm}, also distributed with GNU binutils.
> 
> Why is GNU ld needed for debugging when using IRIX 5, but not when
> using o32 on IRIX 6?  It looks from the way the config files are
> organised that --with-gnu-as --without-gnu-ld will still bring
> in the debugging #defines in iris5gas.h.

I think at one point I had a large number of testsuite failures with gas,
but without gld on IRIX 5, but relatively minor problems on IRIX 6.

But when I now rechecked the two IRIX 5 trees I have lying around (mainline
as of 20040129, gas only vs. 20040209, gas+gld), the differences were
tolerable, so I'll probably recheck with the 3.4 branch and remove the
requirement for 3.4.1 as appropriate.  On the other hand, it seems that you
need some ld patch on IRIX 5, otherwise e.g. libgcc_s.so won't link at all
since ld gets an assertion failure.  I'd have to check which patch is
required here.

	Rainer

-----------------------------------------------------------------------------
Rainer Orth, Faculty of Technology, Bielefeld University


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