Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262335 - app-emulation/kqemu-1.4.0_pre1 - code model 'kernel' not supported in the 64 bit mode
Summary: app-emulation/kqemu-1.4.0_pre1 - code model 'kernel' not supported in the 64 ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 01:29 UTC by Binary Runner
Modified: 2009-05-16 02:38 UTC (History)
1 user (show)

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


Attachments
kqemu-1.4.0_pre1 :: build.log (build.log,2.58 KB, text/plain)
2009-05-16 02:27 UTC, Another Mortal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Binary Runner 2009-03-13 01:29:38 UTC
Unmasked qemu for gcc4 support, it rquired kqemu unmask too.
Now the upgrade to unstable kqemu ends with:

 >>> Starting src_compile
Source path       /var/tmp/paludis/app-emulation-kqemu-1.4.0_pre1/work/kqemu-1.4.0pre1
C compiler        x86_64-pc-linux-gnu-gcc
Host C compiler   x86_64-pc-linux-gnu-gcc
make              make
host CPU          x86_64

kernel sources    /usr/src/linux
kbuild type       2.6
make -C common all
make[1]: Entering directory `/var/tmp/paludis/app-emulation-kqemu-1.4.0_pre1/work/kqemu-1.4.0pre1/common'
x86_64-pc-linux-gnu-gcc -Wall -O2  -g -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing   -mno-red-zone -march=athlon64 -mtune=athlon64 -O2 -pipe -fPIC -mno-tls-direct-seg-refs -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing   -mno-red-zone -mcmodel=kernel -march=athlon64 -mtune=athlon64 -O2 -pipe -fPIC -mno-tls-direct-seg-refs -Wall -O2 -fomit-frame-pointer -fno-strict-aliasing   -mno-red-zone -D__KERNEL__ -I.. -o genoffsets genoffsets.c
genoffsets.c:1: sorry, unimplemented: code model kernel not supported in PIC mode
genoffsets.c:1: error: code model 'kernel' not supported in the 64 bit mode
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-14 12:19:09 UTC
Please post you "emerge --info".
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-14 12:21:05 UTC
Oh, and please attach the build.log file to this bugreport as well.

Reopen this bug when you provide the necessary information.
Comment 3 Binary Runner 2009-03-17 00:18:42 UTC
emerge --info:

System uname: Linux-2.6.27-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-glibc2.2.5
Timestamp of tree: Sun, 15 Mar 2009 15:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.3.6-r6, 2.4.4-r8, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
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.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer nostrip paralell-fetch parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.mneisen.org/gentoo http://gentoo.mneisen.org/ http://213.186.33.37/gentoo-distfiles/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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="/opt/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnowext X aac accessibility acl acpi alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dedicated dri dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jack jikes jpeg ldap libnotify mad midi mikmod mmx mmxext mp3 mpeg mudflap multilib musepack ncurses nls nptl nptlonly ogg opengl openmp oss pam pch pcre pdf perl png portaudio ppds pppd python qt3support qt4 quicktime readline reflection rtc sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis xinerama xml xorg xulrunner xv zlib" ALSA_CARDS="intel8x0 virmidi" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks                   iec958 ioplug ladspa lfloat linear meter 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia v4l vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Another Mortal 2009-05-16 02:27:08 UTC
Created attachment 191439 [details]
kqemu-1.4.0_pre1 :: build.log

Same error here...
Comment 5 Another Mortal 2009-05-16 02:38:12 UTC
I tried to reopen this bug after having supplied additional info
as suggested in #2, but I don't have sufficient rights...