This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Spurious undefined reference error?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]