This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
gcc-3.2, HP-UX & quadlib.c error
- From: Keep it to Usenet please <idontreadthis56 at hotmail dot com>
- To: gnu-gcc-bug at moderators dot isc dot org
- Date: Tue, 22 Oct 2002 16:47:43 GMT
- Subject: gcc-3.2, HP-UX & quadlib.c error
- Newsgroups: gnu.gcc,gnu.gcc.bug
- Organization: Insight Broadband
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.