This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sparc port in bad shape (was Re: target/2573: 3.1 ICE's on


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]