#2820: glibc issues with --enable-kernel=2.6.22.5
-------------------------+--------------------------------------------------
Reporter: bigorneault | Owner: lfs-book@…
Type: defect | Status: new
Priority: normal | Milestone: 6.8
Component: Book | Version: SVN
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Comment(by bdubbs@…):
Replying to [comment:4 bigorneault]:
> Support for private futexes was added in 2.6.22, while support for the
FUTEX_CLOCK_REALTIME flag was added in 2.6.29.
>
> To confirm that this is an issue with the futex support, I built glibc
with --enable-kernel=2.6.22.5 and adjusted manually the following #define:
> 3 - anything later that 2.6.29: All tests pass.
{{{
#define __ASSUME_PRIVATE_FUTEX 1
#define __ASSUME_FUTEX_CLOCK_REALTIME 1
}}}
I built glibc-2.12.2 on an LFS-6.7 system using:
{{{
../glibc-2.12.2/configure --prefix=/usr --disable-profile \
--enable-add-ons --enable-kernel=2.6.30 --libexecdir=/usr/lib/glibc
make
cp -v ../glibc-2.12.2/iconvdata/gconv-modules iconvdat
make -k check 2>&1 | tee glibc-check-log
}}}
The errors definitely changed, but I still had errors:
{{{
[/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
[/sources/glibc-build/nptl/tst-attr3.out] Error 1
[/sources/glibc-build/debug/tst-chk3.out] Error 1
[/sources/glibc-build/debug/tst-lfschk3.out] Error 1
[/sources/glibc-build/debug/tst-chk6.out] Error 1
[/sources/glibc-build/debug/tst-lfschk6.out] Error 1
[/sources/glibc-build/c++-types-check.out] Error 1
}}}
I'll have to rebuild a SVN system and recheck, but I don't ever recall
seeing any of these errors before.
debug/tst-lfschk3.c is only
{{{
#define _FILE_OFFSET_BITS 64
#include "tst-chk3.c"
}}}
Same for tst-lfschk6.cc
Checking debug/tst-lfschk3.c, it is
{{{
#define _FORTIFY_SOURCE 2
#include "tst-chk1.c"
}}}
tst-chk1 is doing some printf testing. Something about the format string
being writable when it should not be.
--
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2820#comment:6>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page