Re: more lsbsi joy (ia64 at least)

[email protected] Tue, 23 Mar 2004 13:32:51 +1100
Newsgroups gmane.linux.lsb.implementation
Message-ID <OF85AC23F0.1DC054B4-ONCA256E60.000DFE90-CA256E60.000DFEA0@pha.com.au>




> A little googling turned up that apparently some
> stuff in glibc 2.3.1 and later interferes with a
> static bash; there's a patch to glibc available
> to remove the problem.

We ran into this problem with LFS late 2002/early 2003.

Its a libnss issue, though bash is static it still hooks into
nss and between 2.2.x and 2.3.x this changed, causing segfaults.

Originally we got around it by linking bash against a static libpwd
from busybox
http://hints.linuxfromscratch.co.uk/hints/static-pwd.txt

Later we got around it by cross linking everything against the
glibc version we were migrating to (built first) to avoid these
kind of issues happening to us again.

HTH
Ryan