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]

sparc port in bad shape (was Re: target/2573: 3.1 ICE's on solaris when compiling fftw)


> 
> On Sat, Dec 08, 2001 at 11:34:44PM -0500, Brad Lucier wrote:
> > It hasn't bootstrapped for so long on the sparc that I've stopped trying
> 
> Sigh, that's a shame.
> 
> Does it bootstrap with binutils instead of the Sun assembler?

No.

First I tried

../configure --with-gnu-as --with-gnu-ld ...
make -j 12 bootstrap ...

and it used the Solaris assembler and loader anyway and bombed as before with

./xgcc -B./ -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/bin/ -isystem /pkgs/gcc-2.96/sparc-sun-solaris2.8/include -isystem /pkgs/gcc-2.96/sparc-sun-solaris2.8/sys-include -O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include  -DL_muldi3 -c ../../gcc/libgcc2.c -o libgcc/./_muldi3.o
/usr/ccs/bin/as: "/tmp/ccT7Nlgi.s", line 208: error: unknown opcode ".stabd"
/usr/ccs/bin/as: "/tmp/ccT7Nlgi.s", line 208: error: statement syntax
make[3]: *** [libgcc/./_muldi3.o] Error 1

Then I tried

../configure --with-as=<gas> --with-gnu-ld=<binutils ld> ...
make -j 12 bootstrap ...

and it failed in .../v9/libiberty when it couldn't find a makefile.

Then I tried

../configure --with-as=<gas> --with-gnu-ld=<binutils ld> ...
make bootstrap ...

 and it failed in configure-target-libiberty with

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
configure: error: installation or configuration problem: C compiler cannot create executables.
make[1]: *** [configure-target-libiberty] Error 1
make[1]: Leaving directory `/export/u3/lucier/programs/gcc/gcc-3.1/objdir'
make: *** [bootstrap] Error 2

It's a mess.

Brad


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