Building glibc fails - needs .init_array and .fini_array support
workaphobia at gmail.com
workaphobia at gmail.com
Wed Jul 9 21:15:31 UTC 2008
I was able to build an old revision
(aa44d626baaae40ee498aea453176a8aea90d9fc) of OpenEmbedded using a
patch from linux4sam, as per their instructions at:
http://www.linux4sam.org/twiki/bin/view/Linux4SAM/OpenEmbeddedAngstromBuild#How_to_build_Angstrom_for_AT91
As a last resort measure, I commented out a few lines in my local.conf
that I thought could have nothing to do with this:
#PROFILE_OPTIMIZATION = "-pg"
#SELECT_OPTIMIZATION = "${PROFILE_OPTIMIZATION}"
#LDFLAGS =+ "-pg"
I managed to build all the way up to task 259, popt do_fetch, which
failed only because the ftp.rpm.org mirror is down (will that come
back up later or do I need to bypass that package?). So it seems like
this was the problem.
Now that I examine the original source of those three lines
(local.conf.sample) more carefully, it explicitly says this is
expected to break glibc. These words slipped past me when I first set
up my local.conf, before I went through any of this aggravation.
This could be the most infuriating and longest-lasting self-inflicted
bug I've ever encountered. Hopefully this message will serve as a
warning to someone more fortunate than I when googling for a solution
to this problem.
Jon
More information about the Openembedded-users
mailing list