[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] [SPAM] xen 4.0.0 compilation fails in function cpuid
I am using gentoo as a hypervisor and dom0. I've successfully built a 32bit 2.6.34 dom0 kernel and installed gentoo's xen 4.0.0 package. However, compilation of the xen-tools package fails: xen-detect.c: In function 'cpuid':xen-detect.c:43: error: can't find a register in class 'BREG' while reloading 'asm' xen-detect.c:43: error: 'asm' operand has impossible constraintsThe outcome is the same when I attempt to build from the official xen 4.0.0 hypervisor and tools source distribution (xen-4.0.0.tar.gz from xen.org). I have had success building this in a different, but similar, gentoo environment, so I assume there is something amiss with my toolchain or the gcc options I'm using. Any pointers toward a fix would be appreciated. Thanks. -mike d.P.S. I've heard that the "hardened" use flag I've got enabled can cause problems so I'm removing it and rebuilding tonight. Configuration: emerge --info xen-toolsPortage 2.1.8.3 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34-xen i686) ================================================================= System Settings =================================================================System uname: Linux-2.6.34-xen-i686-Intel-R-_Core-TM-2_Quad_CPU_@xxxxxxxxxxxxxxxxxxxxxxxxxxxx Timestamp of tree: Sat, 10 Jul 2010 21:45:02 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4-r1, 3.1.2-r3 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.3-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu"CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind"CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs" DISTDIR="/usr/portage/distfiles"FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.cites.uiuc.edu/pub/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j5" 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" SYNC="rsync://rsync7.us.gentoo.org/gentoo-portage"USE="acl acpi apache2 avahi avi bash-completion berkdb bzip2 cdr clamav cli cracklib crypt cups curl curlwrappers cxx dbus dri encode exif fame fortran fuse gdbm gnutls gpm hal hardened hardenedphp iconv ieee1394 imagemagick imap imlib innodb java java6 javascript libwww lzo mad maildir mmap mmx modules mpi mudflap mysql ncurses nls nptl nptlonly odbc opengl openmp pam pcre pdf perl php posix pppd python readline reflection resolvconf ruby samba sasl session sharedmem simplexml soap sockets source spell spl sse sse2 ssl svga sysfs tcl tcltk tcpd tetex threads tiff tk tokenizer truetype unicode usb verbose vhosts vimsyntax winbind x86 xml xmlrpc xorg xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY ================================================================= Package Settings ================================================================= app-emulation/xen-tools-4.0.0 was built with the following: USE="api debug flask ioemu screen -acm -custom-cflags -doc -hvm -pygrub" CFLAGS="-fno-strict-overflow"CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer -mno-tls-direct-seg-refs -fno-strict-overflow" LDFLAGS="" _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |