Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Major upgrades on ppc (stable)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Pylon
Retired Dev
Retired Dev


Joined: 17 Jan 2003
Posts: 279
Location: Cologne

PostPosted: Sat Jul 01, 2006 11:02 am    Post subject: Major upgrades on ppc (stable) Reply with quote

With today, stable users will find gcc-4.1.1, glibc-2.4 and xorg-7.1 on their ppc.

Please have a look into http://www.gentoo.org/doc/en/gcc-upgrading.xml on how to upgrade gcc and http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml for upgrading xorg.
_________________
hacking is not a crime
Back to top
View user's profile Send private message
turtles
Veteran
Veteran


Joined: 31 Dec 2004
Posts: 1353

PostPosted: Sat Jul 01, 2006 3:00 pm    Post subject: Reply with quote

If you upgrade gcc you will have to recompile everything including kernel, if you follow the x org upgrade you will unmerge x and get zaped out to a command line.
Is it safer to make a new live cd (assuming with the new gcc is on it) and use it to make new kernel next to old and keep your current systems working.
_________________
Donate to Gentoo
Back to top
View user's profile Send private message
Pylon
Retired Dev
Retired Dev


Joined: 17 Jan 2003
Posts: 279
Location: Cologne

PostPosted: Sat Jul 01, 2006 3:04 pm    Post subject: Reply with quote

We are working on the 2006.1 release. That these applications are stable is one of the results you already can see.
_________________
hacking is not a crime
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Mon Jul 03, 2006 1:56 pm    Post subject: Reply with quote

turtles wrote:
If you upgrade gcc you will have to recompile everything including kernel, if you follow the x org upgrade you will unmerge x and get zaped out to a command line.
Is it safer to make a new live cd (assuming with the new gcc is on it) and use it to make new kernel next to old and keep your current systems working.


Why is it safer to use a Live CD for recompiling the kernel? My system had no trouble upgrading everything on-the-fly.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
namo
n00b
n00b


Joined: 29 Jun 2004
Posts: 28
Location: Berkeley

PostPosted: Mon Jul 03, 2006 2:44 pm    Post subject: Reply with quote

I was already at gcc-4.1.1 and xorg-7.1, but I still hesitate for glibc-2.4 : are there good reasons to upgrade ? I suppose a reemerge of world is needed afterwards ?
glibc is so critical that I would like to get some reassurance before making the jump. Also I apparently need the 2.6.16 headers to benefit fully from inotify, so I'd like them to compile glibc against them - but ehy're not keyworded. Any insight on the subject ?

Thanks !
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Mon Jul 03, 2006 3:05 pm    Post subject: Reply with quote

Quote:

glibc is so critical that I would like to get some reassurance before making the jump.


With gcc-4.1.1, and a kernel compiled with gcc-4.1.1, I did the following with zero problems.
Code:

# quickpkg glibc
# emerge -B ~glibc-2.4
# emerge --usepkgonly ~glibc-2.4
# etc-update
# shutdown -r now


namo wrote:
I suppose a reemerge of world is needed afterwards ?

A good idea, but not strictly necessary IMHO. You could use revdep-rebuild to double-check, but I have yet to notice a broken app, even for those originally compiled with gcc-3.4* and glibc-2.3*.

namo wrote:
Also I apparently need the 2.6.16 headers to benefit fully from inotify, so I'd like them to compile glibc against them - but ehy're not keyworded.

If you use newer than 2.6.14 you're potentially in for some breakage of future compilations. 2.6.15 and 2.6.16 introduced some serious renaming of functions, etc.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
DirtyHairy
l33t
l33t


Joined: 03 Jul 2006
Posts: 608
Location: Würzburg, Deutschland

PostPosted: Mon Jul 03, 2006 3:35 pm    Post subject: updating glibc Reply with quote

Well, I'm still in the process of updating, but updating glibc to 2.4 worked for me without any trouble (after switching to gcc 4.1.1). I didn't do any binary package acrobatics; I simply did an "emerge -uDv world" and: voilà. I didn't notice anythink broken up to now (I already rebooted).
I am doing a revdep-rebuild for the c++ stuff now, since upgrading to gcc 4.1.1 broke KDE compiles (as expected :) ), so I still am not convinced that nothing is broken yet, but until now, everything is fine...
Back to top
View user's profile Send private message
namo
n00b
n00b


Joined: 29 Jun 2004
Posts: 28
Location: Berkeley

PostPosted: Mon Jul 03, 2006 4:04 pm    Post subject: Reply with quote

timotheus25 wrote:

If you use newer than 2.6.14 you're potentially in for some breakage of future compilations. 2.6.15 and 2.6.16 introduced some serious renaming of functions, etc.


I know... I was wondering if crazier people than me had done it

Thanks for your answers, I will probably make the switch - though if someone knowledgeable could tell the interesting changes from 2.3.6 to 2.4...
(I had a look at http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/libc/NEWS?rev=1.147.2.13&content-type=text/plain&cvsroot=glibc but from what I can tell the only interesting part is the inotify stuff that needs the headers...)
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Tue Jul 18, 2006 3:24 am    Post subject: Reply with quote

Had many problems updating from a running system. Recommend installing either into new partition or from CD.
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Tue Jul 18, 2006 4:03 am    Post subject: Reply with quote

What kind of problems did you have? Most users didn't have too rough of a time upgrading.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
praveen
n00b
n00b


Joined: 08 Jun 2005
Posts: 43

PostPosted: Tue Jul 18, 2006 5:33 am    Post subject: Reply with quote

Upgraded to gcc4.1.1 and glibc2.4, recompiled Linux-2.6.17.3 with new gcc. Did not do emerge system or emerge world. No problem till now. Havent upgraded X though.
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Tue Jul 18, 2006 12:29 pm    Post subject: Reply with quote

Too many packages kept looking for gcc3 libraries and glibc-2.3. Had to uninstall gcc3 and rebuild system and packages. Prior to that revdep-rebuild would rebuild packages, but not fix problem.
Back to top
View user's profile Send private message
timotheus25
Apprentice
Apprentice


Joined: 27 Dec 2005
Posts: 162
Location: *upstate* New York, USA

PostPosted: Wed Jul 19, 2006 12:01 am    Post subject: Reply with quote

davidgurvich wrote:
Too many packages kept looking for gcc3 libraries and glibc-2.3. Had to uninstall gcc3 and rebuild system and packages. Prior to that revdep-rebuild would rebuild packages, but not fix problem.


When I started rebuilding C++ apps (including KDE), I had similar issues (if I understand you). Each time a package was rebuilt, new and old binaries would find more and more missing libstdc++ symbols, etc. In fact, new KDE binaries would be compiled with gcc4, but according to 'ldd', actually linked to gcc3.4, even though I had emerged libtool immediately after gcc4. To correct this, I used 'fix_libtool_files.sh' with every possible version, and then started over with my KDE rebuilding effort. See rebuilding c++ apps after gcc 4.1.1 update for exactly what fix this problem for me. YMMV.

Suggestion to developers: more loud messages that suggest that the user runs 'fix_libtool_files.sh'. It's easy to forget that the script is there, and can be as important as revdep-rebuild.
_________________
http://tstotts.net/linux/gentoopb.html
http://tstotts.net/linux/gentooinsp640m.html
Back to top
View user's profile Send private message
davidgurvich
Veteran
Veteran


Joined: 23 Apr 2004
Posts: 1063

PostPosted: Wed Jul 19, 2006 6:11 pm    Post subject: Reply with quote

I have missed many messages when using 'emerge world'. In cases where multiple files are emerged there should be a combined post-install message at the end.

fix_libtool_files.sh, while good, did not solve the errors. I had to uninstall the previous version of gcc, rebuild the toolchain, then use fix_libtool_files.sh and revdep-rebuild.

Using a clean install was simpler and took less time. Just needed to mount /home and fix any changes in /etc that conflicted with my previous settings.
Back to top
View user's profile Send private message
gm7uac
n00b
n00b


Joined: 17 Apr 2004
Posts: 57
Location: Glasgow

PostPosted: Thu Oct 26, 2006 10:23 pm    Post subject: help!!! Reply with quote

Hi, my current config is pasted below, I would like to update my system but since it took me 6 months to get a working system I am playing it safe
and not updating anything at the moment.
My system if an IBM RS6000 F50 with 4 332Mhz CPU's and 2 gig of RAM and runs great, would I see any benifits if I did update everything?

root@F50 ed # emerge --info
Portage 2.0.51.22-r2 (default-linux/ppc/2005.1/ppc, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.14-gentoo-r5--RS6000.F50-- ppc)
=================================================================
System uname: 2.6.14-gentoo-r5--RS6000.F50-- ppc 604r
Gentoo Base System version 1.6.12
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python: 2.3.5
dev-python/pycrypto: [Not Present]
dev-util/ccache: 2.3
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.90.0.3-r5
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.8.1-r4
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O5 -mtune=powerpc -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O5 -mtune=powerpc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X alsa apache2 audiofile berkdb bitmap-fonts bzip2 cli crypt cups curl directfb dlloader dri eds emboss esd exif expat fam fortran gd gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml idn imlib ipv6 isdnlog jpeg kde lcms libwww mad mng motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt qt3 qt4 readline reflection session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xfs xine xml2 xorg xv zlib input_devices_keyboard input_devices_mouse input_devices_evdev userland_GNU kernel_linux elibc_glibc"
Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
_________________
If all else fails RTFM.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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