Akater <nuclearsp...@gmail.com> wrote: > >> configure:3753: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe >> -Wl,-O1 -Wl,--as-needed conftest.c >&5
This should succeed. So the problem is probably this: >> cc1: fatal error: /usr/local/include/stdc-predef.h: Permission denied It seems that you have this file but that it is not readable by user/group portage:portage. The main question is: Why do you have something in /usr/local/ at all? If you did not install anything outside of portage, this directory should be empty (up to some perhaps empty directories). So "normally" the correct solution would be to clean up /usr/local/. Of course, if you intentionally installed something there, this might be wrong. But your problem is very likely caused by this.