Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 111659 - glibc-2.3.5.20050722 +nptl -nptlonly fails configure
Summary: glibc-2.3.5.20050722 +nptl -nptlonly fails configure
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 100677 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-05 23:22 UTC by Ryan Hill (RETIRED)
Modified: 2006-04-20 20:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2005-11-05 23:22:47 UTC
i'm trying to remerge glibc-2.3.5.20050722 previously built as:

[ebuild   R   ] sys-libs/glibc-2.3.5.20050722  -build -erandom -glibc-compat20
+glibc-omitfp -hardened -linuxthreads-tls (-multilib) -nls +nptl +nptlonly +pic
-profile (-selinux) +userlocales

i'm dropping the nptlonly USE flag in order to build both linuxthreads and NPTL
support and have hit this:

=====
[...]

 *             ABI:   default
 *          CBUILD:   i686-pc-linux-gnu
 *           CHOST:   i686-pc-linux-gnu
 *         CTARGET:   i686-pc-linux-gnu
 *      CBUILD_OPT:   
 *     CTARGET_OPT:   
 *              CC:   
 *          CFLAGS:   -march=prescott -pipe -O2

 * Configuring GLIBC for linuxthreads with: 
		--disable-nls
		--disable-dev-erandom
		--enable-omitfp
		--with-tls
		--without-__thread
		--enable-add-ons=linuxthreads,c_stubs,libidn
		--enable-kernel=2.4.1
		--without-selinux
		--without-cvs
		--enable-bind-now
		--build=i686-pc-linux-gnu
		--host=i686-pc-linux-gnu
		--disable-profile
		--without-gd
		--with-headers=//usr/include
		--prefix=/usr
		--mandir=/usr/share/man
		--infodir=/usr/share/info
		--libexecdir=/usr/lib/misc/glibc

[...]

checking for i386 TLS support... yes
running configure fragment for sysdeps/pthread
running configure fragment for libidn/sysdeps/unix
running configure fragment for sysdeps/unix/sysv/linux
checking for egrep... (cached) grep -E
checking installed Linux kernel header files... 2.0.10 or later
checking for kernel header at least 2.4.1... ok
*** On GNU/Linux systems it is normal to compile GNU libc with the
*** `nptl' add-on.  Without that, the library will be
*** incompatible with normal GNU/Linux systems.
*** If you really mean to not use this add-on, run configure again
*** using the extra parameter `--disable-sanity-checks'.

!!! ERROR: sys-libs/glibc-2.3.5.20050722 failed.
!!! Function glibc_do_configure, Line 932, Exitcode 1

=====

the --enable-kernel=2.4.1 option and missing nptl in --enable-add-ons= seems to
indicate that the nptl USE flag is being ignored.  in fact, USE="-nptl
-nptlonly" produces identical configure options as USE="nptl -nptlonly".

the other glibc-2.3.5 ebuilds also have this problem but don't die during the
configure.  they just go ahead and build the linuxthreads version.

now i've read on bug #92794 that building both versions is no longer supported
and either linuxthreads or nptl is being forced.  if this is the case then i'd
suggest dropping the nptlonly flag and making nptl provide that option. having
nptl build linuxthreads doesn't make much sense. ;)
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2005-11-05 23:34:05 UTC
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-4.0.3-beta20051020,
glibc-2.3.5.20050722-r0, 2.6.14-ck3 i686)
=================================================================
System uname: 2.6.14-ck3 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System version 1.12.0_pre9
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.13
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-r1
sys-devel/binutils:  2.16.91.0.3
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -fno-ident
-fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/dirtyepic/overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac acpi alsa avi bash-completion berkdb bzip2 cdr crypt curl
dbus dri dts dvd dvdr dvdread encode exif ffmpeg firefox flac gdbm gif gnutls
gphoto2 gtk gtk2 hal imagemagick imlib java jpeg kde mad mmap mmx mng mp3 mpeg
mpi ncurses nntp nptl nsplugin ogg oggvorbis opengl perl pic png python qt
quicktime readline ruby sdl sse sse2 ssl svg tcpd threads tiff truetype usb vcd
vorbis wifi win32codecs xine xml xml2 xv xvid zlib linguas_en userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL
Comment 2 SpanKY gentoo-dev 2006-04-20 20:29:09 UTC
glibc-2.3.5.2005* versions were never supported
Comment 3 SpanKY gentoo-dev 2006-04-20 20:37:56 UTC
*** Bug 100677 has been marked as a duplicate of this bug. ***