Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 67355

Summary: gcc-config adds 3 times the same entry into /etc/ld.so.conf
Product: Gentoo Linux Reporter: Peter S. Mazinger <ps.m>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: VERIFIED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Peter S. Mazinger 2004-10-13 02:10:54 UTC
I have installed gcc-3.4.2 (had gcc-3.3.4 already) and switched w/ gcc-config to 3.4.2
the result is that the 3.4.2 path appears 3 times in /etc/ld.so.conf (first, third, fourth)
I do not really understand why the 3.3.4 patch should be there if I switch to 3.4.2, correct behaviour would be to have only one active

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-10-13 09:00:52 UTC
neglected to provide `emerge info`

what version of gcc-config ?
what files do you have in /etc/env.d/gcc/ ?
Comment 2 Peter S. Mazinger 2004-10-13 10:49:05 UTC
emerge info is not relevant (all stable hardened uclibc x86 + gcc-3.4.2)
running 2.4.27 special hardened kernel
gcc-3.4.2 puts 3 files into /etc/env.d/gcc for each installed specs file,
that's why it has 3 entries in /etc/ld.so.conf
I do not really know how to handle this, but I do not believe that more
then one entry is necessary in /etc/ld.so.conf, what should be the use of both
gcc's having them in /etc/ld.so.conf?
Comment 3 SpanKY gentoo-dev 2004-12-06 20:10:10 UTC
i fixed this in gcc-config-1.3.7-r5