Bug 5313

Summary: libc-2.7: test check-localplt fail
Product: glibc Reporter: pva <pva>
Component: libcAssignee: Ulrich Drepper <drepper.fsp>
Status: RESOLVED DUPLICATE    
Severity: normal CC: glibc-bugs
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description pva 2007-11-12 16:16:01 UTC
Make check fails with:

/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/elf/check-localplt
/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/libc.so
/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/math/libm.so
/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/nptl/libpthread.so
/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/rt/librt.so
/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/dlfcn/libdl.so
| \
          LC_ALL=C sort | \
          diff -u ../scripts/data/localplt-i386-linux-gnu.data - >
/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/elf/check-localplt.out
make[2]: ***
[/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/elf/check-localplt.out]
Error 1
make[2]: Target `tests' was not built due to errors.
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7/elf'
make[1]: *** [elf/tests] Error 2

check-localplt.out contains:
--- ../scripts/data/localplt-i386-linux-gnu.data        2006-01-12
00:06:19.000000000 +0300
+++ -   2007-11-12 18:51:53.647790995 +0300
@@ -1,4 +1,5 @@
 libc.so: _Unwind_Find_FDE
+libc.so: __bzero
 libc.so: calloc
 libc.so: free
 libc.so: malloc

This bug was reported in gentoo: bugs.gentoo.org/195906 see comment #3.
# gcc --version
gcc (GCC) 4.2.2 (Gentoo 4.2.2 p1.0
# ld --version
GNU ld (GNU Binutils) 2.18

i686 2.6.22-gentoo-r8-suspend2
Comment 1 Ulrich Drepper 2007-11-12 16:21:10 UTC
Problem with the compiler.

*** This bug has been marked as a duplicate of 333 ***