public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "simon at pushface dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug ada/42554] New: Can't build gnatlink, gnatmake Date: Wed, 30 Dec 2009 18:25:00 -0000 [thread overview] Message-ID: <bug-42554-303@http.gcc.gnu.org/bugzilla/> (raw) While building gnatlink & gnatmake for both i386 and x86_64, get ld: duplicate symbol _system__secondary_stack__mark_idIP in ../rts/libgnat.a(s-secsta.o) and s-secsta.o (and, after fixing this, s-exctab.o). I suppose this is because of a change in Snow Leopard where an object can't be both explicitly present on the command line and in a static library? Though there are other objects explicitly mentioned, eg s-stalib.o, which don't have to be removed. Anyway, editing gcc/ada/gcc-interface/Makefile.in to remove s-exctab.o and s-secsta.o from GNATLINK_OBJS and GNATMAKE_OBJS does the trick, see attached patch. -- Summary: Can't build gnatlink, gnatmake Product: gcc Version: 4.4.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: simon at pushface dot org GCC build triplet: *86*-apple-darwin10.2.0 GCC host triplet: *86*-apple-darwin10.2.0 GCC target triplet: *86*-apple-darwin10.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42554
next reply other threads:[~2009-12-30 18:25 UTC|newest] Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-12-30 18:25 simon at pushface dot org [this message] 2009-12-30 18:27 ` [Bug ada/42554] " simon at pushface dot org 2010-01-06 22:35 ` simon at pushface dot org 2010-01-07 22:25 ` simon at pushface dot org 2010-01-31 22:58 ` simon at pushface dot org 2010-02-01 22:54 ` simon at pushface dot org 2010-02-01 22:56 ` simon at pushface dot org 2010-02-02 1:56 ` howarth at nitro dot med dot uc dot edu 2010-02-02 6:26 ` [Bug ada/42554] Can't build GNAT tools simon at pushface dot org 2010-02-02 13:11 ` simon at pushface dot org 2010-02-02 21:25 ` simon at pushface dot org 2010-02-02 22:55 ` howarth at nitro dot med dot uc dot edu 2010-02-03 21:24 ` simon at pushface dot org 2010-03-19 10:20 ` mrs at gcc dot gnu dot org 2010-05-17 12:07 ` fxcoudert at gcc dot gnu dot org
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-42554-303@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: linkBe 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).