Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Other Things Gentoo
  • Search

WARNING: prelink and glibc-2.13 update

Still need help with Gentoo, and your question doesn't fit in the above forums? Here is your last bastion of hope.
Post Reply
Advanced search
47 posts
  • Previous
  • 1
  • 2
Author
Message
Naib
Watchman
Watchman
User avatar
Posts: 6101
Joined: Fri May 21, 2004 9:42 pm
Location: Removed by Neddy
Contact:
Contact Naib
Website

  • Quote

Post by Naib » Tue Feb 08, 2011 1:14 am

WOW I am so glad I removed prelink last month... was causing issues with 64bit 3D applications. prelink would be linking in the 32bit libs from nvidia...
#define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0;
Top
HolgerH
n00b
n00b
Posts: 16
Joined: Sun Mar 02, 2008 10:03 pm

  • Quote

Post by HolgerH » Tue Feb 08, 2011 1:20 am

SoLoR wrote:glibc-2.13 also breaks postfix for me...
..
reverting glibc back to 2.12.2 and problem is gone.
Same here. May I ask how you downgraded? I read the various guides and just like the ebuild safety-check they all contain unhelpful panic warnings without actually saying what the problems are.
I haven't emerged anything since glibc, so is it just a matter of editing the 2.12.2 ebuild to disable the check, updating the manifest & emerging?

thanks.
Top
rhill
Retired Dev
Retired Dev
User avatar
Posts: 1629
Joined: Fri Oct 22, 2004 9:58 am
Location: sk.ca

  • Quote

Post by rhill » Tue Feb 08, 2011 5:54 am

you can run

Code: Select all

ROOT="/../" emerge -av1 =glibc-2.12.2
to get around the downgrade check.
by design, by neglect
for a fact or just for effect
Top
vdracula
n00b
n00b
User avatar
Posts: 51
Joined: Tue Aug 03, 2004 3:09 pm
Location: NGC 5907

  • Quote

Post by vdracula » Tue Feb 08, 2011 6:00 am

After restoring my system back to normal, did a prelink -au.

Since then, everything o.k. here. No problems at all.

One have to be carefull with all kind of optimizations...
Top
yoshi314
l33t
l33t
User avatar
Posts: 852
Joined: Thu Dec 30, 2004 9:33 pm
Location: PL
Contact:
Contact yoshi314
Website

  • Quote

Post by yoshi314 » Tue Feb 08, 2011 7:08 am

NightMonkey wrote:Welcome to unstable, everyone. :)
it's well beyond unstable, in that case.

i can understand an apps failing on unstable, but the whole system ? that stuff belongs to hard masked packages.

whoever is responsible for that critical system component really messed up.
~amd64
Top
HolgerH
n00b
n00b
Posts: 16
Joined: Sun Mar 02, 2008 10:03 pm

  • Quote

Post by HolgerH » Tue Feb 08, 2011 10:01 am

dirtyepic wrote:you can run

Code: Select all

ROOT="/../" emerge -av1 =glibc-2.12.2
to get around the downgrade check.
Nope, didn't work for me. Could be me using zsh though. Anyway just editing the ebuild and rebuilding worked fine, postfix is back up & running.
Top
FireBurn
Apprentice
Apprentice
Posts: 170
Joined: Sun Sep 19, 2004 3:00 pm
Location: Edinburgh, UK

  • Quote

Post by FireBurn » Tue Feb 08, 2011 11:31 am

yoshi314 wrote:
NightMonkey wrote:Welcome to unstable, everyone. :)
it's well beyond unstable, in that case.

i can understand an apps failing on unstable, but the whole system ? that stuff belongs to hard masked packages.

whoever is responsible for that critical system component really messed up.
Considering I gave a heads up to the committer within hours of the ebuild going live I'm angry at the length of time to took for something to be done

I got an email back with in an hour telling me that email wasn't the way to communicate bugs
Top
Xenoist
n00b
n00b
User avatar
Posts: 26
Joined: Wed Aug 21, 2002 7:27 am
Location: EU/DE/NRW/NEUSS
Contact:
Contact Xenoist
Website

to go back to glibc-2.12.2 use this

  • Quote

Post by Xenoist » Tue Feb 08, 2011 3:55 pm

Sanity check is in /usr/portage/sys-libs/glibc/files/eblits/pkg_setup.eblit

So set # like here:

# eerror "Sanity check to keep you from breaking your system:"
# eerror " Downgrading glibc is not supported and a sure way to destruction"
# die "aborting to save your system"

ebuild /usr/portage/sys-libs/glibc/sys-libs/glibc-2.12.2.ebuild digest

echo "=sys-libs/glibc-2.13*" >> /etc/portage/package.mask

emerge -av1 =sys-libs/glibc-2.12.2

But i think that will be a bad option.

I will try it with complete rebuild on a 64bit environment in chroot.

Don't forget to enable the check again in /usr/portage/sys-libs/glibc/files/eblits/pkg_setup.eblit and do a ebuild /usr/portage/sys-libs/glibc/sys-libs/glibc-2.12.2.ebuild digest.
Last edited by Xenoist on Tue Feb 08, 2011 10:11 pm, edited 1 time in total.
Once live is to short to learn all, but keep trying it.

"emerge the world" every day!
Top
musv
Advocate
Advocate
User avatar
Posts: 3380
Joined: Sun Dec 01, 2002 4:13 pm
Location: de

Re: WARNING: updating to glibc-2.13 w/prelink hoses system

  • Quote

Post by musv » Tue Feb 08, 2011 7:36 pm

Yes, I can confirm this. It's working (the segfaults). :evil:
Odysseus wrote:If you're running a ~ arch, DO NOT update to glibc-2.13 if you have prelink installed!!! It will completely hose your box!!! I just spent several hours trying to recover from this bug http://bugs.gentoo.org/show_bug.cgi?id=353814
---> afk for several hours. Downgrading glibc.
Top
rich0
Retired Dev
Retired Dev
Posts: 163
Joined: Sun Sep 15, 2002 2:35 am

  • Quote

Post by rich0 » Tue Feb 08, 2011 7:39 pm

FireBurn wrote:
I got an email back with in an hour telling me that email wasn't the way to communicate bugs
Well, for a bug of this magnitude i'd probably suggest bugzilla plus email plus irc plus a process server... :)

Granted devs have day jobs too, but escalating this was not inappropriate...
Top
musv
Advocate
Advocate
User avatar
Posts: 3380
Joined: Sun Dec 01, 2002 4:13 pm
Location: de

  • Quote

Post by musv » Tue Feb 08, 2011 9:02 pm

I didn't figure out how to downgrade glibc because of sanity check.

So I deinstalled prelink temporary. I hope there will be a patch soon.
Top
rhill
Retired Dev
Retired Dev
User avatar
Posts: 1629
Joined: Fri Oct 22, 2004 9:58 am
Location: sk.ca

  • Quote

Post by rhill » Tue Feb 08, 2011 11:22 pm

HolgerH wrote:
dirtyepic wrote:you can run

Code: Select all

ROOT="/../" emerge -av1 =glibc-2.12.2
to get around the downgrade check.
Nope, didn't work for me. Could be me using zsh though. Anyway just editing the ebuild and rebuilding worked fine, postfix is back up & running.
Me neither actually. I guess portage is smart enough to rewrite it to "/".
by design, by neglect
for a fact or just for effect
Top
crculver
n00b
n00b
Posts: 17
Joined: Tue Mar 02, 2004 10:42 am
Contact:
Contact crculver
Website

  • Quote

Post by crculver » Wed Feb 09, 2011 1:10 am

Is there any fix for postfix with this glibc? I've recompiled a fair bit of my system since the glibc upgrade and I'm afraid to revert to the previous version of glibc.

Incidentally, wouldn't finally updating the version of kernel-headers in Portage and then recompiling glibc make for a more reliable system for those running recent kernels?
Top
Odysseus
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Wed Jun 23, 2004 3:46 am
Location: Miami, FL. I miss San Francisco!!!

  • Quote

Post by Odysseus » Thu Feb 10, 2011 10:37 am

crculver wrote:Is there any fix for postfix with this glibc? I've recompiled a fair bit of my system since the glibc upgrade and I'm afraid to revert to the previous version of glibc.

Incidentally, wouldn't finally updating the version of kernel-headers in Portage and then recompiling glibc make for a more reliable system for those running recent kernels?
Finish recompiling against the new glibc, but make sure that prelink is either disabled or removed from your system. It's far safer to just finish recompiling than downgrading to the previous version (unless you're willing to risk breaking your box). I know I wouldn't risk it myself, despite some of the posts here to the contrary.

Fixing the bugs with this new glibc release is probably one of the highest priorities for the maintainers at the moment. I noticed on bugzilla that they've setup a tracker to focus on eliminating them. So I'm sure that before long we'll either see an update to glibc or to the packages affected by it. Unless you can write code and are willing to contribute the only thing to do is wait and have patience.

Updating the kernel headers only matters if there is a new feature, driver or supported processor in the newer kernel that you need that isn't included in what you have installed. I've gone for well over a year before without updating kernel headers, while updating my kernel sources with each new release, with no negative effects. Where you really run into problems is if you update your headers to a newer version then your kernel sources. I did that once and found I couldn't compile a kernel until I updated my sources.

Most of the time when I see a new kernel header package in portage, I'll mask it until there is a gcc or glibc update, then unmask and recompile my world against both. This way I kill two birds with one stone. Who wants to be constantly recompiling their entire system? Not me.

I hope this helps

Ciao
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Thu Feb 10, 2011 6:06 pm

So far I haven't noticed any problems on my 1250sth packages system, so it seems to be rather safe with the known exceptions.
Top
Odysseus
Apprentice
Apprentice
User avatar
Posts: 250
Joined: Wed Jun 23, 2004 3:46 am
Location: Miami, FL. I miss San Francisco!!!

  • Quote

Post by Odysseus » Mon Feb 14, 2011 10:51 pm

Prelink is fixed now in glibc-2.13-r1 as per this bug report http://bugs.gentoo.org/show_bug.cgi?id=353814

I just resynced, updated to the new glibc version, reinstalled and enabled prelink, ran prelink -amR, and all worked as expected. I rebooted my system and it was noticeably faster as was starting KDE on my five year old ~x86 single-core Centrino notebook.

So it appears this has been resolved and I can confirm that things are back to normal now.

The issue appears to have been caused by the omission of this patch that RedHat had included in their build of glibc, that wasn't included in the officially released version. http://sourceware.org/git/?p=glibc.git; ... h=25b3aada

You can read more about it here on the Arch Linux forums https://bugs.archlinux.org/task/22656

So the OP can now mark this thread as "solved" and we can all go back to using prelink as before.

I hope this helps,

Ciao
Top
Hwoarang
Retired Dev
Retired Dev
User avatar
Posts: 701
Joined: Sat Feb 24, 2007 10:41 am
Location: Leeds, UK
Contact:
Contact Hwoarang
Website

  • Quote

Post by Hwoarang » Mon Feb 14, 2011 11:18 pm

Sadly skype is still broken so I had to dowgrade glibc everywhere :(
Top
HighOnBonsai
Apprentice
Apprentice
User avatar
Posts: 260
Joined: Mon Jan 05, 2004 10:20 am

  • Quote

Post by HighOnBonsai » Tue Feb 15, 2011 6:48 am

FYI: The issue with postfix (fatal: unable to determine open file limit) seems to be a kernel issue:

http://bugs.gentoo.org/354041 and http://git.kernel.org/?p=linux/kernel/g ... e1f7e91873

Strange, though, that the bug concides with an upgrade of glibc to 2.13. I will stay with <glibc-2.13 until the kernel patch arrives in portage.

Christopher

(Hugh, my first post since several years here...)
Are YOU high - on bonsai?
Top
duderonomy
Guru
Guru
Posts: 349
Joined: Sat Mar 20, 2004 7:51 pm
Location: SF Bay Area

  • Quote

Post by duderonomy » Fri Feb 18, 2011 12:02 pm

oh man. and I thought this was "just me". lol!
thank you, for this thread...
:D
Top
HighOnBonsai
Apprentice
Apprentice
User avatar
Posts: 260
Joined: Mon Jan 05, 2004 10:20 am

  • Quote

Post by HighOnBonsai » Sat Feb 26, 2011 9:10 am

Kernel 2.6.37-gentoo-r1 now contains the Patch which should fix the issue wie Postfix. Will now upgrade to the new kernel and glibc... Hope it works...

Christopher
Are YOU high - on bonsai?
Top
iaindb
n00b
n00b
User avatar
Posts: 19
Joined: Wed Jun 30, 2004 7:06 am

  • Quote

Post by iaindb » Thu Mar 03, 2011 2:22 am

SoLoR wrote: im trying to recompile whole system with new glibc to see if it fixed my postfix issue, but it will take a while...
any luck SoLoR? same issue here!
Top
HighOnBonsai
Apprentice
Apprentice
User avatar
Posts: 260
Joined: Mon Jan 05, 2004 10:20 am

  • Quote

Post by HighOnBonsai » Thu Mar 03, 2011 6:40 am

With 2.6.37-gentoo-r1 and glibc-2.13-r1 postfix now works for me.

Christopher
Are YOU high - on bonsai?
Top
Post Reply

47 posts
  • Previous
  • 1
  • 2

Return to “Other Things Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic