Summary: | dev-vcs/git - builtin/grep.c:743:37: internal compiler error: Segmentation fault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Biser Milanov <bisermilanov> |
Component: | [OLD] Development | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | alexander, alex_y_xu, bisermilanov, hardened, polynomial-c |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=529496 https://bugs.gentoo.org/show_bug.cgi?id=518598 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Emerge info
emerge -pqv build.log Environment emerge -info emerge -pqv build log environment |
Description
Biser Milanov
2014-11-13 13:17:19 UTC
Created attachment 389238 [details]
emerge -pqv
Created attachment 389240 [details]
build.log
Created attachment 389242 [details]
Environment
Looks like you ran out of memory. Try removing -pipe from CFLAGS/CXXFLAGS, limiting the number of make jobs, or installing more RAM. Or cross-compile your packages. So "-pipe" breaks even if I have swap available? (In reply to Biser Milanov from comment #6) > So "-pipe" breaks even if I have swap available? Yes. Hi, I can confirm that removing "-pipe" from portage/make.conf, setting MAKEOPTS to -j1 and turning distcc off does not help. Attaching new logs. Created attachment 389394 [details]
emerge -info
Created attachment 389396 [details]
emerge -pqv
Created attachment 389398 [details]
build log
Created attachment 389400 [details]
environment
The error is exactly the same: builtin/grep.c: In function ‘cmd_grep’: builtin/grep.c:743:37: internal compiler error: Segmentation fault { OPTION_CALLBACK, 0, "help-all", &options, NULL, N_("show usage"), ^ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. make: *** [builtin/grep.o] Error 1 * ERROR: dev-vcs/git-2.0.4::gentoo failed (compile phase): * emake failed Confirming this. Compilation of grep.c leads to ICE on both distcc host and locally on ARM system. (In reply to Jeroen Roovers from comment #5) > Or cross-compile your packages. Cross toolchain also fails to build it. Confirmed on Raspberry PI - the 256MiB variant. Fails on Raspberry PI even without -pipe Same behavior with dev-vcs/git-2.0.5 @people hitting the bug. Are you using hardened gcc-4.8? Does the problem disappear with 4.7? > @people hitting the bug. Are you using hardened gcc-4.8? Does the problem disappear with 4.7?
Yes, "gcc (Gentoo Hardened 4.8.3 p1.1, pie-0.5.9) 4.8.3".
I haven't tried downgrading. I will emerge a new crosscompiler with 4.7 and see if I hit the same issue.
I was able to safely compile both git-2.0.5 and busybox-1.23.1-r1 with gcc-4.7-3-r1 on arm hardened. But now I have a mixed system (with git and busybox relying on gcc-4.7 and the rest on gcc-4.8). What can I do next to help? I also tried gcc-4.9.2, since it's the latest in the portage tree. It successfully compiled git, but busybox still yields the same error. Is this still an issue with recent git releases? I believe this ticket is obsolete, if the problem persists, please reopen |