View previous topic :: View next topic |
Author |
Message |
Pylon Retired Dev


Joined: 17 Jan 2003 Posts: 279 Location: Cologne
|
|
Back to top |
|
 |
turtles Veteran


Joined: 31 Dec 2004 Posts: 1620
|
Posted: Sat Jul 01, 2006 3:00 pm Post subject: |
|
|
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 |
|
 |
Pylon Retired Dev


Joined: 17 Jan 2003 Posts: 279 Location: Cologne
|
Posted: Sat Jul 01, 2006 3:04 pm Post subject: |
|
|
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 |
|
 |
timotheus25 Apprentice

Joined: 27 Dec 2005 Posts: 162 Location: *upstate* New York, USA
|
Posted: Mon Jul 03, 2006 1:56 pm Post subject: |
|
|
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 |
|
 |
namo n00b


Joined: 29 Jun 2004 Posts: 28 Location: Berkeley
|
Posted: Mon Jul 03, 2006 2:44 pm Post subject: |
|
|
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 |
|
 |
timotheus25 Apprentice

Joined: 27 Dec 2005 Posts: 162 Location: *upstate* New York, USA
|
Posted: Mon Jul 03, 2006 3:05 pm Post subject: |
|
|
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 |
|
 |
DirtyHairy l33t


Joined: 03 Jul 2006 Posts: 608 Location: Würzburg, Deutschland
|
Posted: Mon Jul 03, 2006 3:35 pm Post subject: updating glibc |
|
|
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 |
|
 |
namo n00b


Joined: 29 Jun 2004 Posts: 28 Location: Berkeley
|
Posted: Mon Jul 03, 2006 4:04 pm Post subject: |
|
|
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 |
|
 |
davidgurvich Veteran


Joined: 23 Apr 2004 Posts: 1063
|
Posted: Tue Jul 18, 2006 3:24 am Post subject: |
|
|
Had many problems updating from a running system. Recommend installing either into new partition or from CD. |
|
Back to top |
|
 |
JoseJX Retired Dev

Joined: 28 Apr 2002 Posts: 2774
|
|
Back to top |
|
 |
praveen n00b

Joined: 08 Jun 2005 Posts: 43
|
Posted: Tue Jul 18, 2006 5:33 am Post subject: |
|
|
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 |
|
 |
davidgurvich Veteran


Joined: 23 Apr 2004 Posts: 1063
|
Posted: Tue Jul 18, 2006 12:29 pm Post subject: |
|
|
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 |
|
 |
timotheus25 Apprentice

Joined: 27 Dec 2005 Posts: 162 Location: *upstate* New York, USA
|
Posted: Wed Jul 19, 2006 12:01 am Post subject: |
|
|
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 |
|
 |
davidgurvich Veteran


Joined: 23 Apr 2004 Posts: 1063
|
Posted: Wed Jul 19, 2006 6:11 pm Post subject: |
|
|
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 |
|
 |
gm7uac n00b

Joined: 17 Apr 2004 Posts: 57 Location: Glasgow
|
Posted: Thu Oct 26, 2006 10:23 pm Post subject: help!!! |
|
|
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 |
|
 |
|