Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 318503 - sys-libs/glibc-2.11.2 stabilization
Summary: sys-libs/glibc-2.11.2 stabilization
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on: 298571 glibc-2.11 318613 331119
Blocks: CVE-2010-0830
  Show dependency tree
 
Reported: 2010-05-04 20:21 UTC by SpanKY
Modified: 2010-10-27 19:33 UTC (History)
11 users (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 SpanKY gentoo-dev 2010-05-04 20:21:05 UTC
glibc-2.11-r1 has been in the tree for months with few known regressions, and glibc-2.11.1 should have addressed all of those.

for now, lets push the blocking packages into stable so that when the ~30 day mark comes around, we can move glibc-2.11.1 into stable.
Comment 1 Thomas Kahle (RETIRED) gentoo-dev 2010-05-14 07:38:38 UTC
Testing on x86: I have been using this version (+ new binutils) for more than a week, rebuilding serveral things and encountered no issues.
Comment 2 Roeland Douma 2010-05-23 19:02:40 UTC
AMD64:

This version of glibc (including the new binutils) has been running on 4 machines for 3 weeks without any problems. One of those machines is actually rebuilding world due to testing gcc-4.4.2 (bug #302468) and so far no problems.

emerge --info:
Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.3.4, glibc-2.11.1-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-1.12.13
Timestamp of tree: Sun, 23 May 2010 01:15:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                                                                                          
PORTAGE_TMPDIR="/var/tmp"                                                                                                                                                           
PORTDIR="/usr/portage"                                                                                                                                                              
PORTDIR_OVERLAY="/usr/overlay"                                                                                                                                                      
SYNC="rsync://rsync.tiscali.nl/gentoo-portage"                                                                                                                                      
USE="3dnow acl amd64 apache2 bash-completion bzip bzip2 caps cli cracklib crypt cue cupsddk curl daemon dri exif fastcgi flac ftp gdbm git graphviz gzip hpijs iconv icu id3 jabber jpeg json lame ldap libsamplerate mmx mod_muc modules mp3 mudflap mysql mysqli ncurses new-hpcups nls nptl nptlonly ogg openmp pcre php png posix postgres pppd readline reflection ruby sasl session simplexml spl sse sse2 ssl svg sysfs syslog tcpd threads truetype unicode unzip vorbis web webdav xml xmlreader xmlrpc xmlwriter xorg zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Opportunist 2010-05-29 11:54:07 UTC
amd64, all works fine for 2 weeks
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2010-06-20 17:57:16 UTC
amd64 stable
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2010-06-24 10:56:15 UTC
x86 stable, thanks Thomas
Comment 6 Luca Lesinigo 2010-06-24 14:12:14 UTC
Fails to configure on one of my systems, the only difference between this and the others is that this has >=gcc-4 masked. The otherwise identical gcc-4 systems happily compiled and run on glibc-2.11.1, so my first suspect would be the compiler.

[.......]

checking cpuid.h usability... no
checking cpuid.h presence... no
checking for cpuid.h... no
configure: error: gcc must provide the <cpuid.h> header
 * ERROR: sys-libs/glibc-2.11.1 failed:
 *   failed to configure glibc
 *
 * Call stack:
 *           ebuild.sh, line   54:  Called src_compile
 *         environment, line 3834:  Called eblit-run 'src_compile'
 *         environment, line 1223:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  207:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  121:  Called glibc_do_configure 'nptl'
 *   src_compile.eblit, line   98:  Called die
 * The specific snippet of code:
 *      "${S}"/configure ${myconf} || die "failed to configure glibc"
 *
 * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.11.1',
 * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.11.1'.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.11.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.11.1/temp/environment'.
 * S: '/var/tmp/portage/sys-libs/glibc-2.11.1/work/glibc-2.11.1'

this is an hardned gentoo/amd64, with xen-sources kernel, and x86_64-pc-linux-gnu-3.4.6-hardenednossp gcc profile

follows emerge --info:
Portage 2.1.8.3 (hardened/linux/amd64/10.0/no-multilib, gcc-3.4.6-hardenednossp, glibc-2.10.1-r1, 2.6.31-gentoo-r6-domU x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-domU-x86_64-Intel-R-_Xeon-R-_CPU_X3323_@_2.50GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 24 Jun 2010 06:30:01 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.5.4-r3, 2.6.5-r2, 3.1.2-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fforce-addr -fno-stack-protector-all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe -fforce-addr -fno-stack-protector-all"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://172.16.0.10/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx diskio dri gdbm hardened iconv iproute2 justify mfd-rewrites mmx modules mudflap mysql ncurses nls nptl nptlonly ntplonly openmp pam pcre perl pic pppd python readline reflection screen session snmp spl sse sse2 ssl sysfs tcpd urandom xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-06-24 14:18:25 UTC
(In reply to comment #6)
> Fails to configure on one of my systems, the only difference between this and
> the others is that this has >=gcc-4 masked. The otherwise identical gcc-4
> systems happily compiled and run on glibc-2.11.1, so my first suspect would be
> the compiler.
> 
> [.......]
> 
> checking cpuid.h usability... no
> checking cpuid.h presence... no
> checking for cpuid.h... no
> configure: error: gcc must provide the <cpuid.h> header

More or less a duplicate of bug 292174. GCC 3.x is no longer supported. 
And you should open new bugs instead of commenting here, has nothing to do with stabilization as GCC 4.3 (and even 4.4) has been stable for quite a while now.
Comment 8 Luca Lesinigo 2010-06-24 14:24:41 UTC
I'd think for glibc-2.11.1 to go stable while gcc-3 is still in portage, glibc should depend on >=sys-devel/gcc-4.something just like mysql did for a while, instead of coming up in an emerge system and then failing. That's why I commented here.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-06-24 14:39:06 UTC
(In reply to comment #8)
> I'd think for glibc-2.11.1 to go stable while gcc-3 is still in portage, glibc
> should depend on >=sys-devel/gcc-4.something just like mysql did for a while,
> instead of coming up in an emerge system and then failing. That's why I
> commented here.
> 

no, you should open a new bug for that :)
Comment 10 SpanKY gentoo-dev 2010-06-25 02:49:08 UTC
ia64 done
Comment 11 Grzegorz {NineX} Krzystek 2010-06-25 19:15:40 UTC
ppc stable
Comment 12 SpanKY gentoo-dev 2010-06-25 19:48:17 UTC
re-adding due to security issue with <=glibc-2.11.1 via Bug 325555

2.11.2 over 2.11.1 should be just bug fixes and generally safe
Comment 13 Christoph Mende (RETIRED) gentoo-dev 2010-06-26 06:08:40 UTC
amd64 stable
Comment 14 Tobias Heinlein (RETIRED) gentoo-dev 2010-06-26 13:03:36 UTC
(In reply to comment #12)
> re-adding due to security issue with <=glibc-2.11.1 via Bug 325555
> 
> 2.11.2 over 2.11.1 should be just bug fixes and generally safe

Why didn't you re-add ia64?
Comment 15 SpanKY gentoo-dev 2010-06-26 21:20:05 UTC
why would i re-add an arch that is already stable
Comment 16 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-27 10:47:39 UTC
x86 stable
Comment 17 walt 2010-06-29 18:15:58 UTC
My amd64 machine just tried to update to glib-2.11.2 but the build failed (at least when using gcc-4.4.3).

/work/glibc-2.11.2/sysdeps/x86_64/dl-trampoline.h has a bunch of avx extension instructions enclosed in an #ifdef RESTORE_AVX, e.g.

#ifdef RESTORE_AVX
        /* This is to support AVX audit modules.  */
        vmovdqu %ymm0,                (LR_VECTOR_OFFSET)(%rsp)
        vmovdqu %ymm1, (LR_VECTOR_OFFSET +   VECTOR_SIZE)(%rsp)
...
#endif

Everything inside that ifdef causes an error:

../sysdeps/x86_64/dl-trampoline.h:23: Error: no such instruction: `vmovdqu %ymm0,(192)(%rsp)'

IIUC, my old amd64 k8 doesn't support the avx extensions anyway, I think the RESTORE_AVX should not be defined.  (It's defined in dl-trampoline.S)

Any ideas?
Comment 18 Samuli Suominen (RETIRED) gentoo-dev 2010-06-29 18:17:58 UTC
(In reply to comment #17)
> Any ideas?

Please. Open a new bug. See Comment #9. 
Comment 19 Gavin Pryke 2010-07-02 10:05:04 UTC
With current stable toolchain on arm glibc-2.10.1-r1 fails to build for me, plus it appears to have security issues. Can we stabilise 2.11.2 on arm please? Do I open a new bug for the problem with 2.10.1-r1 or wait for this to be stabilised? I'm currently rebuilding system after a successful merge of glibc-2.11.2.
Comment 20 walt 2010-07-04 16:18:51 UTC
(In reply to comment #18)
> (In reply to comment #17)
> > Any ideas?
> 
> Please. Open a new bug. See Comment #9. 

Sorry, I was using an old binutils, which didn't recognize the newer avx instructions.  Switching to 2.20.1 fixed the build problem.
Comment 21 Samuli Suominen (RETIRED) gentoo-dev 2010-07-10 21:49:03 UTC
Looks good on ppc64, using a chroot w/ gcc-4.4.3-r2 and glibc-2.11.2 and world is built with it.
Comment 22 Tobias Klausmann (RETIRED) gentoo-dev 2010-07-11 11:12:15 UTC
Stable on alpha, thanks to armin76 for testing.
Comment 23 Markus Meier gentoo-dev 2010-07-11 11:49:54 UTC
arm stable
Comment 24 Raúl Porcel (RETIRED) gentoo-dev 2010-07-18 10:16:34 UTC
sh/sparc stable
Comment 25 Samuli Suominen (RETIRED) gentoo-dev 2010-07-18 16:59:44 UTC
ppc64 stable
Comment 26 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-02 20:38:38 UTC
Should be good to go stable for HPPA soon.
Comment 27 Joe Jezak (RETIRED) gentoo-dev 2010-08-13 17:12:59 UTC
Marked ppc stable.
Comment 28 Jeroen Roovers (RETIRED) gentoo-dev 2010-10-25 03:05:40 UTC
-r1 is stable for HPPA.
Comment 29 Tobias Heinlein (RETIRED) gentoo-dev 2010-10-27 19:33:41 UTC
Superseded by bug 341755 comment 30 ff.