This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Build failure for sparc-sun-solaris2.10
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Arthur Haas <ahaas at impactweather dot com>
- Cc: "gcc\ at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 06 Aug 2014 13:34:53 +0200
- Subject: Re: Build failure for sparc-sun-solaris2.10
- Authentication-results: sourceware.org; auth=none
- References: <87mwbp4k4q dot fsf at impactweather dot com> <yddwqasjnmm dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <6D0987C1D446E448BC430FE00E28F28C22E96E4B49 at ATLANTIS dot impactweather dot local> <yddppggjyk4 dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE> <6D0987C1D446E448BC430FE00E28F28C22E96E4BD9 at ATLANTIS dot impactweather dot local>
Hi Art,
> I tried the '--without-gnu-ld --with-ld=/usr/ccs/bin/ld' configure options
> and my build failed again as my GNU 'ld' binary was again being found. So
strange: I'd have expected for gcc to honor a full path in --with-ld
(and --with-ls for that matter). But then I never tried this before
myself.
> the next step was to rename my installed GNU 'ld' to 'ld-2.24' and adjust
> my $PATH so that the directory where it was installed wouldn't be found, and
> rebuild. I'm happy to report this build was a success:
>
> $ gcc -v
> Using built-in specs.
> COLLECT_GCC=gcc
> COLLECT_LTO_WRAPPER=/export/home/arth/local/libexec/gcc/sparc-sun-solaris2.10/4.10.0/lto-wrapper
> Target: sparc-sun-solaris2.10
> Configured with: /export/home/arth/src/gcc.git/configure
> --prefix=/export/home/arth/local --enable-languages=c,c++,objc
> --disable-nls --with-gmp=/export/home/arth/local
> --with-mpfr=/export/home/arth/local --with-mpc=/export/home/arth/local
> --enable-checking=release --with-as=/export/home/arth/local/bin/as
> --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld
> Thread model: posix
> gcc version 4.10.0 20140804 (experimental) [master revision
> 0549e5a:2217af7:347a47cbf5f8ee0bc7e11dc97703b318d3ff259c] (GCC)
> $
>
> Thanks for your help in resolving this and maintaining the Solaris port.
My pleasure, glad we could get this working.
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University