Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
downgrade glibc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 423

PostPosted: Thu Dec 20, 2007 4:47 pm    Post subject: downgrade glibc Reply with quote

Hi!

I tried to downgrade glibc-2.6.1 to the "latest" 2.5 version. Question is how...
Is there a "proofed" way to safely downgrade glibc? (Also perhaps dangerous or comlicated way...)

Of course I searched the forums and know of the build-in blocker for current glibcs regarding downgrades.

Would it be possible to copy the old glibc and put the dirs in the ldpath? Or is the dynamic linker/loader then broken aswell?

Reinstall is no option!
_________________
System: AMD Phenom II X4 840, 16GB RAM, NVidia GeForce GT 520, ASUS M4A87TD/USB3, Raid, Seagate Constellation ES
AMD64 system slow/unresponsive during disk access...
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7301
Location: Groton, Massachusetts USA

PostPosted: Thu Dec 20, 2007 6:45 pm    Post subject: Re: downgrade glibc Reply with quote

lagalopex wrote:
I tried to downgrade glibc-2.6.1 to the "latest" 2.5 version. Question is how...

No, the real question is why ?

There probably is some complicated way to downgrade glibc, but reinstalling would be easier and faster.
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Sat Dec 22, 2007 6:17 am    Post subject: Reply with quote

I've done it in the past, trust me... Reinstall... It will save you days... End result will probably be a new install anyhow because your system ends up broken...

If you must know, you need to start out building a new downgraded toolchain... then you have to rebuild that toolchain with that toolchain... Then you pretty much do the same steps as changing your chost...

http://gentoo-wiki.com/HOWTO_change_CHOST_relatively_safely
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 423

PostPosted: Mon Dec 24, 2007 2:09 am    Post subject: Reply with quote

Well, I now tried it.

I quickpkg'ed glibc, unpacked it to /opt/glibc , added the paths (/opt/glibc/lib:/opt/glibc/lib64:/opt/glibc/usr/lib64:/opt/glibc/lib32:/opt/glibc/usr/lib32) to $LDPATH and ran env-update, sourced /etc/profile.
After that I masked newer glibc and downgraded from 2.6.1 to 2.5-r4. Than I rebuilt system twice and world once.

Worked like a charme.

I tried to check for some problems... unfortunatelly I'll need to downgrade to 2.4-r4... ;)
_________________
System: AMD Phenom II X4 840, 16GB RAM, NVidia GeForce GT 520, ASUS M4A87TD/USB3, Raid, Seagate Constellation ES
AMD64 system slow/unresponsive during disk access...
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Mon Dec 24, 2007 8:34 pm    Post subject: Reply with quote

You're the third person I've seen ask about downgrading after I needed to do it. Perhaps a guide needs to be made.
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
lagalopex
Guru
Guru


Joined: 16 Oct 2004
Posts: 423

PostPosted: Sun Dec 30, 2007 2:42 am    Post subject: Reply with quote

The downgrade to 2.4-r4 worked as well.
_________________
System: AMD Phenom II X4 840, 16GB RAM, NVidia GeForce GT 520, ASUS M4A87TD/USB3, Raid, Seagate Constellation ES
AMD64 system slow/unresponsive during disk access...
Back to top
View user's profile Send private message
SLBMEH
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 299
Location: Pittsburgh, PA

PostPosted: Sat Jan 19, 2008 9:56 pm    Post subject: Reply with quote

I added an entry to the wiki.
_________________
Steve - Semper Fi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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