Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65045 - gcc-3.4.2-r2 LDPATH set to ...gcc-lib-lib, not gcc-lib
Summary: gcc-3.4.2-r2 LDPATH set to ...gcc-lib-lib, not gcc-lib
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-22 22:36 UTC by Duncan
Modified: 2004-12-06 20:28 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 Duncan 2004-09-22 22:36:44 UTC
I'm wondering if this has anything to do with the various bugs, including the -lgcc_s not found bug (#63333), which is still happening to me here (yes, on amd64).  If ldconfig is looking in the wrong place because it has a bad path..

Note that I'm running portage 2.0.51_rc1, glibc-2.3.4.20040918, (masked) binutils-2.15.91.0.2, and ~amd64.  Also note that I have buildpkg in FEATURES, so it's installed from the freshly created package, not qmerged directly.

I noticed the same gcc-lib-lib thing with r1 as well, IIRC, but don't know if it was in r0.
Comment 1 Manuel Lauss 2004-09-26 06:25:30 UTC
Installed gcc-3.4.2-r2 now, a few bugs are there:
gcc-config  complains that there is no profile,
and /etc/env.d/05gcc  is not updated. LDPATH still points to the previous compiler
(in my case 3.4.1-r3), which causes a *lot* of apps to fail in the process!
(libstdc++.so.6 is missing, xine fails with "libgcc_s.so.1 must be installed for pthread_cancel to work").

Just edit /etc/env.d/05gcc and adjust the LDPATH line, env-update and all apps work again. Only gcc-config still complains.
Comment 2 Manuel Lauss 2004-09-26 06:27:05 UTC
Forgot to add in previous comment: this is not on AMD64 but Pentium-M.
Comment 3 Travis Tilley (RETIRED) gentoo-dev 2004-09-26 13:21:11 UTC
...i dont know why you two are getting this.

ayanami portcvs # cat /etc/env.d/05gcc
PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/3.4"
ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/3.4"
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/man"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/info"
CC="gcc"
CXX="g++"
LDPATH="/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2:/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.2/32"

i'll reinstall gcc 3.4.2-r2 to see if anything broke since i installed it.
Comment 4 Manuel Lauss 2004-09-29 01:15:04 UTC
I remerged gcc-3.4.1-r3 and then gcc-3.4.2-r2 again:

scarran ~ # gcc-config -l
 * /usr/bin/gcc-config: Profile does not exist!

Before portage unmerges the old gcc version, theres a line with the same
gcc-config output as above:

--- !targe sym /usr/bin/gcc32
--- !targe sym /usr/bin/g++32
>>> original instance of package unmerged safely.
!nomultilib
 * /usr/sbin/gcc-config: Profile does not exist!
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...
>>> sys-devel/gcc-3.4.2-r2 merged.

If I do a manual 'gcc-config i686-pc-linux-gnu-3.4.2' all is fine again.
(portage 2.0.51_rc1)

Comment 5 James Le Cuirot gentoo-dev 2004-10-11 04:22:58 UTC
/etc/env.d/05gcc didn't update for me either. I was getting really worried. Took me a little while to figure that out.
Comment 6 SpanKY gentoo-dev 2004-12-06 20:28:57 UTC
should be resolved now with latest