Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421845 - app-emulation/qemu: ABI=x32 support
Summary: app-emulation/qemu: ABI=x32 support
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo QEMU Project
URL:
Whiteboard:
Keywords:
: 484712 (view as bug list)
Depends on:
Blocks: x32
  Show dependency tree
 
Reported: 2012-06-18 20:53 UTC by Xavier Miller (RETIRED)
Modified: 2016-08-10 06:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,7.01 KB, text/plain)
2012-06-18 20:55 UTC, Xavier Miller (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller (RETIRED) gentoo-dev 2012-06-18 20:53:50 UTC
* Package:    app-emulation/qemu-1.0.1
 * Repository: gentoo
 * Maintainer: lu_zero@gentoo.org slyfox@gentoo.org,qemu@gentoo.org
 * USE:        aio alsa amd64 elibc_glibc jpeg kernel_linux multilib ncurses opengl png qemu_softmmu_targets_arm qemu_softmmu_targets_i386 qemu_softmmu_targets_x86_64 qemu_user_targets_arm qemu_user_targets_i386 qemu_user_targets_x86_64 sdl ssl threads userland_GNU vhost-net
 * FEATURES:   preserve-libs sandbox
>>> Unpacking source...
>>> Unpacking qemu-1.0.1.tar.gz to /var/tmp/portage/app-emulation/qemu-1.0.1/work
>>> Unpacking qemu-1.0-patches.tar.xz to /var/tmp/portage/app-emulation/qemu-1.0.1/work
>>> Source unpacked in /var/tmp/portage/app-emulation/qemu-1.0.1/work
>>> Preparing source in /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1 ...
 * Applying various patches (bugfixes/updates) ...
 *   0001-Handle-CPU-interrupts-by-inline-checking-of-a-flag.patch ...                                                [ ok ]
 *   0002-linux-user-fix-QEMU_STRACE-1-segfault.patch ...                                                             [ ok ]
 *   0003-linux-user-save-auxv-length.patch ...                                                                       [ ok ]
 *   0004-linux-user-add-open-hijack-infrastructure.patch ...                                                         [ ok ]
 *   0005-linux-user-fake-proc-self-maps.patch ...                                                                    [ ok ]
 *   0006-linux-user-fake-proc-self-stat-reloaded.patch ...                                                           [ ok ]
 *   0007-linux-user-fake-proc-self-auxv.patch ...                                                                    [ ok ]
 *   0008-XXX-dont-dump-core-on-sigabort.patch ...                                                                    [ ok ]
 *   0009-linux-user-fix-wait-syscall-status-returns.patch ...                                                        [ ok ]
 *   0010-Revert-linux-user-fix-wait-syscall-status-returns.patch ...                                                 [ ok ]
 *   0011-linux-user-fix-wait-syscall-status-returns.patch ...                                                        [ ok ]
 *   0012-linux-user-Fix-32-on-64-mmap-for-x86_64.patch ...                                                           [ ok ]
 *   0013-XXX-linux-user-fake-proc-self-maps-even-more.patch ...                                                      [ ok ]
 *   0014-XXX-work-around-SA_RESTART-race-with-boehm-gc-ARM-o.patch ...                                               [ ok ]
 *   0015-XXX-move-qemu-binary-lower-in-address-space-so-we-ha.patch ...                                              [ ok ]
 *   0016-linux-user-map-lower-in-address-space.patch ...                                                             [ ok ]
 *   0017-XXX-fake-proc-self-maps-also-fclose-real-file.patch ...                                                     [ ok ]
 *   0018-XXX-map-qemu-higher-again-so-we-have-space-for-brk.patch ...                                                [ ok ]
 *   0019-qemu-0.9.0.cvs-binfmt.patch ...                                                                             [ ok ]
 *   0020-qemu-cvs-alsa_bitfield.patch ...                                                                            [ ok ]
 *   0021-qemu-cvs-alsa_ioctl.patch ...                                                                               [ ok ]
 *   0022-qemu-cvs-alsa_mmap.patch ...                                                                                [ ok ]
 *   0023-qemu-cvs-gettimeofday.patch ...                                                                             [ ok ]
 *   0024-qemu-cvs-ioctl_debug.patch ...                                                                              [ ok ]
 *   0025-qemu-cvs-ioctl_nodirection.patch ...                                                                        [ ok ]
 *   0026-qemu-img-vmdk-scsi.patch ...                                                                                [ ok ]
 *   0027-qemu-nonvoid_return.patch ...                                                                               [ ok ]
 *   0028-fix-mipsn32-linux-user-builds.patch ...                                                                     [ ok ]
 *   0029-Integrating-Dynamips-and-GNS3-UDP-tunnels-Patches.patch ...                                                 [ ok ]
 *   0030-linux-user-add-binfmt-wrapper-for-argv-0-handling.patch ...                                                 [ ok ]
 *   0031-linux-user-Ignore-timer_create-syscall.patch ...                                                            [ ok ]
 *   0032-linux-user-be-silent-about-capget-failures.patch ...                                                        [ ok ]
 *   0044-do-not-deadlock-on-segfault.patch ...                                                                       [ ok ]
 * Done with patching
 * Applying qemu-1.0-unmagic-debug.patch ...                                                                          [ ok ]
 * Applying qemu-1.0-unmagic-xfsctl.patch ...                                                                         [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1 ...
 * Building the following softmmu targets:  i386-softmmu x86_64-softmmu arm-softmmu
 * Building the following user targets:  i386-linux-user x86_64-linux-user arm-linux-user
./configure --prefix=/usr --sysconfdir=/etc --disable-strip --disable-werror --disable-kvm --disable-libiscsi --enable-nptl --enable-uuid --enable-linux-user --extra-ldflags=-Wl,-z,execheap --disable-debug-info --enable-linux-aio --disable-bluez --disable-brlapi --disable-curl --disable-fdt --disable-pie --enable-vnc-jpeg --enable-curses --disable-smartcard-nss --enable-opengl --enable-vnc-png --disable-rbd --disable-vnc-sasl --enable-sdl --disable-spice --enable-vnc-tls --enable-vnc-thread --disable-vde --enable-vhost-net --disable-xen --disable-attr --disable-xfsctl --disable-darwin-user --disable-bsd-user --audio-card-list=ac97 es1370 sb16 cs4231a adlib gus hda --audio-drv-list=sdl alsa oss --target-list= i386-softmmu x86_64-softmmu arm-softmmu  i386-linux-user x86_64-linux-user arm-linux-user --cc=x86_64-gentoo-linux-gnu-gcc --host-cc=x86_64-gentoo-linux-gnu-gcc

Error: zlib check failed
Make sure to have the zlib libs and headers installed.

 * ERROR: app-emulation/qemu-1.0.1 failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_configure
 *   environment, line 5779:  Called die
 * The specific snippet of code:
 *       ./configure "$@" || die "configure failed"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/qemu-1.0.1'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/qemu-1.0.1'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/qemu-1.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/qemu-1.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1'
 * S: '/var/tmp/portage/app-emulation/qemu-1.0.1/work/qemu-1.0.1'


Reproducible: Always
Comment 1 Xavier Miller (RETIRED) gentoo-dev 2012-06-18 20:54:27 UTC
emerge --info '=app-emulation/qemu-1.0.1'
Portage 2.2.0_alpha110 (default/linux/amd64/10.0/x32, gcc-4.7.1, glibc-2.15-r2, 3.4.0-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.0-gentoo-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.1
Timestamp of tree: Mon, 18 Jun 2012 20:00:01 +0000
distcc 3.1 x86_64-gentoo-linux-gnu [disabled]
app-shells/bash:          4.2_p29
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.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.5, 1.12.1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            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 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo local pandaboard pd-overlay proaudio
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE freedist"
CBUILD="x86_64-gentoo-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
CHOST="x86_64-gentoo-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=native -mtune=native"
DISTDIR="/var/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --buildpkg --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg candy collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="fr"
MAKEOPTS="-j7"
PKGDIR="/var/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/overlay /var/lib/layman/pandaboard /var/lib/layman/pd-overlay /var/lib/layman/pro-audio"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aac acl alsa amd64 amr apng branding btrfs bzip2 cairo cdda cddb cli consolekit cracklib crypt cups cxx dbus device-mapper dri dssi encode exif fat ffmpeg fftw flac fortran gif gpm gstreamer gt3 gtk gudev hwdb iconv id3tag jack jpeg ladspa lame libsamplerate lxde mmx modules mp3 mpeg mudflap multilib ncurses nls nptl ntfs ogg opengl openmp osc pam pcre pdf png policykit pppd qt qt3support qt4 readline rubberband samba sdl session sqlite sse sse2 ssl svg tcpd threads tiff truetype udev unicode usb vorbis wmf x264 xcb xetex xorg xvid zlib" ALSA_CARDS="ice1712 hda-intel usb-audio virmidi" 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="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-af9015" 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fr" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Xavier Miller (RETIRED) gentoo-dev 2012-06-18 20:55:06 UTC
Created attachment 315711 [details]
build.log
Comment 3 SpanKY gentoo-dev 2012-09-06 05:22:17 UTC
i suspect adding x32 support to qemu will take some time
Comment 4 SpanKY gentoo-dev 2014-04-08 18:23:11 UTC
*** Bug 484712 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2014-04-08 18:23:36 UTC
Tim posted a fix to the configure for zlib checking:
https://bugs.gentoo.org/attachment.cgi?id=358882
Comment 6 Luke-Jr 2014-04-15 12:12:44 UTC
(In reply to SpanKY from comment #5)
> Tim posted a fix to the configure for zlib checking:
> https://bugs.gentoo.org/attachment.cgi?id=358882

This builds, but it segfaults if you try to run it...