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

Bug 406573

Summary: app-emulation/xen-4.1.2[custom-cflags] does not respect "-O?"
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Ian Delaney (RETIRED) <idella4>
Status: RESOLVED OBSOLETE    
Severity: minor CC: alexxy, gentoo, xen
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Agostino Sarubbo gentoo-dev 2012-03-02 10:21:03 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -g0 -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -DNDEBUG -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Wno-pointer-arith -pipe -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include  -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DXSM_ENABLE -DFLASK_ENABLE -DXSM_MAGIC=0xf97cff8c -DFLASK_DEVELOP -DFLASK_BOOTPARAM -DFLASK_AVC_STATS -MMD -MF .xen.d -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -DNDEBUG -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Wno-pointer-arith -pipe -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include  -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DXSM_ENABLE -DFLASK_ENABLE -DXSM_MAGIC=0xf97cff8c -DFLASK_DEVELOP -DFLASK_BOOTPARAM -DFLASK_AVC_STATS -MMD -MF .built_in.o.d -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -DNDEBUG -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Wno-pointer-arith -pipe -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include  -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DXSM_ENABLE -DFLASK_ENABLE -DXSM_MAGIC=0xf97cff8c -DFLASK_DEVELOP -DFLASK_BOOTPARAM -DFLASK_AVC_STATS -MMD -MF .built_in.o.d -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement  -DNDEBUG -nostdinc -fno-builtin -fno-common -Wredundant-decls -iwithprefix include -Wno-pointer-arith -pipe -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include  -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include/asm-x86/mach-generic -I/var/tmp/portage/app-emulation/xen-4.1.2/work/xen-4.1.2/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-exceptions -mno-red-zone -fpic -fno-asynchronous-unwind-tables -DGCC_HAS_VISIBILITY_ATTRIBUTE -g -D__XEN__ -DXSM_ENABLE -DFLASK_ENABLE -DXSM_MAGIC=0xf97cff8c -DFLASK_DEVELOP -DFLASK_BOOTPARAM -DFLASK_AVC_STATS -MMD -MF .p2m.o.d -c p2m.c -o p2m.o

test ~ # emerge --info | grep CFLAGS
CFLAGS="-O2 -pipe -g0"


Please drop also -g
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-04-09 04:56:39 UTC
a minor feature. Doesn't block stable.
Comment 2 Ian Delaney (RETIRED) gentoo-dev 2013-02-24 10:45:21 UTC
dropped from portage