LFS,
I'm doing Linux From Scratch - Version SVN-20050730.
After chroot and building glibc-2.3.5, the test suite failed. Since
there were already difficulties noted, I thought maybe there could be
another issue.
Navigating as root to the glibc-build, I ran the offending test on
its own:
localhost nptl # ./tst-clock2
difference between thread 0 and 1 too small (0.068042422)fe
This led me to comment out some lines in the test, as shown by the
following diff:
localhost src # diff glibc-2.3.5/nptl/tst-clock2.c tst-clock2-baked.txt
159,165c159,165
< if (diff.tv_sec < 0 || (diff.tv_sec == 0 && diff.tv_nsec <
100000000))
< {
< printf ("\
< difference between thread %d and %d too small (%ld.%09ld)\n",
< i, i + 1, (long int) diff.tv_sec, (long int)
diff.tv_nsec);
< return 1;
< }
---
/* if (diff.tv_sec < 0 || (diff.tv_sec == 0 && diff.tv_nsec <
100000000))
{
printf ("\
difference between thread %d and %d too small (%ld.%09ld)\n",
i, i + 1, (long int) diff.tv_sec, (long int)
diff.tv_nsec);
return 1;
} */
We'll see if that turns out to be famous last keystrokes.
Here are some system particulars:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.5-r1,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5, 2.4.1-r1
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb
/usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl
eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome
gpm gstreamer gtk gtk2 guile imlib ipv6 jpeg kde libg++ libwww mad
mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline sdl spell sqlite ssl svga
tcpd tetex tiff truetype truetype-fonts type1-fonts vorbis xine xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS,
PORTDIR_OVERLAY
Props,
Chris
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page