Ebuilds for new version of xen. Reproducible: Always
Created attachment 200591 [details] xen and xen-tools ebuilds
Created attachment 200592 [details] xen and xen-tools ebuilds
(Please don't attach tarball to bugzilla, individual files are best) Assigning to maintainers
I get the following trying to compile xen-3.4.1 from this ebuild: _______________ gcc -fno-strict-overflow -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .subdirs-all.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .subdir-all-libxc.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .build.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -I../../xen/common/libelf -Werror -Wmissing-prototypes -I. -I../xenstore -I../include -O2 -fomit-frame-pointer -m64 -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .xc_domain.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -I../../xen/common/libelf -Werror -Wmissing-prototypes -I. -I../xenstore -I../include -c -o xc_domain.o xc_domain.c cc1: warnings being treated as errors In file included from /usr/include/string.h:640, from xg_private.h:9, from xc_core.c:52: In function 'memset', inlined from 'xc_domain_dumpcore_via_callback' at xc_core.c:324: /usr/include/bits/string3.h:82: error: call to '__warn_memset_zero_len' declared with attribute warning: memset used with constant zero length parameter; this could be due to transposed parameters make[3]: *** [xc_core.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.4.1/work/xen-3.4.1/tools/libxc' make[2]: *** [build] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.4.1/work/xen-3.4.1/tools/libxc' make[1]: *** [subdir-all-libxc] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.4.1/work/xen-3.4.1/tools' make: *** [subdirs-all] Error 2 make: Leaving directory `/var/tmp/portage/app-emulation/xen-tools-3.4.1/work/xen-3.4.1/tools' * * ERROR: app-emulation/xen-tools-3.4.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3232: Called die * The specific snippet of code: * emake -C tools ${myopt} || die "compile failed"; * The die message: * compile failed ________________ Here's my emerge --info: Portage 2.1.6.13 (default/linux/amd64/10.0/server, gcc-4.4.1, glibc-2.10.1-r0, 2.6.31-rc5-zen0 x86_64) ================================================================= System uname: Linux-2.6.31-rc5-zen0-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4850e-with-gentoo-2.0.1 Timestamp of tree: Mon, 10 Aug 2009 22:30:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] app-shells/bash: 4.0_p28 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r3, 2.6.2-r1, 3.1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer -march=athlon64-sse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=athlon64-sse3" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en en_US el" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/myoverlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl acpi amd64 apache2 bash-completion berkdb bindist bzip2 cli cmake cracklib crypt cups curl fftw fortran ftp gdbm gif git gnutls gpm hal hvm iconv imagemagick imap isdnlog jabber java jpeg mailwrapper mercurial ming mmx mng mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl php png pppd python readline reflection ruby samba session snmp spell spl sse sse2 sse3 ssl subversion sysfs tcpd tiff unicode upnp visibility wmf xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en en_US el" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
This is a gcc-4.4 specific problem. Compilation works with sys-devel/gcc-4.3.4.
Created attachment 200943 [details, diff] patch for xen-tools This patch fixes a compilation problem with gcc-4.4.
compiles and installs fine now thanks!
+ 17 Aug 2009; Patrick Lauer <patrick@gentoo.org> +xen-tools-3.4.1.ebuild, + +files/xen-tools-3.4.1-xc_core-memset.patch: + Bump to 3.4.1. Fixes #280773. Patch by Sergey Morozov