Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620944 - dev-util/ninja-1.7.2 with sys-devel/gcc-7.1.0-r1: "Command '['./ninja', '-v']' returned non-zero exit status -11"
Summary: dev-util/ninja-1.7.2 with sys-devel/gcc-7.1.0-r1: "Command '['./ninja', '-v']...
Status: RESOLVED DUPLICATE of bug 604198
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
Depends on:
Blocks: gcc-7
  Show dependency tree
Reported: 2017-06-05 18:00 UTC by Alpha Bravo
Modified: 2017-06-08 16:40 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---

build.log (ninja-1.7.2-build.log,15.45 KB, text/plain)
2017-06-05 18:00 UTC, Alpha Bravo
emerge --info ninja (,5.53 KB, text/plain)
2017-06-05 18:01 UTC, Alpha Bravo
gcc-7.1.0-r1 successful compile on hardened (build.log,26.83 KB, text/plain)
2017-06-06 01:22 UTC, Jory A. Pratt
relevant dmesg output (,434 bytes, text/plain)
2017-06-06 08:12 UTC, Alpha Bravo

Note You need to log in before you can comment on or make changes to this bug.
Description Alpha Bravo 2017-06-05 18:00:27 UTC
Created attachment 475284 [details]

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"
Comment 1 Alpha Bravo 2017-06-05 18:01:34 UTC
Created attachment 475288 [details]
emerge --info ninja
Comment 2 Mike Gilbert gentoo-dev 2017-06-05 18:27:20 UTC
I am unable to reproduce this.
Comment 3 Mike Gilbert gentoo-dev 2017-06-05 18:33:09 UTC
That exit status probably means it was killed by a SEGFAULT.

Can you please try with PaX disabled?
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2017-06-05 21:23:27 UTC
Would also be interesting to look at:
- ninja backtrace when it fails
- strace log
- dmesg output for crashed ninja
Comment 5 Jory A. Pratt gentoo-dev 2017-06-06 01:22:50 UTC
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
Comment 6 Alpha Bravo 2017-06-06 08:12:20 UTC
Created attachment 475324 [details]
relevant dmesg output
Comment 7 Mike Gilbert gentoo-dev 2017-06-06 13:33:55 UTC
This is probably the same issue as bug 604198.

Please try rebuilding glibc with -fstack-check=no.
Comment 8 Mike Gilbert gentoo-dev 2017-06-08 16:40:27 UTC

*** This bug has been marked as a duplicate of bug 604198 ***