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.
*** This bug has been marked as a duplicate of 113639 ***