[lfs-dev] kernel build failure on current lfs-dev

Pierre Labastie pierre.labastie at neuf.fr
Wed May 21 08:40:35 PDT 2014

Le 21/05/2014 16:51, Ken Moffat a écrit :
>   (Third attempt - the first time I attached my .config, but that
> made it too big for this list.  The config is now at
> http://www.linuxfromscratch.org/~ken/tmp/config-3.14.4  And then I
> mistyped the to: address)
>   This is on LFS-svn-20140514 (r10564) with the udev-lfs
> reinstatement from r10567.  I'm on x86_64, trying to build 3.4.14
> using the config from 3.4.14 which the host (LFS-7.5) is running.
>    GEN     include/generated/asm-offsets.h
>    CALL    scripts/checksyscalls.sh
>    CC      scripts/mod/empty.o
> as: symbol lookup error: /usr/lib/libbfd-2.24.so: undefined symbol:
> ons
> scripts/Makefile.build:308: recipe for target 'scripts/mod/empty.o'
> failed
> make[2]: *** [scripts/mod/empty.o] Error 2
> scripts/Makefile.build:455: recipe for target 'scripts/mod' failed
> make[1]: *** [scripts/mod] Error 2
> Makefile:527: recipe for target 'scripts' failed
> make: *** [scripts] Error 2
The interesting thing is that it is as, not ld, which has a problem with 
"ons", so I am almost sure it has nothing to do with lto (which occurs 
at link time, as the acronym says).

Out of curiosity, I have tried on my machine:
pierre at host:~$ LANG=C readelf -a /usr/lib/libbfd-2.24.so | grep ons
I got a lot of hits (const, construct, and so on) but not "ons" alone.

Looks like the symbol was truncated or so.


More information about the lfs-dev mailing list