Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 588118

Summary: gnustep-base/gnustep-base will not rebuild; C compiler cannot create executables
Product: Gentoo Linux Reporter: deference
Component: Current packagesAssignee: 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

Description deference 2016-07-06 05:13:33 UTC
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"
Comment 1 deference 2016-07-06 05:14:03 UTC
Created attachment 439818 [details]
emerge --info
Comment 2 deference 2016-07-06 05:14:30 UTC
Created attachment 439820 [details]
config.log
Comment 3 Richard Hering 2016-10-06 06:53:43 UTC
looks like: https://bugs.gentoo.org/show_bug.cgi?id=562060
Comment 4 adr 2016-11-30 21:26:11 UTC
I get the same error, with gcc and clang on x86, gnustep-base-1.24.9-r1.
Will post the logs if needed.
Comment 5 Patrice Levesque 2016-12-01 23:08:39 UTC
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
Comment 6 adr 2016-12-03 07:22:11 UTC
(In reply to Patrice Levesque from comment #5)
Brilliant, that worked indeed. Thanks!
Comment 7 Marc Schiffbauer gentoo-dev 2016-12-15 13:00:41 UTC
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
Comment 8 Patrice Levesque 2017-01-14 22:29:44 UTC
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.
Comment 9 Brian Evans (RETIRED) gentoo-dev 2017-11-07 16:08:14 UTC

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