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

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


Hello,

I'me trying to build gcc4.1.1
with
gcc -v
 > gcc -v
Reading specs from
/logiciels/public/gcc-3.2.1/lib/gcc-lib/sparc-sun-solaris2.7/3.2.1/specs
Configured with: ../configure --with-local-prefix=/logiciels/public/gcc-3.2.1
--prefix=/logiciels/public/gcc-3.2.1 --enable-thread=posix
--with-as=/logiciels/public/binutils-2.13.1/bin/as
--with-ld=/logiciels/public/binutils-2.13.1/bin/ld --with-gnu-as --with-gnu-ld
--enable-languages=c,c++,f77,objc
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 
--with-gnu-as=/logiciels/public/binutils-2.9/bin/as 
--with-gnu-ld=/logiciels/public/binutils-2.9/bin/ld



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/mkconfig.sh tconfig.h
/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2/./gcc/xgcc
-B/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2/./gcc/
-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
../../gcc/config/sparc/sol2-c1.asm
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
/logiciels/public/binutils-2.16/bin/ld
oot@clr34bx:/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2 [ 1508 ] > echo $AS
/logiciels/public/binutils-2.16/bin/as
oot@clr34bx:/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2 [ 1509 ] > which ld
/logiciels/public/binutils-2.16/bin/ld
oot@clr34bx:/local/COMPIL/src/gcc4.1.1-2/gcc-4.1.1/objdir2 [ 1510 ] > which as
/logiciels/public/binutils-2.16/bin/as


thans in advance for your help
Géraldine


-- 
           Summary: Assembler messages: Error: invalid architecture -
                    xarch=v8
           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


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29430


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