[Bug target/80556] [8 Regression] bootstrap failure for Ada compiler
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Wed May 10 16:33:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80556
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |iains at gcc dot gnu.org
--- Comment #18 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
> This failure is simply a consequence of broken libgcc on Darwin: this
> libgcc is not able to get exception table addresses and therefore cannot
> propagate exceptions.
>
> Any program (that uses exceptions) and linked with -static-libgcc on
> Darwin will also fail.
In the commit r247301 I see in gcc/ada/gcc-interface/Make-lang.in
--- trunk/gcc/ada/gcc-interface/Make-lang.in 2017/04/27 09:44:28 247300
+++ trunk/gcc/ada/gcc-interface/Make-lang.in 2017/04/27 09:48:45 247301
@@ -99,6 +99,8 @@
ada-warn = $(ADA_CFLAGS) $(filter-out -pedantic, $(STRICT_WARN))
# Unresolved warnings in specific files.
ada/adaint.o-warn = -Wno-error
+# For unwind-pe.h
+CFLAGS-ada/raise-gcc.o += -I$(srcdir)/../libgcc -Iinclude
ada/%.o: ada/gcc-interface/%.c
$(COMPILE) $<
Isn't this wrong for darwin?
More information about the Gcc-bugs
mailing list