Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150937 - kqemu-0.7.2 fails to build against 2.6.17-gentoo-r8 with GCC 4.1.1
Summary: kqemu-0.7.2 fails to build against 2.6.17-gentoo-r8 with GCC 4.1.1
Status: RESOLVED TEST-REQUEST
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: 2006-10-11 16:15 UTC by Stuart Shelton
Modified: 2006-10-11 16:54 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 Stuart Shelton 2006-10-11 16:15:50 UTC
Without USE="sdl":

...
gcc -g -Wl,-shared -o qemu-i386 elfload.o main.o syscall.o mmap.o signal.o path.o osdep.o thunk.o vm86.o libqemu.a gdbstub.o   -lm
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: errno: TLS definition in /lib/libc.so.6 section .tbss mismatches non-TLS reference in libqemu.a(helper2.o)
/lib/libc.so.6: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [qemu-i386] Error 1
make[1]: Leaving directory `/var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2/i386-user'
make: *** [all] Error 1

!!! ERROR: app-emulation/kqemu-0.7.2 failed.


With USE="sdl":

>>> Compiling source in /var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2 ...
Install prefix    /usr
BIOS directory    /usr/share/qemu
binary directory  /usr/bin
Manual directory  /usr/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /var/tmp/portage/kqemu-0.7.2/work/qemu-0.7.2
C compiler        gcc
Host C compiler   gcc
make              make
host CPU          i386
host big endian   no
target list       i386-user arm-user armeb-user sparc-user ppc-user i386-softmmu ppc-softmmu sparc-softmmu x86_64-softmmu mips-softmmu
gprof enabled     no
static build      no
SDL support       no
mingw32 support   no
Adlib support     no
FMOD support      no
kqemu support     yes

KQEMU Linux module configuration:
kernel sources    /usr/src/linux
kbuild type       2.6
ERROR: QEMU requires SDL or Cocoa for graphical output
To build QEMU with graphical output configure with --disable-gfx-check
Note that this will disable all output from the virtual graphics card.

!!! ERROR: app-emulation/kqemu-0.7.2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  kqemu-0.7.2.ebuild, line 71:   Called die

!!! could not configure


"emerge --info":

Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 11 Oct 2006 19:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/chipcard2-server /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -mfpmath=sse -mmmx -msse -msse2 -fomit-frame-pointer -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="        http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo   http://ftp.heanet.ie/pub/gentoo         http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo      http://gentoo.osuosl.org        http://gentoo.oregonstate.edu "
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib accessibility acl acpi adns aio alsa amr ao arts async audiofile automount avahi avi bash-completion berkdb bitmap-fonts bluetooth bonobo browserplugin bzip2 cairo caps cdr cli crypt cscope cups curl dbus dga directfb dlloader dri dts dv dvd dvdread eds elibc_glibc encode esd ethereal evo exif expat fam fastcgi fbcon ffmpeg fftw firebird flac flash fltk fluidsynth font-server foomaticdb fortran freetds freetype gb gd gdbm ggi gif gimp glut gmp gnome gnomedb gnutls gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hal howl icc-pgo idn ieee1394 imagemagick imap imlib informix innodb input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse input_devices_void ipv6 isdnlog jack java javamail javascript jbig jms jmx jpeg jpeg2k junit kde kdeenablefinal kerberos kernel_linux krb4 ladcca lcms ldap libcaca libedit libg++ libgda libsamplerate libwww linguas_en_GB logrotate lua lzo mad maildir mailwrapper matroska mbox mcal memlimit mikmod milter mmap mmx mng modplug mono motif mozilla mp3 mpeg mpi mplayer msn mssql musepack mysql nas ncurses net netboot network nis nls nntp nptl nptlonly nsplugin numeric ocaml oci8 odbc ogg oggvorbis openal openexr opengl oss pam pam_console pango pcmcia pcre pdf pdflib perl pic plotutils png pnp portaudio postgres ppds pppd prelude python qdbm qt qt3 qt4 quicktime radius rar readline real reflection ruby samba sasl scanner sdl session shorten sid skey slang slp smartcard sndfile snmp socks5 sox spamassassin speex spell spl sqlite sse sse2 ssl startup-notification subtitles svg svga sysfs syslog t1lib tcl tcltk tcpd test tetex theora threads tiff timidity tk truetype truetype-fonts type1-fonts udev unicode urandom usb userland_GNU v4l v4l2 vcd video_cards_ati video_cards_fbdev video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vmware vidix vorbis win32codecs wmf wxwindows x264 xanim xbase xface xim xine xinerama xinetd xml xml2 xmms xorg xosd xpm xprint xscreensaver xv xvid zeo zlib"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-11 16:20:55 UTC
Eh, try with something less ancient, like 1.3.0_pre9. Thanks.
Comment 2 Stuart Shelton 2006-10-11 16:54:02 UTC
To be fair, 0.7.2 is the most recent "x86" version in portage...

I'll test the most recent to see what happens