Hi folks,

a copule of days ago I did a gentoo 2006 fresh install.
During the installation, I modified CHOST and the link to /etc/profile,
so now I have:

lx-arnau ~ # !grep
grep CHOST /etc/make.conf
CHOST="i686-pc-linux-gnu"
# ls -l /etc/make.profile
/etc/make.profile -> /usr/portage/profiles/default-linux/x86/2006.0/

I have tuned it in older installs, so I did it in new one... (I've seen
in forums some people advertising that CHOST flags must not be
changed). I also modified profile cause it pointed to no-nptl/ one...

Well, I emerged my full system (kdebase, amarok, SC, etc...) and after
that I left an emerge -uD world wich failed with:
>>> emerge (1 of 21) sys-apps/portage-2.0.54-r2 to /
[...]
i386-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG
-march=pentium4 -O2 -pipe -fomit-frame-pointer -mtune=i686 -fPIC
-I/usr/include/python2.4 -c missingos.c -o
build/temp.linux-i686-2.4/missingos.o gcc-config error: Could not
run/locate "i386-pc-linux-gnu-gcc" error: command
'i386-pc-linux-gnu-gcc' failed with exit status 1

Si, I looked for this error in forums.
I found a howto for this problem, wich said:
http://forums.gentoo.org/viewtopic-t-321340-highlight-fixlibto
olfiles+sh+3+4+4+oldarch+i386pclinuxgnu.html
(careful with the wrapped line if you want to open link)
so I did:

# gcc-config -l
 [1] i686-pc-linux-gnu-3.4.5 *
 [2] i686-pc-linux-gnu-3.4.5-hardened
 [3] i686-pc-linux-gnu-3.4.5-hardenednopie
 [4] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.5-hardenednossp

For what I see, I only have a compiler, but, I did some
fix_libtool_files.sh 3.4.5 and other combinations looking for a
solution.

Well, I did not find it, and now, I think I have missconfigured my gcc,
cause, trying to emerge kdeartwork-kscreensaver I got this error:

[...]
/bin/sh ../../libtool --silent --mode=link --tag=CXX
i686-pc-linux-gnu-g++  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe
-Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor
-fno-exceptions -fno-check-new -fno-common  -L/usr/kde/3.4/lib
-L/usr/qt/3/lib -L/usr/lib    -R /usr/kde/3.4/lib -R /usr/kde/3.4/lib
-R /usr/qt/3/lib -R /usr/lib  -o kbanner.kss  banner.o -lkdeui
-lkscreensaver libtool: link: cannot find the library
`/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.la' make[4]: ***
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[kbanner.kss] Error 1 make[4]: Leaving directory
`/var/tmp/portage/kdeartwork-kscreensaver-3.4.3/work/kdeartwork-kscreensaver-3.4.3/kscreensaver/kdesavers'
make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
`/var/tmp/portage/kdeartwork-kscreensaver-3.4.3/work/kdeartwork-kscreensaver-3.4.3/kscreensaver/kdesavers'
make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory
`/var/tmp/portage/kdeartwork-kscreensaver-3.4.3/work/kdeartwork-kscreensaver-3.4.3/kscreensaver'
make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
`/var/tmp/portage/kdeartwork-kscreensaver-3.4.3/work/kdeartwork-kscreensaver-3.4.3'
make: *** [all] Error 2

As you could see, cc is looking for libstdc++.la in 3.4.4 directory,
but it's in 3.4.5 dir...

So, my questions:

1.-) Do I have missconfigured my gcc?¿

2.-) How may I fix it?

3.-) May tune CHOST and make.profile? 

Many thanks to all the people who have read all the post!
Cheers!
-- 
Arnau Bria
http://blog.emergetux.net

-- 
gentoo-user@gentoo.org mailing list

Reply via email to