[lfs-dev] Broken sound (glibc).

Ken Moffat zarniwhoop at ntlworld.com
Tue May 1 14:10:43 PDT 2012


On Tue, May 01, 2012 at 08:22:01PM +0100, Andrew Benton wrote:
> On Tue, 01 May 2012 20:05:54 +0100
> Ken Moffat <zarniwhoop at ntlworld.com> wrote:
> 
> > 
> >  Google found that *some* people have been hitting this since
> > glibc-2.14.  It also pointed me to a patch at cross-lfs,
> > http://patches.cross-lfs.org/dev/eglibc-2.15-fixes-1.patch
> > which is from the libc-alpha list last year.  It applies (eglibc
> > isn't _that+ different :), but I'm reluctant to try upgrading the
> > running glibc - doing in-place toolchain updates is the beginning
> > of a slippery slope!
> 
> If it's built from the same tarball you should be fine to install a new
> glibc over the old one. Try the attached patch.
> 

 Thanks - like the rediff I found at clfs, and applies with bigger
offsets.  I think you're encouraging me to start on that slippery
slope.  But I've got backups.  Certainly, fixing the current build
will save me some time - I'll give it a go after I've updated kbd.

> >  I'll try a fresh test build, and this time test 'aplay' in chroot.
> > So, for the moment this is just a heads-up that I'm looking at this.
> > 
> >  Still puzzled about what suddenly broke this for me, LFS-7.1 on
> > this machine was fine but the problem first surfaced (for some
> > people) last summer.
> 
> We used to apply the glibc-2.14.1-fixes-1.patch which contained the fix.
> 
> Some history:
> 
> http://linuxfromscratch.org/pipermail/lfs-dev/2011-September/065023.html

 Thanks for that context.  Do you have any idea if this is something that
affects sound devices for everyone, or only for some people ?

 Let's rephrase that - can people running LFS-svn with glibc-2.15, and who
have installed alsa-utils, try running aplay or speaker-test and see if it
segfaults, please ?  Information on whether you are using 32 or 64
bits might also be useful (I'm on 64).  Thanks.

 Also, anyone know why we dropped this ?  I see that it is
supposedly already in upstream (described as 'from upstream' for
2.14.1), and certainly I haven't seen any firefox crashes without
it.  Hmm, the glibc-2.14.1-fixes-1.patch also patched include/link.h
and resolv/res_query.c : those parts also still apply.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the lfs-dev mailing list