Bug 697703

Summary: [RHEL6.1] ld segmentation fault while compiling kernel
Product: Red Hat Enterprise Linux 6 Reporter: Aristeu Rozanski <arozansk>
Component: binutilsAssignee: Andreas Schwab <schwab>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: borgan, dgregor, ebachalo, jakub, jan.kratochvil, lwang, mnowak, mtosatti, tburke
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: binutils-2.20.51.0.2-5.20.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:41:06 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:
Bug Depends On:    
Bug Blocks: 684719    
Attachments:
Description Flags
core dump none

Description Aristeu Rozanski 2011-04-19 00:38:27 UTC
Created attachment 493055 [details]
core dump

Description of problem:
While compiling the kernel on brew, multiple times kvm.ko fails to link
because of a segmentation fault in x86_64:
/bin/sh: line 1:   611 Segmentation fault      (core dumped) ld -r -m elf_x86_64 -T /builddir/build/BUILD/kernel-2.6.32/linux-2.6.32-131.0.2.el6.test.x86_64/scripts/module-common.lds --build-id -o arch/x86/kvm/kvm.ko.unsigned arch/x86/kvm/kvm.o arch/x86/kvm/kvm.mod.o
make[1]: *** [arch/x86/kvm/kvm.ko.unsigned] Error 139
make[1]: *** Waiting for unfinished jobs....

for some reason, this couldn't be reproduced locally in my x86_64 RHEL6 box, even
matching the package versions and using mock with the same configuration used in
a failed build.

full build log:
http://download.devel.redhat.com/brewroot/work/tasks/6590/3266590/build.log

core attached.

Version-Release number of selected component (if applicable):
2.20.51.0.2-5.17.el6

How reproducible:
always

Comment 2 RHEL Program Management 2011-04-19 06:00:31 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 6 Jan Kratochvil 2011-04-19 22:21:16 UTC
[patch] RELOC_AGAINST_DISCARDED_SECTION crash on +1 overrun
http://sourceware.org/ml/binutils/2011-04/msg00273.html

scratch binutils-2.20.51.0.2-5.19rh697703.el6
https://brewweb.devel.redhat.com/taskinfo?taskID=3269571

I do not have the crash reproducible with the Comment #4 .src.rpm so I cannot verify the fix.

Comment 14 errata-xmlrpc 2011-05-19 13:41:06 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0614.html