Bug 691639

Summary: kcbench can't compile linux-2.6.35 with gcc-4.6.0
Product: [Fedora] Fedora Reporter: Iain Arnell <iarnell>
Component: kcbench-dataAssignee: Thorsten Leemhuis <fedora>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: kcbench-data-0.1-8.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-04-26 16:22:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
x86, gcc-4.6: Use gcc -m options when building vdso none

Description Iain Arnell 2011-03-29 05:51:03 UTC
Created attachment 488326 [details]
x86, gcc-4.6: Use gcc -m options when building vdso

Description of problem:

With gcc 4.6.0 in rawhide (and presumably f15), kcbench fails to compile the (almost) pristine 2.6.35 kernel:

Linux running:      2.6.39-0.rc0.git11.0.fc16.x86_64 on x86_64 (dhu439d.internal.epo.org)
Processor Cores:    2 -- Intel(R) Xeon(R) CPU           E7450  @ 2.40GHz
Compiler:           gcc (GCC) 4.6.0 20110321 (Red Hat 4.6.0-0.15)
Linux compiled:     linux-2.6.35 (/usr/share/kcbench-data/linux-2.6.35)
Creating default configuration with 'make defconfig'.
Run 1 (-j 1):       Failed (Tue Mar 29 07:19:11 CEST 2011).
Cleaning up builddir

And from logfile:

  CC      arch/x86/vdso/vgetcpu.o
  CC      arch/x86/vdso/vvar.o
  VDSO    arch/x86/vdso/vdso.so.dbg
gcc: error: elf_x86_64: No such file or directory
make[3]: *** [arch/x86/vdso/vdso.so.dbg] Error 1
make[2]: *** [arch/x86/vdso] Error 2
make[1]: *** [arch/x86] Error 2
make: *** [sub-make] Error 2
make: Leaving directory `/usr/share/kcbench-data/linux-2.6.35'


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

gcc-4.6.0-0.15.fc15.x86_64
kcbench-0.3-7.1.noarch
kcbench-data-0.1-7.1.noarch
kcbench-data-2.6.35-0.1-7.1.noarch


Additional info:

Upstream commit de2a8cf98ecdde25231d6c5e7901e2cffaf32af9 (attached) contains the fix, but it may be simpler to update the package to 2.6.38 rather than start backporting patches until 2.6.40.

Comment 1 Fedora Update System 2011-04-11 17:51:43 UTC
kcbench-data-0.1-8.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/kcbench-data-0.1-8.fc15

Comment 2 Fedora Update System 2011-04-13 04:52:34 UTC
Package kcbench-data-0.1-8.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing kcbench-data-0.1-8.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/kcbench-data-0.1-8.fc15
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-04-26 16:21:57 UTC
kcbench-data-0.1-8.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.