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]

BUG: CVS sparc builds


Hi,
this patch
Tue Nov 23 00:57:10 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

        From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
        * configure.in: Try building a bi-arch 32/64-bit compiler on
        sparc-*-solaris2.7 and higher.
        * configure: Rebuild.

is not right
1) it selects sparc/sol2-sld-64.h (system linker file), ignoring
$gnu_ld (this may be ok, but is at variance with the previous behaviour
which would choose sparc/sol2-sld.h or sparc/sol2.h).
2) assumes the remaining toolchain can build 64bit apps. Here
gnu as has been built without 64 bit support and so barfs on -xarch=v9

 ./cc1 /var/tmp/ccUq0K1j.i -mptr64 -mstack-bias -mno-v8plus -mcpu=v9 -quiet -dumpbase libgcc2.c -m64 -g -g1 -O2 -W -Wall -Wtraditional -version -fPIC -o /var/tmp/ccAfTNfQ.s
GNU C version 2.96 19991202 (experimental) (sparc-sun-solaris2.7) compiled by GNU C version 2.95.1 19990816 (release).
 /usr/local/gnu/bin/as -V -Qy -s -K PIC -xarch=v9 -o _muldi3.o /var/tmp/ccAfTNfQ.s
GNU assembler version 2.9 (sparc-sun-solaris2.7), using BFD version 2.9
Assembler messages:
Error: invalid architecture -xarch=v9
make[4]: *** [libgcc2.a] Error 1
make[4]: Leaving directory `/home/staff/nathan/egcs/devel/egcs/gcc'
make[3]: *** [stmp-multilib-sub] Error 2
make[3]: Leaving directory `/home/staff/nathan/egcs/devel/egcs/gcc'
make[2]: *** [stmp-multilib] Error 1
make[2]: Leaving directory `/home/staff/nathan/egcs/devel/egcs/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/home/staff/nathan/egcs/devel/egcs/gcc'
make: *** [bootstrap] Error 2

nathan
-- 
Dr Nathan Sidwell :: Computer Science Department :: Bristol University
Never hand someone a gun unless you are sure where they will point it
nathan@acm.org  http://www.cs.bris.ac.uk/~nathan/  nathan@cs.bris.ac.uk


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