Bug 691639 - kcbench can't compile linux-2.6.35 with gcc-4.6.0
Summary: kcbench can't compile linux-2.6.35 with gcc-4.6.0
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: kcbench-data
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thorsten Leemhuis
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-29 05:51 UTC by Iain Arnell
Modified: 2011-04-26 16:22 UTC (History)
1 user (show)

Fixed In Version: kcbench-data-0.1-8.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-04-26 16:22:01 UTC
Type: ---


Attachments (Terms of Use)
x86, gcc-4.6: Use gcc -m options when building vdso (1.54 KB, patch)
2011-03-29 05:51 UTC, Iain Arnell
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.