Hu wrote:My user is not in the portage group and I have never had problems invoking gcc from my user account. What does strace say about the failure?
well for some reason he cannot compile as normal user which is strange it self although he has permissions to the file, as he can update his system (I think so), I've started to think out of the box what can cause it, portage groups was a long shot which didn't worked.
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
For reference, /usr/bin/gcc is a wrapper program to invoke the currently configured gcc implementation which appears to be /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/gcc in your case. Try to execute that one directly with your user account, hopefully it will yield a more useful error message.
Yczo wrote:Hello guys. I hope that all of this will respond the questions.
$ eix-installed all |grep selinux
$ //no response
# ls -l /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/gcc
lrwxrwxrwx 1 root root 23 ago 22 21:54 /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/gcc -> x86_64-pc-linux-gnu-gcc
$ gcc-config -c
x86_64-pc-linux-gnu-4.5.4 //could came because i have x86_64-pc-linux-gnu-gcc
//and not x86_64-linux-gnu-4.5.4?
$ gcc-config -l
[1] avr-4.4.5 * //Asterisk in blue
[2] x86_64-pc-linux-gnu-4.5.4 * //Asterisk in green
regards.
yes but as x86_64-pc-linux-gnu/gcc-bin/4.5.4/gcc is a link, it would have been better if you've added the ls -l output of the target, e.g. /usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4/x86_64-pc-linux-gnu-gcc
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein