Weird error cross-compiling glibc with binutils 2.22 or head

Alan Modra amodra@gmail.com
Tue Feb 7 11:26:00 GMT 2012


On Mon, Feb 06, 2012 at 08:54:20AM -0600, david.hagood@gmail.com wrote:
> Since that variable is binutils, I am on this list.

Andreas kindly pointed you at the glibc Makerules file.  If you had
looked instead of whining you would have found a couple of lines in
that file:
		 PROVIDE(__start___libc_subfreeres = .);\
		 __libc_subfreeres : { *(__libc_subfreeres) }\

which more or less match your make output:

                 PROVIDE(__start__es : {subfreeres = .);\
                 __libc_subfreeres : { *(__libc_subfreeres) }\

Except somehow the string "_libc_" on the first line has been replaced
by "es : {".  That's hardly likely to be due to a binutils gremlin.

As to why your toolchain builds with binutils-2.20 but not with
binutils-2.22, it is likely some glibc configure test detecting ld
features, enabling different make rules or parts thereof.  There's one
right in the rule I partially quote above.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list