gcc -march=pentium3 -O3 -pipe -D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts -o rpmi -static rpmi.o ./lib/.libs/librpm.a -L/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/rpmdb/.libs -L/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/rpmio/.libs /var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/rpmdb/.libs/librpmdb.a -L/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/zlib -L/usr/local/lib ./rpmdb/.libs/librpmdb.a /var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2/rpmio/.libs/librpmio.a -lelf ./rpmio/.libs/librpmio.a /usr/lib/libpopt.a ./zlib/.libs/libz.al -lrt -lpthread -lbz2 ./lib/.libs/librpm.a(rpminstall.o)(.text+0x15f3): In function `rpmInstall': : the use of `mktemp' is dangerous, better use `mkstemp' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: rpmi: hidden symbol `__libelf_version_initialized' isn't defined collect2: ld returned 1 exit status make[2]: *** [rpmi] Error 1 make[2]: Leaving directory `/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rpm-4.2_pre069/work/rpm-4.2' make: *** [all] Error 2 !!! ERROR: app-arch/rpm-4.2_pre069 failed. !!! Function src_compile, Line 44, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1. 2. 3.
What version of binutils are you using? This package worked fine a few weeks ago, but recently binutils was given an upgrade and it is quite probable that that triggered the error.
i am using: sys-devel/binutils-2.14.90.0.1-r1 00 ___
Seems the elfutils package doesn't like the new binutils, will try to fix *** This bug has been marked as a duplicate of 20948 ***