
Yeah, I know what could happen and I won't blame anybody else than myself if something fails. I'm at emerge -e system on two machines right now and everything seems to work.amne wrote:If you don't but are aware what's possibly going to happen, give it a try.

yes, it's normal that all packages from system get recompiled in world, too. I think this is even wanted in case of a gcc-upgrade because this way your toolchain should be sane (means everything was compiled with the same set of tools which were compiled with the same compiler).Pajarico wrote:I did emerge -e system and then world, and many (all?) of the packages of system are being emerged again with world. Is that normal?
I'm afraid you forgotBarnoid wrote:For those of you who don't want to compile packages more than once run:[...]Code: Select all
# emerge -pe system | grep "^\[ebuild .*" | colrm 1 16 | sed "s/\[.*//" | sed "s/USE.*//" | sed "s/.*/=\0/" > system.list # emerge -pe world | grep "^\[ebuild .*" | colrm 1 16 | sed "s/\[.*//" | sed "s/USE.*//" | sed "s/.*/=\0/" | grep -vFf system.list > world.list # emerge --oneshot --nodeps `cat system.list world.list`
Code: Select all
sed "s/LINGUAS.*//"Thanks. I had this thread open in a window and didn't update it in a few hours, so I didn't see previous responses about the issue.Polynomial-C wrote:yes, it's normal that all packages from system get recompiled in world, too. I think this is even wanted in case of a gcc-upgrade because this way your toolchain should be sane (means everything was compiled with the same set of tools which were compiled with the same compiler).Pajarico wrote:I did emerge -e system and then world, and many (all?) of the packages of system are being emerged again with world. Is that normal?
Cheers
Poly-C
It does not work very well for me. It leaves a bracket "]" after the "=" sign:Barnoid wrote:will compile many packages twice which is a complete waste of time.Code: Select all
# emerge -e system # emerge -e world
For those of you who don't want to compile packages more than once run:
On my desktop, this saves me double compilation of over 100 packages.Code: Select all
# emerge -pe system | grep "^\[ebuild .*" | colrm 1 16 | sed "s/\[.*//" | sed "s/USE.*//" | sed "s/.*/=\0/" > system.list # emerge -pe world | grep "^\[ebuild .*" | colrm 1 16 | sed "s/\[.*//" | sed "s/USE.*//" | sed "s/.*/=\0/" | grep -vFf system.list > world.list # emerge --oneshot --nodeps `cat system.list world.list`
Cheers,
Barnoid
Code: Select all
# less system.list
=] sys-libs/zlib-1.2.3
=] sys-libs/gpm-1.20.1-r5
=] sys-libs/ncurses-5.5-r2
=] app-shells/bash-3.1_p16
= ] sys-libs/readline-5.1_p4
= ] virtual/libiconv-0
...

Code: Select all
Tue Apr 18 13:51:31 2006 >>> sys-devel/gcc-3.4.6-r1
merge time: 21 minutes and 45 seconds.
Thu Aug 31 12:18:39 2006 >>> sys-devel/gcc-4.1.1
merge time: 1 hour, 1 minute and 2 seconds.No one will be able to tell you for sure, so i'll just link to wolf31o2's post again.swimmer wrote:Amne: does it any harm if you don't compile those packages twice? I mean - it is still a complete 'emerge -e' of system & world ...
OK It is good to have a sane toolchain for compiling world, but are the recompilations necessary ?Polynomial-C wrote:yes, it's normal that all packages from system get recompiled in world, too. I think this is even wanted in case of a gcc-upgrade because this way your toolchain should be sane (means everything was compiled with the same set of tools which were compiled with the same compiler).Pajarico wrote:I did emerge -e system and then world, and many (all?) of the packages of system are being emerged again with world. Is that normal?
Cheers
Poly-C
Yes.Orific wrote:OK It is good to have a sane toolchain for compiling world, but are the recompilations necessary ?
Code: Select all
glibc-2.4 is nptl-only!
NPTL requires a CHOST of i486 or betterCode: Select all
emerge gcc glibc
emerge -e system
emerge -e world
Changing CHOST can be a bit troublesome, but i hope/assume that should work fine.Weedman wrote:Would something like this make sense?Code: Select all
emerge gcc glibc emerge -e system emerge -e world
So you edited the CHOST setting? I just had to clarify that.psic wrote:Hi, weedman, the same thing happened to me, basically, I edited the make.conf, re-emerged gcc, followed all of the steps in the upgrade guide (the gcc-config, the source /etc/profile, etc.), and am now running 'emerge -ev sistem', which is (so far) going well.
Thanks. This is my first time at doing something like this (as in involved, and serious), even if I have used Gentoo since late last year.amne wrote:Changing CHOST can be a bit troublesome, but i hope/assume that should work fine.
OK. But it is frustrating for people with slow machines (like meamne wrote:Yes.Orific wrote:OK It is good to have a sane toolchain for compiling world, but are the recompilations necessary ?
I agree with the troublesome part... I did it once, without problems, but it is better to take a look at this post before.amne wrote:Changing CHOST can be a bit troublesome, but i hope/assume that should work fine.

Headrush wrote:Is it safe to assume that the stage tarballs for 2006.1 I see on the mirrors has been compiled with gcc-4.1.1?
Code: Select all
gcc --verhmm.., then your emerge -p format differs. Simply cut away two more columns (i.e. 'colrm 1 18' instead of 'colrm 1 16'), and you should be fine.It does not work very well for me. It leaves a bracket "]" after the "=" sign:Code: Select all
# less system.list =] sys-libs/zlib-1.2.3 =] sys-libs/gpm-1.20.1-r5 =] sys-libs/ncurses-5.5-r2 =] app-shells/bash-3.1_p16 = ] sys-libs/readline-5.1_p4 = ] virtual/libiconv-0 ...
Code: Select all
# emerge -pe system | grep "^\[ebuild .*" | colrm 1 16 | sed "s/\[.*//" | sed "s/USE.*//" | sed "s/LINGUAS.*//" | sed "s/.*/=\0/" > system.list
# emerge -pe world | grep "^\[ebuild .*" | colrm 1 16 | sed "s/\[.*//" | sed "s/USE.*//" | sed "s/LINGUAS.*//" | sed "s/.*/=\0/" | grep -vFf system.list > world.list
# emerge --oneshot --nodeps `cat system.list world.list`
Code: Select all
emerge -ep world|cut -d] -f2|cut -d" " -f2|grep /|sed -e s/^/=/ > pkglst
in this case I getsetenv LD_ASSUME_KERNEL 2.4.1
Code: Select all
gian@mir> ldd /..../myapplication.exe
linux-gate.so.1 => (0xffffe000)
libXt.so.6 => /usr/lib/libXt.so.6 (0xb7f3e000)
libX11.so.6 => /usr/lib/libX11.so.6 (0xb7e4f000)
libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e41000)
libg2c.so.0 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libg2c.so.0 (0xb7e1e000)
libdl.so.2 => /lib/libdl.so.2 (0xb7e1a000)
libm.so.6 => /lib/libm.so.6 (0xb7df8000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7de3000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7d91000)
librt.so.1 => /lib/librt.so.1 (0xb7d7d000)
libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/libstdc++.so.5 (0xb7cc7000)
libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/libgcc_s.so.1 (0xb7cbe000)
libc.so.6 => /lib/libc.so.6 (0xb7ba8000)
libSM.so.6 => /usr/lib/libSM.so.6 (0xb7b9f000)
libICE.so.6 => /usr/lib/libICE.so.6 (0xb7b87000)
libXau.so.6 => /usr/lib/libXau.so.6 (0xb7b84000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7b7e000)
/lib/ld-linux.so.2 (0xb7fb1000)
Code: Select all
gian@mir> myapplication.exe
/.../myapplication.exe: relocation error: /.../myapplication.exe: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference

No you don't have to clear CCACHE, the cached code is indexed by (amongst other things) the timestamp of the complier binaryJohnerH wrote:I had a moment of noobishness...
CCACHE.... We have to reset it right?
I seem to recall that after each gcc version upgrade I had to reset it.
Thanks in advance,
J