This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 3.2 - Make Bootstrap fails on Solaris 2.6
- From: Hugh Sasse Staff Elec Eng <hgs at dmu dot ac dot uk>
- To: Rocha Iran-QIR001 <Iran dot Rocha at motorola dot com>
- Cc: "'gcc-help at gnu dot org'" <gcc-help at gnu dot org>
- Date: Thu, 22 Aug 2002 10:57:48 +0100 (BST)
- Subject: Re: GCC 3.2 - Make Bootstrap fails on Solaris 2.6
On Wed, 21 Aug 2002, Rocha Iran-QIR001 wrote:
> Hi,
>
> I was able to successfully build GCC 3.2 on a Solaris 2.5.1 system but I am
> running into a problem to build it on a Solaris 2.6 one. After aproximately
> one hour, the build fails as follows:
[...]
> configure: error: libtool tag configuration failed
> make[1]: *** [configure-target-boehm-gc] Error 1
> make[1]: Leaving directory `/export/usr1/host/data/gcc/objdir'
> make: *** [bootstrap] Error 2
>
vaguely rings a bell...
>
> This is what I've got from the config log:
["light reading" trimmed :-)]
Including you configure command line might be easier to take in, but
still...
>
> I've already tried to remove /usr/ccs/bin from my path to force the build to
> use the GNU Binutils nm but the build still looks for /usr/ccs/bin/nm
This one I recognise. In my experience you need to use
--with-ld=/usr/local/bin/ld --with-as=/usr/local/bin/as
or wherever you keep the GNU versions of these (/opt/gnu, maybe?).
Some people like to add --with-gnu-ld and --with-gnu-as but
I didn't need them (on Solaris 9) and I think configure checks
for GNUishness anyway. This will stop the build searching for
the other assemblers and linkers. I didn't actually have a
problem with using Sun's nm.
[...]
>
> Thanks,
> Iran Rocha
>
HTH
Hugh