public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "davek at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug driver/42690] Undefined reference errors with -flto -fuse-linker-plugin
Date: Tue, 23 Nov 2010 19:20:00 -0000	[thread overview]
Message-ID: <bug-42690-4-gcsT9eDQbj@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-42690-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #27 from Dave Korn <davek at gcc dot gnu.org> 2010-11-23 19:08:45 UTC ---
(In reply to comment #25)
> The current linker plugin scheme may be flawed.  The order of
> linking libraries (archive and DSO) is very important. They
> have to be placed between crti.o and crtn.o. We may not link
> an archive after crtn.o.

Sounds like crtn.o should be sent to the link via a further -pass-through
option (positioned after the ones that re-scan the libraries) rather than
directly on the command-line when the plugin is in use.


  parent reply	other threads:[~2010-11-23 19:10 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-42690-4@http.gcc.gnu.org/bugzilla/>
2010-11-10  3:59 ` davek at gcc dot gnu.org
2010-11-16 15:05 ` davek at gcc dot gnu.org
2010-11-16 16:33 ` davek at gcc dot gnu.org
2010-11-20 20:53 ` hjl.tools at gmail dot com
2010-11-20 21:04 ` davek at gcc dot gnu.org
2010-11-20 21:07 ` hubicka at gcc dot gnu.org
2010-11-20 21:14 ` hubicka at gcc dot gnu.org
2010-11-20 21:50 ` hjl.tools at gmail dot com
2010-11-22 18:03 ` hjl.tools at gmail dot com
2010-11-22 18:31 ` hjl.tools at gmail dot com
2010-11-23 19:20 ` davek at gcc dot gnu.org [this message]
2010-11-23 19:26 ` davek at gcc dot gnu.org
2010-11-23 23:53 ` hjl.tools at gmail dot com
2010-11-24 15:14 ` hjl.tools at gmail dot com
2010-11-25 11:14 ` rguenth at gcc dot gnu.org
2010-12-02 17:16 ` hjl.tools at gmail dot com
2010-12-04 17:37 ` hjl.tools at gmail dot com
2010-12-04 22:30 ` d.g.gorbachev at gmail dot com
2010-12-04 22:31 ` d.g.gorbachev at gmail dot com
2010-12-05  0:44 ` hjl.tools at gmail dot com
2010-12-05 12:37 ` d.g.gorbachev at gmail dot com
2010-12-05 16:49 ` d.g.gorbachev at gmail dot com
2010-12-05 18:24 ` hjl.tools at gmail dot com
2010-12-06 17:54 ` davek at gcc dot gnu.org
2010-01-11 15:23 [Bug lto/42690] New: " d dot g dot gorbachev at gmail dot com
2010-01-15 11:04 ` [Bug driver/42690] " d dot g dot gorbachev at gmail dot com
2010-01-15 15:29 ` espindola at gcc dot gnu dot org
2010-01-16 16:56 ` d dot g dot gorbachev at gmail dot com
2010-01-17  5:47 ` espindola at gcc dot gnu dot org
2010-01-18 18:48 ` d dot g dot gorbachev at gmail dot com

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-42690-4-gcsT9eDQbj@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).