Summary: | gnustep-base/gnustep-base will not rebuild; C compiler cannot create executables | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | deference |
Component: | Current packages | Assignee: | Gentoo Gnustep project <gnustep> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | deference, gentoo.wayne |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info config.log |
Created attachment 439818 [details]
emerge --info
Created attachment 439820 [details]
config.log
looks like: https://bugs.gentoo.org/show_bug.cgi?id=562060 I get the same error, with gcc and clang on x86, gnustep-base-1.24.9-r1. Will post the logs if needed. This case appears to be somehow related to bug #562060 FWIW, I have a similar bug where there is a segmentation fault in `as` and temporarily emerging =sys-devel/binutils-2.26.1 and `eselect`ing it makes the problem go away; I'm normally using the stable one, =sys-devel/binutils-2.25.1-r1 (In reply to Patrice Levesque from comment #5) Brilliant, that worked indeed. Thanks! For me, none of the suggested solutions worked. What worked for me (and seems to be the correct solution): after switching to another gcc (after using gcc-config) you MUST rebuild gnustep-base/gnustep-make It even tells you that libobjc has changed and that you need to rebuild all gnustep packages afterwards. So I think this bug can be closed as INVALID hth New generation of gnustep tools, same problem. After upgrade to =gnustep-base/gnustep-make-2.6.8 I get issues emerging =gnustep-base/gnustep-base-1.24.9-r1 configure:4419: checking whether the C compiler works configure:4441: i686-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -ggdb3 -I/usr/local/include -I/usr/local/include -I/usr/include -Wl,-O1 -Wl,--as-needed -L/usr/local/lib -L/usr/local/lib -L/usr/lib conftest.c >&5 i686-pc-linux-gnu-gcc: internal compiler error: Segmentation fault (program as) Once again, switching binutils like described in comment #5 works around the problem for me. *** This bug has been marked as a duplicate of bug 562308 *** |
Created attachment 439816 [details] build.log It seems that linking goes airy during the test. [ebuild R ] gnustep-base/gnustep-base-1.24.6-r1 USE="doc icu libffi ssl -debug -zeroconf"