LFS-6.6, Stage2, glibc, nscd.c:442

linux fan linuxscratch at gmail.com
Tue Jun 8 08:20:09 PDT 2010


On 6/8/10, Andrew Benton <b3nton at gmail.com> wrote:

> so the whole thing can be reduced to:
>
> v=($(ls  /lib/libc-*.so | sed 's/[.-]/ /g'))
> [ (( ${v[1]} <  2 )) && (( ${v[2]} < 4 )) ] &&
> sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' ../gcc-4.5.0/gcc/configure
>

[ $(ls  /lib/libc-*.so \
 | sed 's/[.-]/ /g' \
 | awk '{print ($2<3 && $3<4) ? "foo" : "bar"}') == "foo" ] &&
 sed -i '/k prot/agcc_cv_libc_provides_ssp=yes' ../gcc-4.5.0/gcc/configure

Please pardon me being silly.



More information about the lfs-support mailing list