Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 301723 - gentoo-sources: make fails
Summary: gentoo-sources: make fails
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-21 14:38 UTC by tyctor
Modified: 2010-02-27 00:49 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tyctor 2010-01-21 14:38:17 UTC
i am installing from from gentoo minimal CD. 
unpacking
stage3-amd64-20091231.tar.bz2
portage-latest.tar.bz2
and chrooting.
my next step was emerge gentoo-sources.
after make menuconfig i did make, and i got compile error.

so i tried stage3-amd64-20091203.tar.bz2
and there is no problem.
maybe is something broken in stage3-amd64-20091231.tar.bz2 ?

Reproducible: Always

Steps to Reproduce:
1.do installation steps with stage3-amd64-20091231.tar.bz2
2.emerge gentoo-sources
3.cd /usr/src/linux; make

Actual Results:  
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
#
# configuration written to .config
#
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
"2.6.30-gentoo-r8cc1:error:unrecognizedcommandlineoption-fno-dwarf2-cfi-asm" exceeds 64 characters
make: *** [include/linux/utsrelease.h] Error 1


Expected Results:  
successfull compilation of kernel sources
Comment 1 Rafał Mużyło 2010-01-21 15:49:27 UTC
What are your CFLAGS ?
Comment 2 tyctor 2010-01-21 16:04:18 UTC
CFLAGS="-march=nocona -O2 -pipe"
Comment 3 tyctor 2010-01-22 11:09:12 UTC
sorry, i tried once again stage3-amd64-20091231.tar.bz2
and there is no problem...


Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-01-26 17:02:14 UTC
I'm not sure about correct solution but on russian forum this was discussed and reverting this patch: http://patchwork.kernel.org/patch/13814/ fixed the problem. Could you confirm?
Comment 5 tyctor 2010-01-26 17:31:46 UTC
sorry, i cannot reproduce it anymore
Comment 6 Peter Volkov (RETIRED) gentoo-dev 2010-01-26 18:25:41 UTC
Ok, and it works for me. Closing then.
Comment 7 Jörg Eitemüller 2010-02-27 00:49:14 UTC
This ticket needs to be reopened, the bug persists and is caused by the lines:
# revert to pre-gcc-4.4 behaviour of .eh_frame
KBUILD_CFLAGS        += $(call cc-option,-fno-dwarf2-cfi-asm)

in the Makefile. The flag being used there is only available to systems running gcc 4.4 or newer. 

Since at the moment x86 gentoo-sources implement these lines, while x86 gcc is still 4.3.x, no kernel compilation will work.

Reverting, as stated, will correct the behaviour.