Hello. Could you please tell me if I should report this failure as elfutils or gcc problem? ----CUT---- x86_64-pc-linux-gnu-gcc -m32 -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2 -O2 -ggdb -pipe -march=native -mtune=native -flto=4 -Wl,--as-needed -Wl,-O1 -Wl,-flto -O2 -ggdb -pipe -march=native -mtune=native -flto=4 -o libelf.so -shared -o libelf.so -Wl,--whole-archive,libelf_pic.a,--no-whole-archive \ -Wl,--version-script,/var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158/libelf/libelf.map,--no-undefined \ -Wl,--soname,libelf.so.1,-z,defs,-z,relro -lpthread if readelf -d libelf.so | fgrep -q TEXTREL; then exit 1; fi Makefile:944: recipe for target 'libelf.so' failed ----CUT---- When I removed check for TEXTREL from libelf/Makefile.in and ran it again it failed at link time for libdw.so: ----CUT----- x86_64-pc-linux-gnu-gcc -m32 -std=gnu99 -Wall -Wshadow -Wunused -Wextra -fgnu89-inline -Wformat=2 -O2 -ggdb -pipe -march=native -mtune=native -flto=4 -Wl,--as-needed -Wl,-O1 -Wl,-flto -O2 -ggdb -pipe -march=native -mtune=native -flto=4 -o libdw.so -shared -o libdw.so -Wl,--soname,libdw.so.1,-z,defs \ -Wl,--enable-new-dtags,-rpath,/usr/lib32/elfutils \ -Wl,--version-script,/var/tmp/portage/dev-libs/elfutils-0.158/work/elfutils-0.158/libdw/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 /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140105/../../../../x86_64-pc-linux-gnu/bin/ld: libdw.so: No symbol version section for versioned symbol `dwarf_decl_column@ELFUTILS_0.143' /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140105/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Nonrepresentable section on output collect2: error: ld returned 1 exit status Makefile:958: recipe for target 'libdw.so' failed ----CUT---- When -flto=4 is removed and even with TEXTREL check present all compiles fine. Using gcc-ar, gcc-nm and gcc-ranlib changes nothing. Thank you in advance. Best regards, David.