RE: AIX 5.3 gcc 4.1.2 bootstrap error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian:

Yes I knew about that and I had been careful to supply the appropriate
"--with" options to the configure script.  What I didn't know was how
aggressive the stage 3 configuration was in searching for the gnu tools.  I
only discovered the problem because I just happened to be watching the
screen at the moment stage 3 started.  Of course everything scrolled off too
quickly for me to read but a repeat of the build piped through tee showed
"Target ld ..." and "Target as ..." to be something other than the native
AIX tools.  I purged all traces of binutils and everything worked.

Subsequently I did restore cxxfilt because that is useful and harmless but I
think a warning should be added to the text which you mentioned.


-----Original Message-----
From: gcc-help-owner@xxxxxxxxxxx [mailto:gcc-help-owner@xxxxxxxxxxx] On
Behalf Of Brian Dessent
Sent: 18 March, 2008 10:41
To: Jonathan Saxton
Cc: 'Ben Scurr'; gcc-help@xxxxxxxxxxx
Subject: Re: AIX 5.3 gcc 4.1.2 bootstrap error

Jonathan Saxton wrote:
> 
> I had lots of difficulty building 4.2.2 on AIX 5.2.  Problem turned out to
> be binutils.  I found that I had to delete binutils altogether.  It was
not
> sufficient to use the make options to specify the native versions of ld
and

For what it's worth gcc documents this requirement:
<http://gcc.gnu.org/install/specific.html#x-ibm-aix>

quote:

> The native as and ld are recommended for bootstrapping on AIX 4 and 
> required for bootstrapping on AIX 5L. The GNU Assembler reports that it 
> supports WEAK symbols on AIX 4, which causes GCC to try to utilize weak 
> symbol functionality although it is not supported. The GNU Assembler and 
> Linker do not support AIX 5L sufficiently to bootstrap GCC. The native 
> AIX tools do interoperate with GCC.

Brian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux