public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/42554]  New: Can't build gnatlink, gnatmake
@ 2009-12-30 18:25 simon at pushface dot org
  2009-12-30 18:27 ` [Bug ada/42554] " simon at pushface dot org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: simon at pushface dot org @ 2009-12-30 18:25 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-05-17 12:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-12-30 18:25 [Bug ada/42554] New: Can't build gnatlink, gnatmake simon at pushface dot org
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

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