bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/2402] New: strip fail sometime to strip libc-2.3.5.so with


From: g dot esp at free dot fr
Subject: [Bug binutils/2402] New: strip fail sometime to strip libc-2.3.5.so with signal11
Date: 25 Feb 2006 12:17:00 -0000

With binutils-2.16.91.0.5 and 2.16.91.0.6, sometime strip fail

When it work
/tools/bin/find /lib /usr/lib /usr/share/rrdtool-* /install/initrd/lib \
        -type f \( -name '*.so' -o -name '*.so[\.0-9]*' \) \
        -ls -exec /tools/bin/strip --strip-all {} \; #2>/dev/null
1137622 4640 -rwxr-xr-x   1 root     root      4735243 Feb 25 12:06 /lib/libc-
2.3.5.so
1135963  328 -rwxr-xr-x   1 root     root       329306 Feb 25 12:06 /lib/ld-
2.3.5.so
1135780   12 -rwxr-xr-x   1 root     root         9592 Feb 25 
12:05 /lib/libBrokenLocale-2.3.5.so
1135795  460 -rwxr-xr-x   1 root     root       465024 Feb 25 12:05 /lib/libm-
2.3.5.so
...
(only libc was not yet stripped)
Then after many strip attempts

/tools/bin/find /lib /usr/lib /usr/share/rrdtool-* /install/initrd/lib \
        -type f \( -name '*.so' -o -name '*.so[\.0-9]*' \) \
        -ls -exec /tools/bin/strip --strip-all {} \; #2>/dev/null
1126113 1020 -rwxr-xr-x   1 root     root      1036728 Feb 25 12:44 /lib/libc-
2.3.5.so
/tools/bin/find: /tools/bin/strip terminated by signal 11
1126116   84 -rwxr-xr-x   1 root     root        80716 Feb 25 12:44 /lib/ld-
2.3.5.so
1135775    8 -rwxr-xr-x   1 root     root         5528 Feb 25 
12:44 /lib/libBrokenLocale-2.3.5.so
1135795  140 -rwxr-xr-x   1 root     root       137848 Feb 25 12:44 /lib/libm-
2.3.5.so
...

It look to corrupt libc-2.3.5.so. Any next attempt to strip again fail with the 
same signal 11 until glibc is rebuild. Then after the rebuild, it work most of 
the time. To be certain to reproduce the bug, I had to repeat the strip script 
in a `seq 1 20`loop.

All of the build is made similary to LFS-6.1 build (except binutil upgrade and 
stripping shared lib is not written in the book, but has been work for time 
with older LFS5.1 and strip 2.15.90.0.3 20040415)

strip part is made in a chroot inside the build environnement.

-- 
           Summary: strip fail sometime to strip libc-2.3.5.so with signal11
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: g dot esp at free dot fr
                CC: bug-binutils at gnu dot org
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i486-pc-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=2402

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]