[Bug ada/81878] --disable-bootstrap --enable-languages=ada fails
tnfchris at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Sep 24 09:21:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81878
Tamar Christina <tnfchris at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tnfchris at gcc dot gnu.org
--- Comment #19 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
This change broke the mingw-w64 GCC 8 bootstrap on Windows. The cleanup seems a
bit too aggressive as now `-B ../..` is never passed down to xg++.
See https://github.com/Alexpux/MINGW-packages/pull/3877#issuecomment-408651809
and https://gcc.gnu.org/ml/gcc/2018-07/msg00410.html
Any objections to reverting that part of the change?
So changing it back to
--- a/gnattools/Makefile.in
+++ b/gnattools/Makefile.in
@@ -72,7 +72,7 @@ ADA_INCLUDES_FOR_SUBDIR = -I. -I$(fsrcdir)/ada
# Variables for gnattools, native
TOOLS_FLAGS_TO_PASS_NATIVE= \
"CC=../../xgcc -B../../" \
- "CXX=$(CXX)" \
+ "CXX=$(CXX) -B../../" \
"CFLAGS=$(CFLAGS) $(WARN_CFLAGS)" \
"LDFLAGS=$(LDFLAGS)" \
"ADAFLAGS=$(ADAFLAGS)" \
@@ -90,7 +90,7 @@ TOOLS_FLAGS_TO_PASS_NATIVE= \
# Variables for regnattools
TOOLS_FLAGS_TO_PASS_RE= \
"CC=../../xgcc -B../../" \
- "CXX=$(CXX)" \
+ "CXX=$(CXX) -B../../" \
"CFLAGS=$(CFLAGS)" \
"LDFLAGS=$(LDFLAGS)" \
"ADAFLAGS=$(ADAFLAGS)" \
More information about the Gcc-bugs
mailing list