View previous topic :: View next topic |
Author |
Message |
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Mon Dec 08, 2008 2:57 pm Post subject: Should I switch to glibc-2.9? |
|
|
I just seen it in the tree this morning. I finished compiling 4 boxes and was wondering if I should update.
Is there any improvements that would benefit me? Also, if I do, would it break any packages? |
|
Back to top |
|
|
zyko l33t
Joined: 01 Jun 2008 Posts: 620 Location: Munich, Germany
|
Posted: Mon Dec 08, 2008 7:56 pm Post subject: |
|
|
Quote: | Is there any improvements that would benefit me? |
Do you speak Gurumukhi (see changelog)?
Usually glibc just gets larger and slower with every release. |
|
Back to top |
|
|
Captain Newbie Apprentice
Joined: 22 Dec 2006 Posts: 182 Location: Socal
|
Posted: Mon Dec 08, 2008 7:59 pm Post subject: |
|
|
Since you can't downgrade it, and there's not really any new groundbreaking features per the ChangeLog, I would say no. _________________ /* Nobody will ever see this message */
panic("Cannot initialize video hardware\n");
"As much as it pains me, we hope that developers know what they're doing." - wolf31o2 |
|
Back to top |
|
|
devsk Advocate
Joined: 24 Oct 2003 Posts: 2995 Location: Bay Area, CA
|
Posted: Tue Dec 09, 2008 11:45 pm Post subject: |
|
|
zyko wrote: | Usually glibc just gets larger and slower with every release. | very true... |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Wed Dec 10, 2008 2:15 pm Post subject: |
|
|
Well, it seems that glibc-2.9 breaks my Stage1 script... Crap..
I'm going to see if I can compile 2.8 then switch over to 2.9. If it's still broken, then I'm masking it.
Code: | >>> No outdated packages were found on your system.
* Messages for package sys-libs/glibc-2.9_p20081201:
* Generating all locales; edit /etc/locale.gen to save time/space
* Regenerating GNU info directory index...
* Processed 12 info files.
* IMPORTANT: 1 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.
(chroot) slappy / # USE="-fortran" emerge =sys-devel/gcc-4.1.2
Traceback (most recent call last):
File "/usr/bin/emerge", line 27, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 98, in ?
from portage_data import ostype, lchown, userland, secpass, uid, wheelgid, \
File "/usr/lib/portage/pym/portage_data.py", line 106, in ?
mystatus, myoutput = getstatusoutput("id -G portage")
File "/usr/lib/python2.4/commands.py", line 53, in getstatusoutput
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
OSError: [Errno 38] Function not implemented
(chroot) slappy / # cd /usr/portage/scripts
(chroot) slappy scripts # ./bootstrap.sh
Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2008 Gentoo Foundation; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
[[ (0/3) Locating packages ]]
Traceback (most recent call last):
File "/usr/bin/portageq", line 461, in ?
main()
File "/usr/bin/portageq", line 431, in main
import portage
File "/usr/lib/portage/pym/portage.py", line 98, in ?
from portage_data import ostype, lchown, userland, secpass, uid, wheelgid, \
File "/usr/lib/portage/pym/portage_data.py", line 106, in ?
mystatus, myoutput = getstatusoutput("id -G portage")
File "/usr/lib/python2.4/commands.py", line 53, in getstatusoutput
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
OSError: [Errno 38] Function not implemented
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/portage/pym/portage.py", line 98, in ?
from portage_data import ostype, lchown, userland, secpass, uid, wheelgid, \
File "/usr/lib/portage/pym/portage_data.py", line 106, in ?
mystatus, myoutput = getstatusoutput("id -G portage")
File "/usr/lib/python2.4/commands.py", line 53, in getstatusoutput
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
OSError: [Errno 38] Function not implemented
Traceback (most recent call last):
File "/usr/bin/portageq", line 461, in ?
main()
File "/usr/bin/portageq", line 431, in main
import portage
File "/usr/lib/portage/pym/portage.py", line 98, in ?
from portage_data import ostype, lchown, userland, secpass, uid, wheelgid, \
File "/usr/lib/portage/pym/portage_data.py", line 106, in ?
mystatus, myoutput = getstatusoutput("id -G portage")
File "/usr/lib/python2.4/commands.py", line 53, in getstatusoutput
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
OSError: [Errno 38] Function not implemented
* Using baselayout : >=
* Using portage : portage
* Using os-headers : virtual/os-headers
* Using binutils : binutils
* Using gcc : gcc
* Using libc : virtual/libc
* Using texinfo : sys-apps/texinfo
* Using zlib : zlib
* Using ncurses : ncurses
-------------------------------------------------------------------------------
[[ (1/3) Configuring environment ]]
Traceback (most recent call last):
File "<string>", line 1, in ?
File "/usr/lib/portage/pym/portage.py", line 98, in ?
from portage_data import ostype, lchown, userland, secpass, uid, wheelgid, \
File "/usr/lib/portage/pym/portage_data.py", line 106, in ?
mystatus, myoutput = getstatusoutput("id -G portage")
File "/usr/lib/python2.4/commands.py", line 53, in getstatusoutput
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
OSError: [Errno 38] Function not implemented
-------------------------------------------------------------------------------
[[ (2/3) Updating portage ]]
Traceback (most recent call last):
File "/usr/bin/emerge", line 27, in ?
import portage
File "/usr/lib/portage/pym/portage.py", line 98, in ?
from portage_data import ostype, lchown, userland, secpass, uid, wheelgid, \
File "/usr/lib/portage/pym/portage_data.py", line 106, in ?
mystatus, myoutput = getstatusoutput("id -G portage")
File "/usr/lib/python2.4/commands.py", line 53, in getstatusoutput
pipe = os.popen('{ ' + cmd + '; } 2>&1', 'r')
OSError: [Errno 38] Function not implemented |
|
|
Back to top |
|
|
Polynomial-C Retired Dev
Joined: 01 Jun 2003 Posts: 1432 Location: Germany
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Wed Dec 10, 2008 2:55 pm Post subject: |
|
|
I have sys-libs/glibc-2.9 working fine here, but I am running ~ARCH globally. I don't think it would be a good choice for people on stable Gentoo systems.
emerge --info: | Portage 2.2_rc17 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.28-rc7 x86_64)
=================================================================
System uname: Linux-2.6.28-rc7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6400+-with-gentoo-2.0.0
Timestamp of tree: Mon, 08 Dec 2008 16:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash: 3.2_p48
dev-lang/python: 2.6-r5
dev-util/cmake: 2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc: 0.3.0-r1
sys-apps/sandbox: 1.2.18.1-r3
sys-devel/autoconf: 2.13, 2.63
sys-devel/automake: 1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils: 2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 2.2.6a
virtual/os-headers: 2.6.27-r2
ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64-sse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon64-sse3 -pipe"
DISTDIR="/root/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 bzip2 cairo cracklib cups curl cxx dbus dri dts dvd encode fbcon ffmpeg flac fortran gdbm gif glitz gpm hal ithreads jpeg lcms midi mmx mmxext mp2 mp3 mpeg multilib ncurses nls nptl nsplugin offensive ogg opengl openmp pam pcre pdf png ppds pulseaudio readline samba slang spell sse sse2 sse3 ssl svg threads tiff udev unicode usb vorbis xorg xscreensaver xulrunner xv xvid zeroconf zlib" 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
|
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Fri Dec 12, 2008 2:09 pm Post subject: |
|
|
Well, compiling glibc-2.8 first, then 2.9 worked perfectly.
Just had to modify my script a little:
Code: | emerge binutils
emerge =sys-libs/glibc-2.8_p20080602
USE="-fortran" emerge =sys-devel/gcc-4.1.2
cd /usr/portage/scripts
./bootstrap.sh # This updates glibc-2.8 to 2.9 along with gcc-4.1.2 to 4.3.2
emerge --oneshot --nodeps python # This updates Python to 2.5
/usr/sbin/python-updater
emerge --unmerge =dev-lang/python-2.4.4-r13 # Gets rid of the old Python
/usr/sbin/python-updater
emerge perl # Installs Perl with ALL of the right modules
emerge help2man # Required my a package somewhere in emerge system
emerge -e system |
I am using ' ACCEPT_KEYWORDS="~x86" ' on all of my boxes. The above compiles perfectly for a Stage1. |
|
Back to top |
|
|
gringo Advocate
Joined: 27 Apr 2003 Posts: 3793
|
Posted: Fri Dec 12, 2008 2:36 pm Post subject: |
|
|
Quote: | I have sys-libs/glibc-2.9 working fine here, but I am running ~ARCH globally. |
yeah, i expected some breakage here and there but it works just fine so far. Running ~arch too.
cheers _________________ Error: Failing not supported by current locale |
|
Back to top |
|
|
pdw_hu Apprentice
Joined: 02 Jun 2008 Posts: 200 Location: Budapest, Hungary
|
Posted: Fri Dec 12, 2008 2:46 pm Post subject: |
|
|
Fine here also. Though really don't want to emerge -e world as i've just did it a week ago :) |
|
Back to top |
|
|
alex.blackbit Advocate
Joined: 26 Jul 2005 Posts: 2397
|
Posted: Fri Dec 12, 2008 2:50 pm Post subject: |
|
|
no problems seen so far on my ~amd64 and ~x86 systems. |
|
Back to top |
|
|
hunky l33t
Joined: 19 Nov 2003 Posts: 910 Location: Alaska
|
Posted: Fri Dec 12, 2008 8:59 pm Post subject: |
|
|
this may be a bit off topic but I was having a problem which led me to this thread. I've been running some photo slide scanning software (proprietary) and when I updated to the latest version it fails to start with this error:
Code: | ~/Opt/Vuescan85/VueScan $ ./vuescan
./vuescan: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./vuescan)
./vuescan: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./vuescan)
|
I'm running maybe half or more stable (have several packages keyworded), but I see I'm using glibc-2.6.1. And libstdc++-3.3 if that somehow is affecting the first line up there.
This was just a tarball that I unpacked and is supposedly ready to use without making. I've kept the older version so can use it if I can't resolve the new problem.
I see there is still a glibc-2.7-r2 ebuild as well as some 2.8 ebuilds in portage. Just no idea if I would break something upgrading - same with the libstdc++.
cheers, JD |
|
Back to top |
|
|
Simba7 l33t
Joined: 22 Jan 2007 Posts: 706 Location: Billings, MT, USA
|
Posted: Fri Dec 12, 2008 9:17 pm Post subject: |
|
|
hunky wrote: | this may be a bit off topic but I was having a problem which led me to this thread. I've been running some photo slide scanning software (proprietary) and when I updated to the latest version it fails to start with this error:
Code: | ~/Opt/Vuescan85/VueScan $ ./vuescan
./vuescan: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./vuescan)
./vuescan: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./vuescan)
|
I'm running maybe half or more stable (have several packages keyworded), but I see I'm using glibc-2.6.1. And libstdc++-3.3 if that somehow is affecting the first line up there.
This was just a tarball that I unpacked and is supposedly ready to use without making. I've kept the older version so can use it if I can't resolve the new problem.
I see there is still a glibc-2.7-r2 ebuild as well as some 2.8 ebuilds in portage. Just no idea if I would break something upgrading - same with the libstdc++.
cheers, JD |
Word of advice, if you're going ~ARCH on some packages, you might as well do ALL of them that way. I ended up doing that and don't really regret it. Haven't bumped into a problem yet.
You *MIGHT* have to recompile GCC, too. Actually, if you update glibc, you might as well do an "emerge -e world". Sorry. I could be wrong, though. |
|
Back to top |
|
|
hunky l33t
Joined: 19 Nov 2003 Posts: 910 Location: Alaska
|
Posted: Fri Dec 12, 2008 10:05 pm Post subject: |
|
|
well, I'm not totally opposed to going ~x86, and in fact am somewhat tempted. I generally like most of my apps to be keyworded, but don't care so much about the underlying system as I want that to be good and stable. I'm running kde-crazy overlay now and the pro-audio overlay so am not adverse to mucking around. If one were to switch to ~ARCH from stable, I wonder if there should be some packages masked out or do you just accept them all? I suppose this is too far off topic and will scan the forums a bit about the subject - but maybe someone has a resource to point me towards.
cheers, jd |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21624
|
Posted: Sat Dec 13, 2008 5:28 am Post subject: |
|
|
hunky wrote: | this may be a bit off topic but I was having a problem which led me to this thread. I've been running some photo slide scanning software (proprietary) and when I updated to the latest version it fails to start with this error:
Code: | ~/Opt/Vuescan85/VueScan $ ./vuescan
./vuescan: /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by ./vuescan)
./vuescan: /lib/libc.so.6: version `GLIBC_2.7' not found (required by ./vuescan)
|
I'm running maybe half or more stable (have several packages keyworded), but I see I'm using glibc-2.6.1. And libstdc++-3.3 if that somehow is affecting the first line up there.
|
If I am reading that output correctly, vuescan was linked with glibc 2.7 and a different version of g++ than the one that your system is selecting by default. You will need to obtain a version compiled with an older glibc, or you will need to upgrade your glibc to at least 2.7. I do not know offhand what version of g++ ships GLIBCXX_3.4.9, but you will need to find and install that version as well. |
|
Back to top |
|
|
rsa4046 l33t
Joined: 07 Feb 2005 Posts: 660 Location: The Big H, a bit SSW
|
Posted: Thu Dec 18, 2008 1:28 pm Post subject: |
|
|
Upgrading to glibc-2.9 broke xauth for me, meaning ssh X11 forwarding no longer worked. After downgrading from glibc-2.9_p20081201 back to glibc-2.8_p20080602-r1, X11 forwarding returned (see this thread and this bug report). _________________ I love gentoo, but I am certainly no guru, despite what it says above. |
|
Back to top |
|
|
Sash n00b
Joined: 31 Oct 2002 Posts: 9 Location: Germany
|
Posted: Thu Dec 18, 2008 5:36 pm Post subject: |
|
|
My experience from glibc-2.9: do NOT install it.
I tried it on 4 machines, had to downgrade them all to 2.8 (patching ebuild, masking and remerging glibc).
On 2 gentoo hardened machines, pthread_create didn't work anymore, which caused a lot of apps to crash/misbehave.
On 2 others several apps crashed in strncasestr functions (one of the changes from 2.8 to 2.9)
I tried deifferent compilers, all the same.
My conclusion: mask it in /etc/portage/package.mask to prevent accidental installs. |
|
Back to top |
|
|
loki_val Retired Dev
Joined: 13 Nov 2006 Posts: 418 Location: Denmark
|
Posted: Thu Dec 18, 2008 5:48 pm Post subject: |
|
|
Do not touch glibc-2.9 unless you like pain. |
|
Back to top |
|
|
StringCheesian l33t
Joined: 21 Oct 2003 Posts: 887
|
Posted: Thu Dec 18, 2008 9:53 pm Post subject: |
|
|
glibc 2.9 has been painless so far on my home desktop with KDE 4.2 svn on ~x86.
Should I still downgrade?
What were the 2 apps that crashed in strncasestr, Sash? |
|
Back to top |
|
|
Sash n00b
Joined: 31 Oct 2002 Posts: 9 Location: Germany
|
Posted: Thu Dec 18, 2008 10:29 pm Post subject: |
|
|
@StringCheesian:
It was mc (midnight commander), segfault directly at start if run as root (as normal user it worked), but pressing F3/F4 (the internal viewer/editor), nothing happended
the other one was an internal commandline app.
I didn't investigate much, I just downgraded and this fixed both apps without recompiling. _________________ Don't let the profile status fool you, I know what I'm doing (mostly). Proud gentoo user sine gentoo 1.0 (August 2002), seen all, done most things |
|
Back to top |
|
|
appelgebak Apprentice
Joined: 12 Sep 2004 Posts: 225 Location: Ruhrpott
|
Posted: Sun Jan 04, 2009 11:48 am Post subject: Anyyone tried 2.9_p20081201-r1?? |
|
|
Sash wrote: | @StringCheesian:
It was mc (midnight commander), segfault directly at start if run as root (as normal user it worked), but pressing F3/F4 (the internal viewer/editor), nothing happended
the other one was an internal commandline app.
I didn't investigate much, I just downgraded and this fixed both apps without recompiling. |
Hi, same problem with mc here, run in chaos just before xmas.
Downgrading killed my system, so i had to recover from backup.
Perhaps this probs are gone with the "-r1". Anyone tried this??
Appel |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|