This is the mail archive of the 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]

[Bug driver/29430] New: Assembler messages: Error: invalid architecture -xarch=v8


I'me trying to build gcc4.1.1
gcc -v
 > gcc -v
Reading specs from
Configured with: ../configure --with-local-prefix=/logiciels/public/gcc-3.2.1
--prefix=/logiciels/public/gcc-3.2.1 --enable-thread=posix
--with-ld=/logiciels/public/binutils-2.13.1/bin/ld --with-gnu-as --with-gnu-ld
Thread model: posix
gcc version 3.2.1

On SunOS clr34bx 5.8 Generic_108528-29 sun4u sparc SUNW,Ultra-60

../configure --with-mpfr=/logiciels/public/gmp-4.1.4/lib --enable-shared 

and I've got the problem Like GCC Bugzilla Bug 25596
sol2-c1.asm: Assembler messages: Error: invalid architecture -xarch=v8
/usr/bin/ksh ../../gcc/ tconfig.h
-B/usr/local/sparc-sun-solaris2.8/bin/ -B/usr/local/sparc-sun-solaris2.8/lib/
-isystem /usr/local/sparc-sun-solaris2.8/include -isystem
/usr/local/sparc-sun-solaris2.8/sys-include  -c -o crt1.o -x assembler-with-cpp
Assembler messages:
Error: invalid architecture -xarch=v8
make[2]: *** [crt1.o] Error 1
make[2]: Leaving directory `/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2'
make: *** [all] Error 2

I thought it was a pb of as and ld so I compiled binutils2.16
but I've got the same pb (before I've used sun as -and gnu ld)

oot@clr34bx:/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2 [ 1504 ] > echo $LD
oot@clr34bx:/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2 [ 1508 ] > echo $AS
oot@clr34bx:/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2 [ 1509 ] > which ld
oot@clr34bx:/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2 [ 1510 ] > which as

thans in advance for your help

           Summary: Assembler messages: Error: invalid architecture -
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geraldine-n dot bert at edfgdf dot fr

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