[Bug bootstrap/64349] [5 Regression] Bootstrapping Ada fails on darwin(9|10).
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Thu Dec 18 11:07:00 GMT 2014
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64349
Dominique d'Humieres <dominiq at lps dot ens.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-12-18
CC| |iains at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Bootstrapping Ada fails on darwin(9|10) with
ld: warning: can't add line info to anonymous symbol __const@0 from s-arit64.o
This can be fixed with the following patch from Iain Sandoe
--- ../_clean/gcc/ada/gcc-interface/Makefile.in 2014-11-26
10:44:12.000000000 +0100
+++ gcc/ada/gcc-interface/Makefile.in 2014-11-26 10:55:45.000000000 +0100
@@ -2884,6 +2884,7 @@ gnatlib-shared-darwin:
-o libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
$(GNATRTL_NONTASKING_OBJS) $(LIBGNAT_OBJS) \
$(SO_OPTS) \
+ -Wl,-undefined,dynamic_lookup \
-Wl,-install_name,@rpath/libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
$(MISCLIB)
cd $(RTSDIR); `echo "$(GCC_FOR_TARGET)" \
@@ -2891,6 +2892,7 @@ gnatlib-shared-darwin:
-o libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
$(GNATRTL_TASKING_OBJS) \
$(SO_OPTS) \
+ -Wl,-undefined,dynamic_lookup \
-Wl,-install_name,@rpath/libgnarl$(hyphen)$(LIBRARY_VERSION)$(soext) \
$(THREADSLIB) -Wl,libgnat$(hyphen)$(LIBRARY_VERSION)$(soext)
cd $(RTSDIR); $(LN_S) libgnat$(hyphen)$(LIBRARY_VERSION)$(soext) \
More information about the Gcc-bugs
mailing list