On Mon, Oct 31, 2016 at 5:34 PM, Bruce Dubbs <[email protected]> wrote:

> I'm trying to update valgrind to version 3.12.0 for the book.  The build
> is fine, but I get over 1000 test failures.
>
> I went back and tried the tests (patch && ./configure && make && make
> regtest) on version 3.11 and got the same large number of errors.
>
> I then rebooted to an earlier LFS and tried again and the errors went
> (mostly - 5 related errors) away,  This is what I have:
>
> PACKAGE OLD      CURRENT
> kernel  4.6.2    4.7.2
> gcc     6.1      6.2.0
> boost   1.61.0   1.62.0
> clang   3.7.1    3.8.1
> gdb     7.11     7.11.1
> glibc   2.23     2,24
>
> One thing that may be a problem is that I changed LFS a while back to
> strip libraries better.  The fact that I have:
>
> $ file ld-2.24.so
> ld-2.24.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
> dynamically linked, stripped
>
> and that may be the problem.  See the note at
>
> http://www.linuxfromscratch.org/blfs/view/svn/x/x7driver.html#libinput
>
> I did rebuild a debug version of ld-2.24.so and that got a reduction to
> 166 test failures.  It looks like there are a lot of issues with other
> glibc libraries without debug symbols or just differences (4 bytes freed vs
> 8 bytes freed) in the latest glibc and/or kernel.
>
> I'm looking for suggestions about how to handle this in the book.
>
>   -- Bruce
>

I probably wouldn't have noticed this, as I have no desire whatsoever to
strip my libraries. I'm not concerned about size. Without stripped
libraries, I don't get as many failures, at least according to one of my
old logs.

We could do something about this in the valgrind page, but GDB goes through
the same thing. Do we really need to strip libraries?

Douglas R. Reno
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to