public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dominiq at lps dot ens.fr" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/64349] [5 Regression] Bootstrapping Ada fails on darwin(9|10).
Date: Thu, 18 Dec 2014 11:07:00 -0000	[thread overview]
Message-ID: <bug-64349-4-m8NB4pRiv6@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-64349-4@http.gcc.gnu.org/bugzilla/>

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) \


  reply	other threads:[~2014-12-18 11:07 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-18 11:05 [Bug bootstrap/64349] New: " dominiq at lps dot ens.fr
2014-12-18 11:07 ` dominiq at lps dot ens.fr [this message]
2014-12-18 11:28 ` [Bug bootstrap/64349] " iains at gcc dot gnu.org
2014-12-19 10:06 ` dominiq at lps dot ens.fr
2014-12-19 11:51 ` [Bug ada/64349] " rguenth at gcc dot gnu.org
2015-01-07 10:16 ` charlet at gcc dot gnu.org
2015-01-07 10:17 ` charlet at gcc dot gnu.org
2015-01-13 10:28 ` rguenth at gcc dot gnu.org
2015-01-13 10:31 ` dominiq at lps dot ens.fr
2015-01-13 10:37 ` iains at gcc dot gnu.org
2015-01-27  3:01 ` demoonlit at panathenaia dot halfmoon.jp
2015-01-29 11:03 ` dominiq at lps dot ens.fr
2015-01-30 15:14 ` charlet at gcc dot gnu.org
2015-01-30 15:17 ` charlet at gcc dot gnu.org
2015-02-05  9:10 ` charlet at gcc dot gnu.org
2015-02-05  9:11 ` charlet at gcc dot gnu.org
2015-02-05 14:16 ` dominiq at lps dot ens.fr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-64349-4-m8NB4pRiv6@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).