Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 425662 - app-emulation/qemu-kvm-1.1.0 build fails with "PIE not available due to missing toolchain support"
Summary: app-emulation/qemu-kvm-1.1.0 build fails with "PIE not available due to missi...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-10 12:41 UTC by Johannes Hirte
Modified: 2012-07-11 01:58 UTC (History)
0 users

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 Johannes Hirte 2012-07-10 12:41:18 UTC
Building of app-emulation/qemu-kvm-1.1.0 fails with


>>> Emerging (1 of 1) app-emulation/qemu-kvm-1.1.0
 * qemu-kvm-1.1.0.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                            [ ok ]
 * qemu-kvm-1.1.0-bp-1.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking qemu-kvm-1.1.0.tar.gz to /var/tmp/portage/app-emulation/qemu-kvm-1.1.0/work
>>> Unpacking qemu-kvm-1.1.0-bp-1.tar.xz to /var/tmp/portage/app-emulation/qemu-kvm-1.1.0/work
>>> Source unpacked in /var/tmp/portage/app-emulation/qemu-kvm-1.1.0/work
>>> Preparing source in /var/tmp/portage/app-emulation/qemu-kvm-1.1.0/work/qemu-kvm-1.1.0 ...
 * Converting shebang in '/var/tmp/portage/app-emulation/qemu-kvm-1.1.0/work/qemu-kvm-1.1.0/scripts/kvm/kvm_stat'
 * Applying various patches (bugfixes/updates) ...
 *   0001-Add-query-events-command-to-QMP-to-query-async-event.patch ...                                                                                                                 [ ok ]
 *   0002-qemu-kvm-Add-missing-default-machine-options.patch ...                                                                                                                         [ ok ]
 *   0003-qemu-kvm-virtio-Do-not-register-mask-notifiers-witho.patch ...                                                                                                                 [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/qemu-kvm-1.1.0/work/qemu-kvm-1.1.0 ...
 * Building the following softmmu targets:  i386-softmmu x86_64-softmmu
 * Building the following user targets:  i386-linux-user x86_64-linux-user
PIE not available due to missing toolchain support
 * ERROR: app-emulation/qemu-kvm-1.1.0 failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_configure
 *   environment, line 5811:  Called die
 * The specific snippet of code:
 *       ./configure --prefix=/usr --sysconfdir=/etc --disable-bsd-user --disable-libiscsi --disable-strip --disable-werror --enable-guest-agent --enable-pie --enable-vnc-jpeg --enable-vnc-png --enable-vnc-thread --python=python2 $(use_enable aio linux-aio) $(use_enable bluetooth bluez) $(use_enable brltty brlapi) $(use_enable curl) $(use_enable debug debug-info) $(use_enable debug debug-mon) $(use_enable debug debug-tcg) $(use_enable doc docs) $(use_enable fdt) $(use_enable kernel_linux kvm) $(use_enable kernel_linux kvm-device-assignment) $(use_enable kernel_linux nptl) $(use_enable kernel_linux uuid) $(use_enable ncurses curses) $(use_enable opengl) $(use_enable rbd) $(use_enable sasl vnc-sasl) $(use_enable sdl) $(use_enable smartcard smartcard) $(use_enable smartcard smartcard-nss) $(use_enable spice) $(use_enable tci tcg-interpreter) $(use_enable tls vnc-tls) $(use_enable usbredir usb-redir) $(use_enable vde) $(use_enable vhost-net) $(use_enable xattr attr) $(use_enable xattr virtfs) $(use_enable xen) $(use_enable xfs xfsctl) --audio-drv-list="${audio_opts}" --target-list="${softmmu_targets} ${user_targets}" --cc="$(tc-getCC)" --host-cc="$(tc-getBUILD_CC)" ${conf_opts} || die "configure failed";
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/qemu-kvm-1.1.0'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-kvm-1.1.0'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-kvm-1.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-kvm-1.1.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/qemu-kvm-1.1.0/work/qemu-kvm-1.1.0'
 * S: '/var/tmp/portage/app-emulation/qemu-kvm-1.1.0/work/qemu-kvm-1.1.0'

>>> Failed to emerge app-emulation/qemu-kvm-1.1.0, Log file:

>>>  '/var/tmp/portage/app-emulation/qemu-kvm-1.1.0/temp/build.log'

emerge --info:

Portage 2.2.0_alpha116 (default/linux/amd64/10.0, gcc-4.7.1, glibc-2.15-r2, 3.5.0-rc6 x86_64)
=================================================================
System uname: Linux-3.5.0-rc6-x86_64-AMD_Athlon-tm-_II_P320_Dual-Core_Processor-with-gentoo-2.1
Timestamp of tree: Tue, 10 Jul 2012 11:30:01 +0000
app-shells/bash:          4.2_p29
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.6.3, 4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2::local
Repositories: gentoo x11 kde toolchain local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 AdobeFlash-10.3 googleearth Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=amdfam10 -fpredictive-commoning -fgcse-after-reload -ftree-vectorize -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles metadata-transfer news parallel-fetch parse-eapi-ebuild-head preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,combreloc"
LINGUAS="de en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/kde /usr/local/portage/layman/toolchain /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl addressbook aften alsa amd64 amr apng assistant attica audiofile berkdb bluetooth bzip2 cairo calendar caps caps-ng cdda cddb chm cli consolekit cracklib crypt cups cvs cxx dbus declarative desktopglobe device-mapper dirac djvu dri dts dv dvd ebook eigen embedded emf encode exif faac faad fam ffmpeg fftw flac flash fontconfig fortran fpx gbm gdbm gif git gles1 gles2 glew gmp gold google gpm graphicsmagick graphviz gs gsl hdri iconv icu id3tag inotify ipv6 jpeg jpeg2k kate kde kdepim kipi kpathsea lame lapack latex lcms lensfun libffi libkms liblockfile libsamplerate live lm_sensors lzma lzo mad marble midi minizip mjpeg mmap mmx mng modules mp3 mp4 mpeg mpi mtp mudflap multilib musicbrainz mysql ncurses netlink networkmanager nfsidmap nfsv3 nls nptl ogg okteta openexr opengl openmp oscar otr pam panorama pcre pdf pdfimport perl plasma png policykit postscript pppd pyqt4 python python3 qt3support qt4 qthelp quicktime r600-llvm-compiler raw readline redeyes rle romio samba scanner schroedinger semantic-desktop session sift smi sndfile soundtouch spell sqlite sqlite3 sse sse2 sse3 ssl subversion svg system-sqlite taglib tcpd theora threads thumbnail tiff truetype twolame udev udis86 unicode usb v4l vamp vlc vorbis vpx webkit webp wmf x264 xattr xcb xcomposite xetex xine xml xmp xorg xscreensaver xv xvfb xvid yaz 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita plan sheets stage tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="net snapscan" USERLAND="GNU" VIDEO_CARDS="r600 radeon" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-07-11 01:50:52 UTC
Can you provide the output of "emerge --info gcc", specifically just the "Package Settings" portion?
Comment 2 Doug Goldstein (RETIRED) gentoo-dev 2012-07-11 01:58:51 UTC
This might be fixed for you in the tree using 1.12 or newer of the CVS version of the ebuild.