The elfutils package contains set of utilities and libraries for handling ELF (Executable and Linkable Format) files.
This package is known to build and work properly using an LFS-7.7 platform.
Download (HTTP): https://fedorahosted.org/releases/e/l/elfutils/0.161/elfutils-0.161.tar.bz2
Download MD5 sum: e1b9847c9a6a1ad340de8d47a863ec52
Download size: 5.3 MB
Estimated disk space required: 94 MB (additional 3 MB for the tests)
Estimated build time: 0.8 SBU (additional 0.2 SBU for the tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/elfutils
Install elfutils by running the following commands:
sed -e '/*runp =/,+2d' \ -e '/runp +=/s/r.*;/*runp++ = '\0';/' \ -i libelf/elf_begin.c && ./configure --prefix=/usr --program-prefix="eu-" && make
If you wish to run the test suite, first fix it to skip two failing tests:
sed -i '/srcdir/ iexit 77\n' \ tests/run-backtrace-native.sh \ tests/run-backtrace-native-core.sh
To test the results, issue: make check.
Now, as the root
user:
make install
sed ... libelf/elf_begin.c: This command fixes a potiential vulnerability identified upstream.
--program-prefix="eu-"
:
This switch renames installed programs to avoid conflict with
Binutils programs installed in
LFS.
Last updated on 2015-03-03 22:27:20 -0500