Spurious undefined reference error?
H.J. Lu
hjl.tools@gmail.com
Thu Dec 20 20:00:00 GMT 2012
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.
More information about the Binutils
mailing list