Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 201793

Summary: >=sys-kernel/linux-headers-2.6.22 - asm volatile when ricing
Product: Gentoo Linux Reporter: Armin Mohring <mohringarmin>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: VERIFIED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: -
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: compile log
emerge --info

Description Armin Mohring 2007-12-09 19:27:57 UTC
linux-headers compiles fine, but produces an asm volatile.

Reproducible: Always

Steps to Reproduce:
1.emerge -av linux-headers
2.check output
Comment 1 Armin Mohring 2007-12-09 19:28:50 UTC
Created attachment 138117 [details]
compile log
Comment 2 Armin Mohring 2007-12-09 19:36:01 UTC
Created attachment 138118 [details]
emerge --info
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-12-09 19:43:53 UTC
<snip>
CFLAGS="-mtune=k8 -march=k8 -O2 -combine -falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign-loops=0 -ffunction-cse -fgcse-after-reload -fkeep-static-consts -fmerge-constants -fno-ident -fprefetch-loop-arrays -frename-registers -fweb -msse2 -m80387 -pipe"
CXXFLAGS="-mtune=k8 -march=k8 -O2 -combine -falign-functions=0 -falign-jumps=0 -falign-labels=0 -falign-loops=0 -ffunction-cse -fgcse-after-reload -fkeep-static-consts -fmerge-constants -fno-ident -fprefetch-loop-arrays -frename-registers -fweb -msse2 -m80387 -pipe"
LDFLAGS="-Wl,-O4 -Wl,--as-needed -Wl,--enable-new-dtags -Wl,--hash-style=both -Wl,--sort-common -Wl,-S -Wl,-z,now"
</snip>

INVALID and please be so kind refrain from filing ANY compile-related bugs whatsoever until you've fixed your ridiculous ricer flags and reinstalled your system from scratch.

http://devmanual.gentoo.org/ebuild-writing/functions/src_compile/build-environment/index.html
http://www.gentoo.org/doc/en/gcc-optimization.xml
Comment 4 Armin Mohring 2007-12-09 20:58:45 UTC
I get the same error, when I use standart flags.
CFLAGS="-march=k8 -O2 -pipe"
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-12-09 21:03:36 UTC
We don't care until you've reinstalled your system from scratch.