public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl.tools@gmail.com>
To: Dan Kegel <dank@kegel.com>
Cc: binutils@sourceware.org
Subject: Re: Spurious undefined reference error?
Date: Thu, 20 Dec 2012 20:00:00 -0000	[thread overview]
Message-ID: <CAMe9rOr3nBTKJniT5JUYbYyMMCWpoHnDY9863CG84oQ8mv0Uww@mail.gmail.com> (raw)
In-Reply-To: <CAPF-yOYrHF6q1QfrLDfuaozrWpA36=au93VjkQnGU+crKaX4jg@mail.gmail.com>

On Thu, Dec 20, 2012 at 11:47 AM, Dan Kegel <dank@kegel.com> wrote:
> On Thu, Dec 20, 2012 at 11:22 AM, Dan Kegel <dank@kegel.com> wrote:
>>(Building a fresh binutils-2.23 from source in /usr/local doesn't seem
>>to help.... probably because even /usr/local/bin/ld --version still
>>says 2.22
>
> Logging in again, I see that now ld --version says
> GNU ld (GNU Binutils) 2.23.0.20121106
> so I must have had a path problem.  The new linker still doesn't help.
>
> The problem was not present on ubuntu 10.04, where ld --version said
> GNU ld (GNU Binutils for Ubuntu) 2.20.1-system.20100303
>
> I guess I can now try a regression search.

I think Ubuntu changed linker command-line options passed from GCC
driver.  Please compare the linker command-line options

-- 
H.J.

  reply	other threads:[~2012-12-20 20:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-20 19:22 Dan Kegel
2012-12-20 19:48 ` Dan Kegel
2012-12-20 20:00   ` H.J. Lu [this message]
2012-12-20 23:19     ` Dan Kegel
2013-01-08  6:10       ` Alan Modra

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=CAMe9rOr3nBTKJniT5JUYbYyMMCWpoHnDY9863CG84oQ8mv0Uww@mail.gmail.com \
    --to=hjl.tools@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=dank@kegel.com \
    /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).