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

See the CrossGCC FAQ for lots more information.


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

[crosstool-ng] Eglibc (and glibc?) fails with gold/ld


On  2 Apr 2011, Bill Pringlemeir wrote:

> I was running from hg (retrieved Thursday/Friday).  I enabled the
> gold/ld option and the ld is 'gold' of course.  However, eglibc fails
> with an obcure "Linker version too old" or some such.  I looked on
> some mailing lists and it appears that glibc (and I guess eglibc) need
> the ld.bfd.  The reason is that the libraries need linker script
> support which gold doesn't have.

> So has anyone build with just 'gold' and/or 'gold/ld' (where gold is
> 'ld' and 'ld.bfd' is the older gnu ld)?  I think we might want to
> disable this option, if it is to be release as is.  I looked briefly
> at the eglibc configure option.  There was a '--with-binutils' that
> maybe we could provide an alternate directory with the gnu ld as the
> 'primary' or maybe just symlinks or something.

> I was a little surprised that the ld wasn't a symlink of gold but an
> actual copy.  I guess I can just do a copy in the final tool directory
> to make gold the default when I start with ld/gold?

On  2 Apr 2011, vapier@gentoo.org wrote:

> expected behavior.  no plans in the respective upstream projects to
> "fix" things any time soon if ever.

Right.  I don't think that anything should be fixed upstream [except
eventually gold may have linker script support].  I guess that there is
no 'crosstool-ng' mailing list?  I meant that the crosstool-ng scripts
need to be fixed to make sure that 'e?glibc' is built with the BFD
version of ld; or maybe you were just confirming that is the way to go?

Fwiw,
Bill Pringlemir

ps. Everyother time I send mail to Yann Morin, it seems to bounce.  I am
trying again...

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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