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

Bug 113793

Summary: xen-3.0.0_pre20051122 fails to emerge - unrecognized gcc option
Product: Gentoo Linux Reporter: gbugs
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description gbugs 2005-11-28 07:08:07 UTC
xen-3.0.0_pre20051122 fails to build with gcc 3.6.6, with an unrecognized option
 error from gcc (-Wdeclaration-after-statement)

make: Entering directory
`/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen'
make -C tools
make[1]: Entering directory
`/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen/tools'
make -C figlet
make[2]: Entering directory
`/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen/tools/figlet'
gcc -o figlet figlet.c
make[2]: Leaving directory
`/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen/tools/figlet'
make symbols
make[2]: Entering directory
`/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen/tools'
gcc -Wall -Werror -Wstrict-prototypes -O2 -fomit-frame-pointer
-Wdeclaration-after-statement -o symbols symbols.c
cc1: error: unrecognized option `-Wdeclaration-after-statement'
make[2]: *** [symbols] Error 1
make[2]: Leaving directory
`/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen/tools'
make[1]: *** [default] Error 2
make[1]: Leaving directory
`/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen/tools'
make: ***
[/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen/xen] Error 2
make: Leaving directory
`/var/tmp/portage/xen-3.0.0_pre20051122/work/xen-unstable-20051122/xen'

!!! ERROR: app-emulation/xen-3.0.0_pre20051122 failed.
!!! Function src_compile, Line 41, Exitcode 2
!!! compiling xen failed
!!! If you need support, post the topmost build error, NOT this status message.




Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Option is specified in the 'Config.mk' file in the xen source directory.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-11-28 08:21:22 UTC

*** This bug has been marked as a duplicate of 113639 ***