Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103213 - GCC can't be changed, problem with libraries
Summary: GCC can't be changed, problem with libraries
Status: VERIFIED DUPLICATE of bug 103154
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-21 00:46 UTC by Standa
Modified: 2005-08-21 10:12 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 Standa 2005-08-21 00:46:58 UTC
Hello, my bug disapear, so i resend:

I have Gentoo instaled and all is OK. I just needed newer GCC, so i run:

#ACCEPT_KEYWORDS=~x86 emerge gcc

and i got gcc-3.4.4. OK, than i tried:

#gcc-config i686-pc-linux-gnu-3.4.4
#source /etc/profile

again all OK. No problem. Than i returned tu normal user mode and i got only errors. 
Not
 
emerge could be run, Opera searched for missing library etc. Simply, many programs 
including #emerge was broken.

I tried to switch to older gcc:

#gcc-config i386-pc-linux-gnu-3.3.5

and i got:
--------------------------------------------------------------------
 * Switching to i386-pc-linux-gnu-3.3.5 compiler ...

 * env-update failed to work properly; making sure ld.so.conf paths
 * are setup properly.  Please rerun gcc-config with the -f option.
                                                                                 
              [ ok ]
 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile
--------------------------------------------------------------------
I tried everything, other GCC versions, but everytimes i got only this message. So i 
tried "-f", but again the same problem.

Only thing, when i can emerge and run Opera and other programs broken, is to edit /
etc/
ld.so.conf and add line:
/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5
and than run:
#ldconfig

I found this "help" on internet, but while working i still again get message about 
errors again, so i needed edit /etc/ld.so.conf again and again, after each #emerge.
--------------------------------------------------------------------
#gcc-config -l
[1] i386-pc-linux-gnu-3.3.5
[2] i386-pc-linux-gnu-3.3.5-hardened
[3] i386-pc-linux-gnu-3.3.5-hardenednopie
[4] i386-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.4 *
[6] i686-pc-linux-gnu-3.4.4-hardened
[7] i686-pc-linux-gnu-3.4.4-hardenednopie
[8] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[9] i686-pc-linux-gnu-3.4.4-hardenednossp
--------------------------------------------------------------------

I didn't touch anything, Gentoo is running 3months great and all started after gcc 
emerge. Thanks for possible solutions.

Standa

Reproducible: Always
Steps to Reproduce:
1.emerge something
2.than i need to change /etc/ld.so.conf
3.run #ldconfig
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-08-21 09:13:30 UTC
Please read what vapier said in the other bug.

*** This bug has been marked as a duplicate of 103154 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-08-21 10:12:26 UTC
Your bug did not disappear, so don't file duplicates please.

CLOSED.