Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19896 - kportage tries to link against i586 host gcc when i686 host is installed
Summary: kportage tries to link against i586 host gcc when i686 host is installed
Status: RESOLVED DUPLICATE of bug 15025
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-24 17:09 UTC by Travis Tilley (RETIRED)
Modified: 2011-10-30 22:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Tilley (RETIRED) gentoo-dev 2003-04-24 17:09:14 UTC
emerge kportage ends in the following compile error: 
 
libtool: link: cannot find the library `/usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.la' 
 
 
make.conf holds the following variable: 
 
CHOST="i686-pc-linux-gnu" 
 
 
an i686 gcc is present: 
 
ayanami portage # ls /usr/lib/gcc-lib 
i686-pc-linux-gnu 
 

Reproducible: Always
Steps to Reproduce:
emerge kportage 



Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) 
================================================================= 
System uname: 2.4.20-wolk4.0s-pre-final i686 Intel(R) Celeron(R) CPU 1.80GHz 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
PORTDIR="/usr/portage" 
DISTDIR="/usr/portage/distfiles" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR_OVERLAY="" 
USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx 
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gdbm 
berkdb slang readline svga java guile X sdl gpm tcpd pam ssl python esd imlib 
oggvorbis gnome gtk qt kde motif opengl scanner alsa -arts dvd evo fbcon ggi gtk2 
jikes matrox mozilla perl samba sse tcltk usb" 
COMPILER="gcc3" 
CHOST="i686-pc-linux-gnu" 
CFLAGS="-march=pentium3 -O3 -pipe" 
CXXFLAGS="-march=pentium3 -O3 -pipe" 
ACCEPT_KEYWORDS="x86" 
MAKEOPTS="-j2" 
AUTOCLEAN="yes" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
FEATURES="ccache sandbox buildpkg"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-04-24 17:18:03 UTC
try this source /etc/profile
if still fail this source /etc/profile && ldconfig
gcc-config i686-pc-linux-gnu-3.2.2

and if still fail this
cd /usr/portage/sys-devel/gcc/files/
./fix_libtool_files.sh 3.2.1 (3.2.1 = old gcc version)
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-04-28 16:43:27 UTC
http://www.gentoo.org/doc/en/upgrade-to-gentoo-1.4.xml
http://cvs.gentoo.org/~carpaski/system_update/ (ChangeLog   update-step1.sh  update-step3.sh README.txt  update-step2.sh  update-step4.sh)

watch out bug #15025 & bug #14350 & all duplicates for help

*** This bug has been marked as a duplicate of 15025 ***
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-28 16:47:40 UTC
He switched CHOST.  The fix for the .la files wont work .. he will have to
edit the .la manually, or remerge that package ...