Problem with glibc test

Bill Mason billmason_sp2 at yahoo.com
Sat Oct 11 18:10:54 PDT 2008


Hi Dan,
Thanks so much for the detailed response.  I couldn't find any bug reports that seemed to match this, but then I don't have much experience searching for them.  I tried this same test in Ubuntu, and it seems the bug is still there, as of glibc-2.7.  I've wrestled in frustration with glibc a bit over the last few days, and I'm definitely not prepared for the cvs build needed in order to report the bug.

So I disabled the test and moved on.  I still get the expected posix/annexc and nptl/tst-cancel1 errors.  I also see:
make[1]: *** [nptl/tests] Error 2
make: *** [check] Error 2
but I think that's just the nptl/tst-cancel1 error propagating itself.

Thanks again for the help!  It's much appreciated.

Bill

--- On Wed, 10/8/08, Dan Nicholson <dbn.lists at gmail.com> wrote:

> From: Dan Nicholson <dbn.lists at gmail.com>
> Subject: Re: Problem with glibc test
> To: billmason_sp2 at yahoo.com
> Cc: "LFS Support List" <lfs-support at linuxfromscratch.org>
> Date: Wednesday, October 8, 2008, 10:03 PM
> On Wed, Oct 8, 2008 at 5:03 PM, Bill Mason
> <billmason_sp2 at yahoo.com> wrote:
> > Thanks Dan,
> > I'll check -Wall.
> >
> > Can you add a bunch of zeros and see if it still
> works?  I was able to try this on another system, and the
> problem still existed, but it needed a bit more zeros.
> 
> Ah, now I got it. Looking at the log for vsprintf.c, it
> seems there
> were quite a few fixes to do with overflowing on precision.
> 
> http://sourceware.org/cgi-bin/cvsweb.cgi/libc/stdio-common/vfprintf.c?cvsroot=glibc
> 
> This bug seems relevant, but I think the patch is in 2.5.1.
> 
> http://sources.redhat.com/bugzilla/show_bug.cgi?id=4438
> 
> In fact, the patch from that bug adds the test that
> you're failing.
> 
> http://sourceware.org/ml/glibc-cvs/2007-q3/msg00113.html
> 
> So, uh, I guess that bug wasn't fixed by 2.5.1. If this
> is your only
> error, I'd suggest moving on for now. You can try to
> keep digging for
> the fix from glibc CVS, but I don't know if I'd be
> applying patches
> that I didn't understand to glibc. Next to the kernel,
> it's pretty
> much that component that drives everything.
> 
> --
> Dan


      



More information about the lfs-support mailing list