bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binutils 2.12 fails to bootstrap on sunos 4.1.4


From: jason andrade
Subject: Re: binutils 2.12 fails to bootstrap on sunos 4.1.4
Date: Mon, 27 May 2002 20:40:15 +1000 (EST)

On Mon, 27 May 2002, Alan Modra wrote:

> I'll bet your sprintf is declared as returning void.
> 
>       * unwind-ia64.c (unw_print_brmask): Don't use sprintf.

yay.  that fixed it.  now to try and see if i can get gcc 3.1 to compile
using it.  in case you're vaguely interested, this is where gcc falls over.  
the only advice i've got so far is to reconfigure with GNU ld and try that.



make -j2 CFLAGS='-O2' LIBCFLAGS='-O2' LIBCXXFLAGS='-O2 -fno-implicit-templates' 
bootstrap-lean

stage1/xgcc -Bstage1/ -B/opt/local/stow/gcc-3.1/sparc-sun-sunos4.1.4/bin/ 
-DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H 
-DGENERATOR_FILE  -o genpreds \
 genpreds.o ../libiberty/libiberty.a
stage1/xgcc -Bstage1/ -B/opt/local/stow/gcc-3.1/sparc-sun-sunos4.1.4/bin/ 
-DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes 
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -DHAVE_CONFIG_H 
-DGENERATOR_FILE  -o gen-protos \
  gen-protos.o scan.o ../libiberty/libiberty.a
ld: genpreds.o: no include table entry for header file 'genpreds.c'
collect2: ld returned 4 exit status
make[2]: *** [genpreds] Error 1
make[2]: *** Waiting for unfinished jobs....
ld: gen-protos.o: no include table entry for header file 'gen-protos.c'
collect2: ld returned 4 exit status
make[2]: *** [gen-protos] Error 1
make[2]: Leaving directory `/server/source/build/gcc-3.1/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/server/source/build/gcc-3.1/gcc'
make: *** [bootstrap-lean] Error 2



is gcc 2.95.3 using sprintf as above something that is a configuration
problem on my part or is it a bonafide bootstrap bug ?

regards,

-jason




reply via email to

[Prev in Thread] Current Thread [Next in Thread]