[blfs-support] elfutils-0.156 Make Errors

Pierre Labastie pierre.labastie at neuf.fr
Sat Dec 28 01:33:14 PST 2013

Le 28/12/2013 04:17, Douglas R. Reno a écrit :
> Hello everyone,
> BLFS Version: 7.4 Stable
> LFS Version: 7.3 Stable
> Brief Hardware Description: Intel Pentium III-M, Dell Latitude C800, 256mb RAM
> I get an error while making elfutils. It says something about libdw. Are there
> any dependencies I am missing? I have libxml2, expat, etc. as required for
> MesaLib. Here are the errors
> gcc -std=gnu99 -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -g -02 -o
> libdw.so -shared -o libdw.so -Wl,--soname,libdw.so.1,-z,defs \
>              -Wl,--enable-new-dtags,-rpath,/usr/lib/elfutils \
>              -Wl,--version-script,libdw.map,--no-undefined \
>              -Wl,--whole-archive libdw_pic.a ../libdwfl/libdwfl_pic.a
> ../libebl/libebl.a ../libelf/libelf.so -Wl,--no-whole-archive \
>              -ldl -llzma -lbz2 -lz
> if readelf -d libdw.so | fgrep -q TEXTREL; then exit 1; fi
> make[3]: *** [libdw.so] Error 1
> make[3]: Leaving directory '/home/renodr/src/p2wget/xc/elfutils-0.156/libdw'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory '/home/renodr/src/p2wget/xc/elfutils-0.156/libdw'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory '/home/renodr/src/p2wget/xc/elfutils-0.156'
> make: *** [all] Error 2
I have exactly the same commands in my logs, but they give no error.

Try to change to /home/renodr/src/p2wget/xc/elfutils-0.156/libdw, run
readelf -d libdw.so, and see where TEXREL occurs (it should not, but it looks
like it does).
> If this helps, I am building as root because I am in a chroot environment
> attempting to build this. I want to get the X Window System installed and edit
> /etc/inittab so that it starts twm on startup. I can restart my PC and logon
> as renodr if needed though.

I do not think it should change anything, unless you are doing weird things
with permission or ownerships. Could be the PATH though. Did you enter chroot
using the command at page 6.66 "Cleaning up"? Are the virtual kernel
filesystems mounted (maybe not needed, but just in case)?


More information about the blfs-support mailing list