Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113639 - emerging app-emulation/xen-3.0.0_pre20051122 fails due to cc1 unrecognized option '-Wdeclaration-after-statement'
Summary: emerging app-emulation/xen-3.0.0_pre20051122 fails due to cc1 unrecognized op...
Status: VERIFIED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Chris Bainbridge (RETIRED)
URL:
Whiteboard:
Keywords:
: 113709 113793 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-26 10:36 UTC by Steffen
Modified: 2005-11-28 08:21 UTC (History)
3 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 Steffen 2005-11-26 10:36:28 UTC
emerging app-emulation/xen-3.0.0_pre20051122 fails on my machine, here 
is the full output: 
 
>>> emerge (2 of 4) app-emulation/xen-3.0.0_pre20051122 to / 
>>> md5 files   ;-) xen-3.0.0_pre20051027.ebuild 
>>> md5 files   ;-) xen-2.0.7.ebuild 
>>> md5 files   ;-) xen-3.0.0_pre20051122.ebuild 
>>> md5 files   ;-) files/xendomains-conf 
>>> md5 files   ;-) files/digest-xen-2.0.7 
>>> md5 files   ;-) files/xend-init 
>>> md5 files   ;-) files/digest-xen-3.0.0_pre20051027 
>>> md5 files   ;-) files/xendomains-init 
>>> md5 files   ;-) files/digest-xen-3.0.0_pre20051122 
>>> md5 files   ;-) files/xend-conf 
>>> md5 src_uri ;-) xen-unstable-20051122.tar.bz2 
>>> Unpacking source... 
>>> Unpacking xen-unstable-20051122.tar.bz2 
to /var/tmp/portage/xen-3.0.0_pre20051122/work 
>>> Source unpacked. 
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. emerge xen 
 
Actual Results:  
emerge fails 

Expected Results:  
successfull emerge 

I emerged xen trough emerge --update --deep --newuse world ( i already 
have xen 3.0.0_pre20051027 installed!) 
 
emerge info: 
 
Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r3, 
2.6.14-gentoo-r2-ne0n i686) 
================================================================= 
System uname: 2.6.14-gentoo-r2-ne0n i686 Pentium III (Coppermine) 
Gentoo Base System version 1.12.0_pre11 
ccache version 2.4 [enabled] 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.13 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20-r1 
virtual/os-headers:  2.6.11-r3 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O2 -march=pentium3 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="x86 X aac alsa apache2 apm arts artswrappersuid audiofile avi 
bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr crypt cups curl 
directfb divx4linux dv dvb dvd dvdr dvdread eds emboss encode esd 
ethereal exif expat fam fbcon ffmpeg flac foomaticdb fortran ftp gdbm gif 
glut gpm gstreamer gtk2 idn ieee1394 imagemagick imap imlib ipv6 jabber 
java javascript jpeg junit kde lcms libg++ libwww mad matroska mhash 
mikmod mng motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl 
oscar pam pcre pda pdflib perl php png postgres ppds python qt 
quicktime readline ruby samba sdl snmp spell ssl svg svga tcltk tcpd 
theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis 
wifi win32codecs xine xinerama xml2 xmms xv xvid zlib userland_GNU 
kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Chris Bainbridge (RETIRED) gentoo-dev 2005-11-27 03:20:14 UTC
This bug was fixed upstream on 23rd nov. Fix will be in the next xen snapshot.
You might like to try newer gcc which supports this flag, and the all important
-mno-tls-direct-seg-refs
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-11-27 07:19:02 UTC
*** Bug 113709 has been marked as a duplicate of this bug. ***
Comment 3 Chris Bainbridge (RETIRED) gentoo-dev 2005-11-28 03:45:09 UTC
I've just added a new snapshot from today that should fix this. If not, please
report upstream.

(ps. gcc 3.4 is really the recommended compiler for xen, without the
no-tls-direct-seg-refs flag you'll see a 50% performance hit on x86-32)
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2005-11-28 08:21:22 UTC
*** Bug 113793 has been marked as a duplicate of this bug. ***