

Code: Select all
checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking for correct ltmain.sh version... no
*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.20, ltmain.sh = 1.5.18) ***
Please run:
libtoolize --copy --force
if appropriate, please contact the maintainer of this
package (or your distribution) for help.
!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/anjuta-1.2.4/work/anjuta-1.2.4/config.log
Code: Select all
*** (libtool.m4 = 1.5.20, ltmain.sh = 1.5.18) *** It will be the standard compiler from now on (until a new compiler comes out), if you don't upgrade you may have problems getting support on the forums when packages fail to compile in the future.Proteus wrote: I don't really know a lot about compilers or GCC. Is there a page where things are described for dummies like me?
I only want to know if it is worth the time to recompile my whole system or if it is not important at all.
My mind circles around the following questions: Will this version be standard in the gentoo future? If not why not? Why did the devs chose
not to make it standard after it stabilized?
amne wrote:I just looked through the instructions. Why do you have to do *both* "emerge -e system" and "emerge -e world"?? Doesn't the "emerge -e world" emerge both system and the packages you've added onto system? It looks to me like you're emerging "system" twice!!
This was not just hinted at but I answered it in full here: https://forums.gentoo.org/viewtopic-p-2 ... ml#2925003NoControl wrote:Sorry for asking this while it was hinted at before, but I think it hasn't really been explained yet.
No matter which method I use to upgrade my GCC, I can't understand why I shouldn't be able to set GCC 3.4.4-specific CFLAGS as soon as I've executed this piece of code:After this is done, GCC 3.4.4 is present and the default compiler, used in every following emerge (right?).Code: Select all
# emerge -uav gcc # gcc-config i686-pc-linux-gnu-3.4.4 # source /etc/profile
I understand that some programs might still rely on the old version, but that shouldn't stop me from already using the new flags when compiling stuff, right?
In fact, after studying the GCC 3.4.4 documentation, it appears that -O2 already includes some of the new C flags (like -funit-at-a-time). So this means that, even if you don't specifically add GCC 3.4.4 C flags yourself, everyone using -O2 is already implicitly using some. Doesn't this mean it's fine to set them as soon as gcc-config has set GCC 3.4.4 as default compiler?

Okay, according to gcc-config the following happens:wgi wrote:I followed the migration guide. I guess I shouldn't have
Basically I fear, recompiling two boxes (~570 and ~820 packages) was mostly in vain. Why? Because during the world recompile, gcc-3.3.6 is re-merged - and the 3.3.6 ebuild *does* set the active gcc back to 3.3.6. So basically 700 of those 800+ packages were simply compiled with 3.3.6 again instead of 3.4.4, making this a massive waste of resources :/
Prove me wrong, but I am just watching a box that has ~300 packages to go use using 3.3.6 to compile OpenOffice.org 2.0. Which takes about 6 hours. In vain.
Code: Select all
gcc-config --use-portage-chost Only set to given profile if its CHOST is the
same as that set for portage in /etc/make.conf
(or one of other portage config files...).
Code: Select all
if [ "${ROOT}" = "/" -a "${CHOST}" = "${CCHOST}" ]
then
gcc-config --use-portage-chost ${CCHOST}-${GCC_RELEASE_VER}
fi