sparc port in bad shape (was Re: target/2573: 3.1 ICE's on
Brad Lucier
lucier@math.purdue.edu
Sun Dec 9 20:15:00 GMT 2001
> On Sun, 9 Dec 2001, Brad Lucier wrote:
> > ../configure --with-gnu-as --with-gnu-ld ...
>
> This isn't sufficient to find GNU as/ld.
>
> The safest is to use "--with-as=<path> --with-ld=<path> --with-gnu-as
> --with-gnu-ld" or nothing to get Solaris as/ld. (I consider this a bug.)
If I specify the first two, do I really need to specify the last two?
> > checking whether the C compiler
> > (/export/u3/lucier/programs/gcc/gcc-3.1/objdir/gcc/xgcc
> > -B/export/u3/lucier/programs/gcc/gcc-3.1/objdir/gcc/
> > -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/bin/
> > -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/lib/ -isystem
> > /pkgs/gcc-2.96/sparc-sun-solaris2.8/include -m64 -g -O2 ) works... no
>
> What does config.log say? You may need to configure binutils for sparcv9.
configure:2088: /export/u3/lucier/programs/gcc/gcc-3.1/objdir/gcc/xgcc -B/export/u3/lucier/programs/gcc/gcc-3.1/objdir/gcc/ -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/bin/ -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/lib/ -isystem /pkgs/gcc-2.96/sparc-sun-solaris2.8/include -m64 -o conftest -g -O2 conftest.c 1>&5
/usr/lib/libdl.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
configure: failed program was:
#line 2083 "configure"
#include "confdefs.h"
main(){return(0);}
> The workaround is --disable-multilib to prevent building 64-bit libs.
OK, I'll try this.
Brad
More information about the Gcc
mailing list