Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74135 - usr/bin/gcc breaks under certain circumstances (x86)
Summary: usr/bin/gcc breaks under certain circumstances (x86)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-11 13:50 UTC by Mirar
Modified: 2004-12-12 01:01 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 Mirar 2004-12-11 13:50:28 UTC
since I upgraded glib and reemerged gcc, /usr/bin/gcc (and cc and g++) hangs in an infinite loop, saying

stat64("u
Comment 1 Mirar 2004-12-11 13:50:28 UTC
since I upgraded glib and reemerged gcc, /usr/bin/gcc (and cc and g++) hangs in an infinite loop, saying

stat64("uÿ¿ÿ¿PATH/gcc", 0xbfff782c)  = -1 ENOENT (No such file or directory)
stat64("uÿ¿ÿ¿PATH/gcc", 0xbfff782c)  = -1 ENOENT (No such file or directory)
stat64("uÿ¿ÿ¿PATH/gcc", 0xbfff782c)  = -1 ENOENT (No such file or directory)
stat64("uÿ¿ÿ¿PATH/gcc", 0xbfff782c)  = -1 ENOENT (No such file or directory)
stat64("uÿ¿ÿ¿PATH/gcc", 0xbfff782c)  = -1 ENOENT (No such file or directory)
stat64("uÿ¿ÿ¿PATH/gcc", 0xbfff782c)  = -1 ENOENT (No such file or directory)

(binary part varies)

Replacing those files with 

# cat /usr/bin/gcc
#!/bin/bash
source /etc/env.d/05gcc
gcc "$@"

or similar makes things work again. 

[ebuild   R   ] sys-devel/gcc-config-1.3.7-r6  
[ebuild   R   ] sys-devel/gcc-3.4.3-r1  
[ebuild   R   ] sys-libs/glibc-2.3.4.20041102  


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 2 Mirar 2004-12-11 13:52:42 UTC
Reemerging gcc-config again maked things running even without my hacks.

Funny glibc incompatibilities maybe?
Comment 3 SpanKY gentoo-dev 2004-12-12 01:01:23 UTC
no, i screwed up gcc-config for like half an hour in rsync ;)