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

Bug 74067

Summary: gcc-config 1.3.7-r6 wrapper recursive self call
Product: Gentoo Linux Reporter: Pedro Morales <pedratan>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pedro Morales 2004-12-10 22:52:37 UTC
If in some script the path to real gcc (/usr/i686-pc-linux-gnu/gcc-bin/3.4.3) is not set, /usr/bin/gcc never execs nothing. Only uses cpu forever.

Reproducible: Always
Steps to Reproduce:
Two ways to doiit. Cooked:
1. As root: export PATH=/usr/bin
2. gcc -dumpversion
3. PROFIT! ;)

Or, the way I discovered it:

1. emerge vmware-workstation
2. /opt/vmware/bin/vmware-config.pl
3. wait forever for script to check version of gcc
Actual Results:  
High CPU usage.
gcc -dumpversion never returns

Expected Results:  
% gcc -dumpversion
3.4.3
%

The path of root user is a vanilla one, that is, I have not added nothing to
.bashrc nor .bash_profile.
Current gcc version I am using is: i686-pc-linux-gnu-3.4.3
kernel gentoo-dev-sources-2.6.9-r9

Can be fixed using symlinks to binaries ;)
Comment 1 Pedro Morales 2004-12-10 23:15:35 UTC
*** Bug 74068 has been marked as a duplicate of this bug. ***
Comment 2 SpanKY gentoo-dev 2004-12-11 10:26:28 UTC
re-emerge gcc-config