Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74067 - gcc-config 1.3.7-r6 wrapper recursive self call
Summary: gcc-config 1.3.7-r6 wrapper recursive self call
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 74068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-10 22:52 UTC by Pedro Morales
Modified: 2004-12-11 10:26 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 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