gcc looks like to work. If i try: "gcc -march=athlon64 -mtune=athlon64 -O2 -pipe -fexpensive-optimizations -msse -msse2 -mmmx -m3dnow -o hello_world hello_world.c" it works. But any package crashes in configure stage. My tries to fix the issue: - Build packages with emerge -B on an similar working system - Install these packages which emerge -k - This procedure i have repeated with al lot of packages i think they are used from build system In this bug i use the gcc-4.8.2 The error message of the last step is: "cc1: fatal error: /usr/local/include/stdc-predef.h: Permission denied" The file exists but not in this directory locate stdc-predef.h -> /usr/include/stdc-predef.h Reproducible: Always Steps to Reproduce: 1. emerge gcc Actual Results: checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... configure: error: in `/var/tmp/portage/sys-devel/gcc-4.8.2/work/build': configure: error: C compiler cannot create executables Expected Results: package can be build without any error System is in unuseable state an con not be fixed because no package can be build
Created attachment 369364 [details] emerge info
Created attachment 369366 [details] gcc build logs
chmod -R o+rx /usr/local/include
This fix works
we do not support manual installation of packages, last I checked. even if we did, it's your responsibility to ensure that those paths are readable.