Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242464 - qt-core fails to build with 64-bit kernel and 32-bit userland
Summary: qt-core fails to build with 64-bit kernel and 32-bit userland
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-17 12:27 UTC by Allen Brooker (AllenJB)
Modified: 2008-10-17 19:07 UTC (History)
1 user (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 Allen Brooker (AllenJB) 2008-10-17 12:27:20 UTC
I've just run into the same issue as closed bug #223139 on a xen guest w/ 32-bit userland / 64-bit domU kernel. (The xen dom0 is 64-bit, but that shouldn't matter)

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-libs/qt-core-4.4.2/work/qt-x11-opensource-src-4.4.2 ...
./configure -no-pch -release -no-separate-debug-info -arch i386 -stl -verbose -largefile -confirm-license -no-rpath -prefix /usr -bindir /usr/bin -libdir /usr/lib/qt4 -datadir /usr/share/qt4 -docdir /usr/share/doc/qt-4.4.2 -headerdir /usr/include/qt4 -plugindir /usr/lib/qt4/plugins -sysconfdir /etc/qt4 -translationdir /usr/share/qt4/translations -examplesdir /usr/share/qt4/examples -demosdir /usr/share/qt4/demos -silent -fast -reduce-relocations -nomake examples -nomake demos -no-glib -openssl -no-qt3support -no-xkb -no-tablet -no-fontconfig -no-xrender -no-xrandr -no-xfixes -no-xcursor -no-xinerama -no-xshape -no-sm -no-opengl -no-nas-sound -no-dbus -iconv -no-cups -no-nis -no-gif -no-libpng -no-libmng -no-libjpeg -system-zlib -no-webkit -no-phonon -no-xmlpatterns -no-freetype -no-libtiff -no-accessibility -no-fontconfig -no-opengl -no-svg -nomake docs

This is the Qt/X11 Open Source Edition.

Determining system architecture... (Linux:2.6.21-xen:x86_64)
    64-bit AMD 80x86 (x86_64)
    'i386' is supported
    'x86_64' is supported
System architecture: 'i386'
Symbol visibility control enabled.
Symbolic function binding enabled.
You are licensed to use this software under the terms of
the GNU General Public License (GPL) versions 2 or 3.

You have already accepted the terms of the  license.

Creating qmake. Please wait...
project.cpp:1: sorry, unimplemented: 64-bit mode not compiled in
gmake: *** [project.o] Error 1
 *
 * ERROR: x11-libs/qt-core-4.4.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2721:  Called qt4-build_src_compile
 *             environment, line 2498:  Called die
 * The specific snippet of code:
 *       ./configure ${myconf} || die "./configure failed";
 *  The die message:
 *   ./configure failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/x11-libs:qt-core-4.4.2:20081017-113724.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-core-4.4.2/temp/environment'.
 *


Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.21-xen x86_64)
=================================================================
System uname: 2.6.21-xen x86_64 AMD Athlon(tm) 64 Processor 3000+
Timestamp of tree: Fri, 17 Oct 2008 11:30:04 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.7.9-r1, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d /usr/share/X11/xkb"
CXXFLAGS="-O2 -march=i686 -pipe -mno-tls-direct-seg-refs"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="-vat --with-bdeps=y --alphabetical"
FEATURES="buildpkg collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="         http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo         http://mirror.switch.ch/mirror/gentoo/         http://pandemonium.tiscali.de/pub/gentoo/ "
LANG="en_GB"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/mnt/portage/local/rsync_excludes"
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="/mnt/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 bash-completion bzip2 cli cracklib crypt cups dri fortran iconv ipv6 isdnlog ithreads midi mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd threads unicode vhosts webdev-neon x86 xorg 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

[ebuild  N    ]  x11-libs/qt-core-4.4.2  USE="-debug -doc -glib -pch -qt3support ssl" 0 kB
Comment 1 Zac Medico gentoo-dev 2008-10-17 19:07:30 UTC
(In reply to comment #0)
> Portage 2.1.4.5 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0,
> 2.6.21-xen x86_64)
> =================================================================
> System uname: 2.6.21-xen x86_64 AMD Athlon(tm) 64 Processor 3000+

You must use the 'linux32' command to adjust your uname when building in a 32-bit userland with a 64-bit kernel.