Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 290269

Summary: app-emulation/qemu-0.11.0: #error unsupported target CPU
Product: Gentoo Linux Reporter: Harald van Dijk (RETIRED) <truedfx>
Component: Current packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: kanelxake
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: qemu-lc_ctype.patch

Description Harald van Dijk (RETIRED) gentoo-dev 2009-10-23 17:51:01 UTC
[...]
  CC    i386-softmmu/cpu-exec.o
/var/tmp/portage/app-emulation/qemu-0.11.0/work/qemu-0.11.0/cpu-exec.c:254:2: error: #error unsupported target CPU
/var/tmp/portage/app-emulation/qemu-0.11.0/work/qemu-0.11.0/cpu-exec.c:717:2: error: #error unsupported target CPU
make[1]: *** [cpu-exec.o] Error 1
make: *** [subdir-i386-softmmu] Error 2
 * ERROR: app-emulation/qemu-0.11.0 failed:

I suspect this is because of Turkish LC_CTYPE; I'm looking into it.

Portage 2.2_rc46 (default/linux/x86/2008.0/desktop/multilib, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-gentoo-r3 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r3-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Fri, 23 Oct 2009 16:45:01 +0000
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--noconfmem --verbose --with-bdeps=y"
FEATURES="assume-digests autopatch fixpackages news notitles preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Xlinker -O1 -Xlinker --as-needed"
LINGUAS="*"
MAKEOPTS="-j1"
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"
PORTDIR_OVERLAY="/etc/portage/layman/java-overlay /etc/portage/layman/sunrise /etc/portage/crossdev /etc/portage/overlay /var/cvs/gentoo-x86"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi alsa apache2 berkdb bindist bzip2 cairo cdda cdparanoia cdr cjk cli consolekit cracklib crypt cups cvs dbus demo dri dts dvd dvdr eds emacs emboss encode evo fam ffmpeg firefox flac gcc64 gdbm gif git gnome gnome-keyring gstreamer gtk hal iconv inotify ipv6 isdnlog ithreads java5 java6 javascript jit jpeg kde kvm latex lcms libnotify mad mbox mikmod mmx mmxext mng mp3 mp4 mpeg mudflap multilib ncurses nls nocxx normalize nptl nptlonly nsplugin ntfs ogg opengl openmp oss pam pcre pdf perl pic png postgres ppds pppd preview-latex python qt3support qt4 quicktime radio rdp readline reflection samba sdl session smbclient spell spl sql sse sse2 ssl startup-notification subversion svg swat symlink sysfs tcl tcpd theora threads thunar tidy tiff timidity tk tokenizer toolkit-scroll-bars truetype udev unicode usb v4l v4l2 vhosts videos vim-syntax vorbis webkit x264 x86 xattr xcomposite xml xorg xscreensaver xulrunner xv xvid 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="*" USERLAND="GNU" VIDEO_CARDS="vesa" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2009-10-23 18:50:54 UTC
Created attachment 208029 [details, diff]
qemu-lc_ctype.patch

Yep, this is triggered by Turkish LC_CTYPE. With this patch, qemu compiles, installs and runs without problems for me.
Comment 2 Xake 2009-11-12 13:01:46 UTC
(In reply to comment #1)
> Created an attachment (id=208029) [details]
> qemu-lc_ctype.patch
> 
> Yep, this is triggered by Turkish LC_CTYPE. With this patch, qemu compiles,
> installs and runs without problems for me.
> 

Sent upstream?
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2009-11-12 18:07:07 UTC
Nope. When I report a bug here, I generally don't bring it upstream myself unless requested by one of the maintainers.
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2012-12-05 21:24:08 UTC
Is this fixed in newer versions for you?