Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Downgrading glibc on an alpha
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
mjrosenb
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jun 2006
Posts: 115
Location: CMU

PostPosted: Tue Feb 27, 2007 11:55 am    Post subject: Downgrading glibc on an alpha Reply with quote

This may be a silly problem, but it is stupid o'clock. My alpha stopped booting sometime in the last week, and now that I have something off the live cd, glibc has been masked, and wants to downgrade. Seeing as how the machine currently doesn't boot, I'd like to try downgrading, but portage refuses to let me do so. Any easy way to do this?
_________________
I'll be mjrosenb on #${COMPUTER_RELATED_SUBJECT}
1x i386 laptop w/ Gentoo
4x i386 desktop w/ Gentoo
2x dual proc i386 w/dragonfly bsd
1x x86-64 desktop w/ Gentoo
1x i386 desktop w/ FreeBSD
1x alpha workstation w/ Gentoo
looking for more
Back to top
View user's profile Send private message
KiberGus
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 81
Location: Moskow, Russia

PostPosted: Tue Feb 27, 2007 12:34 pm    Post subject: Reply with quote

Portage says true. Thre is a way to downgrade glibc, but this would brake your system.
Copy all your system files, then use this script:
Code:

#!/bin/bash
CBUILD=$(portageq envvar CHOST)
PORTAGE_CONFIGROOT="/"
if [[ "$1" == "--root" ]] ; then
    ROOT="$2"
    shift 2
else
    ROOT="$SYSROOT"
fi
export CBUILD PORTAGE_CONFIGROOT ROOT
 LDFLAGS="-l/usr/armv5tel-gnueabi-linux-gnu/usr/lib/ -l/usr/armv5tel-gnueabi-linux-gnu/lib/ -l/pda/lib -l/pda/usr/lib ${LDFLAGS}"

emerge $*

xmerge --root "path where you copied your system files" -C glibc
xmerge --root "path where you copied your system files" =glibc-needed glibc version

After this that copy would contain older glibc, however it may (must) not work. But using the same script you car rebuild world with older glibc.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures 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