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]

gcc-3.2, HP-UX & quadlib.c error


When I try to do the bootstrap build, on an HP-UX 11.00 system, I get 
the following error on the first pass:

../xgcc -B./ -B/usr/contrib/hppa2.0w-hp-hpux11.00/bin/ -isystem 
/usr/contrib/hppa2.0w-hp-hpux11.00/include -isystem 
/usr/contrib/hppa2.0w-hp-hpux11.00/sys-include -O2  -DIN_GCC    -W 
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-isystem ./include  -fPIC -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  
-I. -I. -I/tmp/gcc-3.2/gcc -I/tmp/gcc-3.2/gcc/. 
-I/tmp/gcc-3.2/gcc/config -I/tmp/gcc-3.2/gcc/../include -c 
/tmp/gcc-3.2/gcc/config/pa/quadlib.c -o libgcc/./quadlib.o 
xgcc: quadlib.c: No such file or directory 
xgcc: no input files 
make[3]: *** [libgcc/./quadlib.o] Error 1 
make[3]: Leaving directory `/tmp/gcc-3.2-obj/gcc' 
make[2]: *** [libgcc.a] Error 2 
make[2]: Leaving directory `/tmp/gcc-3.2-obj/gcc' 
make[1]: *** [stage1_build] Error 2 
make[1]: Leaving directory `/tmp/gcc-3.2-obj/gcc' 
make: *** [bootstrap] Error 2 
# 

It looks like the full path to quadlib.c was left off the "-c" 
argument.


There is a work-around:

1) Edit lines 106-107 of libgcc.mk (in OBJDIR) to:

libgcc/./quadlib.o: stmp-dirs quadlib.c    $(GCC_FOR_TARGET) 
$(LIBGCC2_CFLAGS) $(INCLUDES) -c /tmp/gcc-3.2/gcc/quadlib.c -o 
libgcc/./quadlib.o

2) Re-run 'make bootstrap'

3) Repeat steps 1 & 2 until the build finally completes.


But, that's for my build specifically, and it looks like the 
'configure' files that build the libgcc.mk file will need to be 
fixed.  I've submitted this via gnatsweb too.

-- 
Help!  I'm being held in a .sig factory.


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