[Top][All Lists]

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

Re: broken memchr

From: Eric Blake
Subject: Re: broken memchr
Date: Mon, 08 Jun 2009 05:49:46 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20090302 Thunderbird/ Mnenhy/

Hash: SHA1

According to Simon Josefsson on 5/26/2009 10:24 AM:
> My gnulib autobuilder is a x86_64 system (running Ubuntu 8.04 LTS), so
> if the test starts to fail, it will show up here in a few hours:
> http://autobuild.josefsson.org/gnulib/#000-gnulib-simple-gaggia

The updated test-memchr is passing on your autobuilder; which version of
glibc do you have on that machine?  We know the broken memchr on x86_64 is
in 2.10 but not current glibc (which will become 2.11), and based on the
glibc release notes, I don't think the bug was present in 2.9 either:

| Version 2.10
| * Faster strlen, strchr, strchrnul, strrchr, memchr, and rawmemchr for
|   Implemented by Ulrich Drepper.

I guess I'd like to see a failure report for test-memchr in the wild
before worrying about replacing that function in gnulib, although I'm
fairly confident that we should be able to find one.  The broken alpha
version may have been around longer, and I'm not sure whether it is fixed
yet, but alpha seems to be a less popular architecture.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


reply via email to

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