Bug 219629

Summary: collect2: ld terminated with signal 11 [Segmentation fault]
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: binutilsAssignee: Jakub Jelinek <jakub>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.17.50.0.8-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-12-23 09:38:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log of failed build none

Description Karsten Hopp 2006-12-14 15:29:41 UTC
Description of problem:
ld aborted with a segfault when I tried to rebuild kdeutils-3.5.5 in Rawhide.

Version-Release number of selected component (if applicable):
binutils-2.17.50.0.8-1

How reproducible:
always

Comment 1 Karsten Hopp 2006-12-14 15:29:42 UTC
Created attachment 143638 [details]
log of failed build

Comment 2 Jakub Jelinek 2006-12-18 15:04:04 UTC
Caused by http://sources.redhat.com/ml/binutils/2006-11/msg00044.html
together with --as-needed.

Comment 3 Jakub Jelinek 2006-12-18 15:27:33 UTC
Testcase:
echo 'int foo (int x) { return bar (x) + 1; }' | gcc -m64 -mcall-aixdesc -O2
-fpic -shared -xc - -o liba.so
echo 'int main (void) { return 0; }' | gcc -m64 -O2 -L. -o test -xc - -xnone
-Wl,--as-needed -la -Wl,--no-as-needed -lc


Comment 4 Jakub Jelinek 2006-12-23 09:38:02 UTC
Should be fixed in binutils-2.17.50.0.8-2 in rawhide.