[Bug ada/22340] Ada build fails with --enable-bootsrap
v dot haisman at sh dot cvut dot cz
gcc-bugzilla@gcc.gnu.org
Fri Jul 8 15:02:00 GMT 2005
------- Additional Comments From v dot haisman at sh dot cvut dot cz 2005-07-08 15:02 -------
I have the same problem on FreeBSD. The following patch seems to fix (bootstrap
still in progess).
Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.in,v
retrieving revision 1.268
diff -c -p -d -r1.268 Makefile.in
*** Makefile.in 7 Jul 2005 15:39:17 -0000 1.268
--- Makefile.in 8 Jul 2005 14:58:22 -0000
*************** objext = .o
*** 33746,33752 ****
# Flags to pass to stage2 and later makes.
POSTSTAGE1_FLAGS_TO_PASS = \
CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
! STAGE_PREFIX=$$r/stage-gcc/ \
CFLAGS="$(BOOT_CFLAGS)" \
ADAC="\$$(CC)"
--- 33746,33752 ----
# Flags to pass to stage2 and later makes.
POSTSTAGE1_FLAGS_TO_PASS = \
CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
! STAGE_PREFIX=$$r/stage1-gcc/ \
CFLAGS="$(BOOT_CFLAGS)" \
ADAC="\$$(CC)"
Howerver this is just a hack and the proper fix should be changing Makefile.tpl.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22340
More information about the Gcc-bugs
mailing list