https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64349
Dominique d'Humieres 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 ---
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.in2014-11-26
10:44:12.0 +0100
+++ gcc/ada/gcc-interface/Makefile.in2014-11-26 10:55:45.0 +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) \