Created attachment 475284 [details] build.log dev-util/ninja-1.7.2 fails to build with sys-devel/ggc-7.1.0-r1 at "bootstrap complete. rebuilding...": [...] "subprocess.CalledProcessError: Command '['./ninja', '-v']' returned non-zero exit status -11"
Created attachment 475288 [details] emerge --info ninja
I am unable to reproduce this.
That exit status probably means it was killed by a SEGFAULT. Can you please try with PaX disabled?
Would also be interesting to look at: - ninja backtrace when it fails - strace log - dmesg output for crashed ninja
Created attachment 475318 [details] gcc-7.1.0-r1 successful compile on hardened Just confirmed the build on hardened is sucessful with gcc-7.1.0-r1
Created attachment 475324 [details] relevant dmesg output
This is probably the same issue as bug 604198. Please try rebuilding glibc with -fstack-check=no.
*** This bug has been marked as a duplicate of bug 604198 ***