This is the mail archive of the
mailing list for the binutils project.
Re: Spurious undefined reference error?
On Thu, Dec 20, 2012 at 11:47 AM, Dan Kegel <email@example.com> wrote:
> On Thu, Dec 20, 2012 at 11:22 AM, Dan Kegel <firstname.lastname@example.org> 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
> Logging in again, I see that now ld --version says
> GNU ld (GNU Binutils) 18.104.22.16821106
> 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