This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [Update] : Problem while building/compiling Gcc-4.2.1 on Solaris-5.8
- From: Brian Dessent <brian at dessent dot net>
- To: Wim VAN-ACKOOIJ <wim dot van-ackooij at edfgdf dot fr>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 23 Oct 2007 05:01:01 -0700
- Subject: Re: [Update] : Problem while building/compiling Gcc-4.2.1 on Solaris-5.8
- References: <OF711A9692.E37F020A-ONC125737D.002EF3AA-C125737D.002F8A37@notes.edfgdf.fr>
- Reply-to: gcc-help at gcc dot gnu dot org
Wim VAN-ACKOOIJ wrote:
> ./configure --prefix=/users/ackooij/softs/gcc-4.2.1SunOS/
> --with-gmp=/logiciels/public/gmp-4.1.4
> --with-mpfr=/logiciels/public/mpfr-2.2.0 --with-gnu-as
> --with-as=/logiciels/public/binutils-2.16/bin/as --with-gnu-ld
> --with-ld=/logiciels/public/binutils-2.16/bin/ld
> --enable-languages=c,c++,fortran --disable-libgcj
> --build=sparc-sun-solaris2.8
You're using a recent gcc with a binutils that is several years old.
That is never a good idea, try using a current version. Those errors
are due to bugs in the assembler relating to alignment in DWARF2 debug
output, from what I can tell from searching the archives.
Brian