public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug lto/49992] lto-bootstrap reveals duplicate symbols on x86_64-apple-darwin11
Date: Tue, 09 Aug 2011 14:11:00 -0000	[thread overview]
Message-ID: <bug-49992-4-RUeTiUBdz1@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-49992-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49992

--- Comment #19 from Iain Sandoe <iains at gcc dot gnu.org> 2011-08-09 14:10:46 UTC ---
(In reply to comment #18)
> The radr://6320843, "duplicate symbols from static libraries not properly
> ignored", has been open since 26-Oct-2008. I later opened radr://6733684,
> "duplicate symbols in static libs not properly ignored when linking in 10A###"
> with additional examples

...
> and it was closed as a duplicate without additional
> comment. I don't think Apple views this as a critical bug but rather coddling
> lazy programmers.

not sure if it's a 'laziness' thing - the flag was added in a quite definite
manner (it's just not clear as to what problem it was resolving).

==

it's also not clear if Apple acknowledge that it's a bug and it was 'fixed' at
least on Darwin 9/ld85 (and then 'unfixed' on darwin >= 10) - or whether
there's some other reason that it doesn't manifest on darwin9.

anyway - you could try editing gcc/configure and setting ranlib_flags = "" on
Darwin11 and reg-test.

if that is a solution to the problem, and no-one can come up with any reason
why we should include common symbols in the table of contents for darwin
archives, then maybe we should just do this for darwin >= 9.


  parent reply	other threads:[~2011-08-09 14:11 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-05 17:10 [Bug lto/49992] New: " howarth at nitro dot med.uc.edu
2011-08-05 17:13 ` [Bug lto/49992] " howarth at nitro dot med.uc.edu
2011-08-05 20:27 ` iains at gcc dot gnu.org
2011-08-05 23:22 ` howarth at nitro dot med.uc.edu
2011-08-06 16:31 ` dominiq at lps dot ens.fr
2011-08-08 17:45 ` howarth at nitro dot med.uc.edu
2011-08-08 17:57 ` iains at gcc dot gnu.org
2011-08-08 18:13 ` dominiq at lps dot ens.fr
2011-08-08 18:24 ` iains at gcc dot gnu.org
2011-08-08 18:31 ` dominiq at lps dot ens.fr
2011-08-08 19:28 ` howarth at nitro dot med.uc.edu
2011-08-08 22:40 ` iains at gcc dot gnu.org
2011-08-08 22:42 ` iains at gcc dot gnu.org
2011-08-08 23:00 ` howarth at nitro dot med.uc.edu
2011-08-09  0:09 ` howarth at nitro dot med.uc.edu
2011-08-09 10:18 ` iains at gcc dot gnu.org
2011-08-09 11:57 ` iains at gcc dot gnu.org
2011-08-09 13:16 ` iains at gcc dot gnu.org
2011-08-09 13:53 ` howarth at nitro dot med.uc.edu
2011-08-09 14:11 ` iains at gcc dot gnu.org [this message]
2011-08-09 14:20 ` howarth at nitro dot med.uc.edu
2011-08-09 14:27 ` iains at gcc dot gnu.org
2011-08-09 14:35 ` howarth at nitro dot med.uc.edu
2011-08-09 14:50 ` iains at gcc dot gnu.org
2011-08-09 15:29 ` howarth at nitro dot med.uc.edu
2011-08-09 15:31 ` howarth at nitro dot med.uc.edu
2011-08-09 15:42 ` iains at gcc dot gnu.org
2011-08-09 17:29 ` mikestump at comcast dot net
2011-08-09 17:43 ` iains at gcc dot gnu.org
2011-08-09 17:55 ` mikestump at comcast dot net
2011-08-09 18:58 ` iains at gcc dot gnu.org
2011-08-09 20:24 ` howarth at nitro dot med.uc.edu
2011-08-09 20:30 ` iains at gcc dot gnu.org
2011-08-09 21:00 ` mikestump at comcast dot net
2011-08-09 22:02 ` howarth at nitro dot med.uc.edu
2011-08-10 22:12 ` mrs at gcc dot gnu.org
2011-08-10 23:24 ` howarth at nitro dot med.uc.edu
2011-08-11  0:03 ` howarth at nitro dot med.uc.edu
2011-08-11  1:26 ` howarth at nitro dot med.uc.edu
2011-08-11  8:53 ` iains at gcc dot gnu.org
2011-08-11 12:48 ` howarth at nitro dot med.uc.edu
2011-08-11 13:24 ` howarth at nitro dot med.uc.edu
2011-08-11 13:27 ` mikestump at comcast dot net
2011-08-11 13:50 ` [Bug target/49992] " iains at gcc dot gnu.org
2011-08-11 14:31 ` howarth at nitro dot med.uc.edu
2011-08-11 16:34 ` mikestump at comcast dot net
2011-08-11 17:20 ` howarth at nitro dot med.uc.edu
2011-08-11 23:07 ` howarth at nitro dot med.uc.edu
2011-08-12  0:51 ` howarth at nitro dot med.uc.edu
2011-08-12  8:57 ` iains at gcc dot gnu.org
2011-08-14  9:10 ` iains at gcc dot gnu.org
2011-08-31 17:59 ` mrs at gcc dot gnu.org
2011-09-22  9:50 ` iains at gcc dot gnu.org
2011-09-22 11:05 ` janus at gcc dot gnu.org
2011-09-22 11:21 ` iains at gcc dot gnu.org
2011-09-22 16:25 ` howarth at nitro dot med.uc.edu
2011-09-23  0:56 ` howarth at nitro dot med.uc.edu
2011-09-23 11:03 ` dominiq at lps dot ens.fr
2011-10-21 19:13 ` nenad at intrepid dot com
2011-10-21 19:24 ` iains at gcc dot gnu.org
2011-11-18 11:39 ` iains at gcc dot gnu.org
2011-11-18 11:46 ` iains at gcc dot gnu.org
2011-11-18 11:51 ` iains at gcc dot gnu.org
2011-11-18 11:51 ` iains at gcc dot gnu.org
2011-11-18 13:20 ` iains at gcc dot gnu.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-49992-4-RUeTiUBdz1@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).