Warning about emerge update / glibc


3 posts
by n_K » Sun Jun 24, 2012 6:20 pm
There's a known problem with glibc2.13-2.14 that is only fixed in glibc2.15 and above which is only available for x86 and x86_64 testing ~ branches.
Things like ssh, scp etc. will give errors with getpagesize.c

I'm part the way through a full update and will see what happens if openSSH is re-emerged after it's all updated but it's probably best NOT to update glibc becuase it will break quite a few programs
Posts: 10
Joined: Mon Jun 18, 2012 9:04 pm
by n_K » Mon Jun 25, 2012 5:33 pm
Emerging openSSH 5.x fails due to a bug with it not being about to find openSSL files (there's a patch to fix it that's applied that obviously doesn't work) but adding openSSH to the ~arm testing branch gets openSSH 6.0 which compiles fine and doesn't have the getpagesize.c error!
Posts: 10
Joined: Mon Jun 18, 2012 9:04 pm
by torsti76 » Mon Jul 16, 2012 4:57 pm
As of 20120628 there's a new stage3 tarball for armv6j-hardfloat, which already ships with glibc-2.14.1-r3. Upgrading to a (previously keyword-unmasked) glibc-2.15-r2 and gcc-4.7.1 worked flawlessly for me.
gcc-4.6+ has the benefit of delivering the new -Ofast optimization level, which should give some performance boost, while glibc-2.15 has a smaller binary size than 2.14, which should save some precious bits of RAM.

Upgrading can be (relatively) safely done by re-bootstrapping via
Code: Select all
/usr/portage/scripts/bootstrap.sh

followed by a (rather lengthy) emerge -ev world.
Posts: 31
Joined: Thu Jun 07, 2012 11:27 am
Location: Germany