Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231299 - Merging x11-wm/wmii-3.6-r2 fails with "this code is not 64bit clean"
Summary: Merging x11-wm/wmii-3.6-r2 fails with "this code is not 64bit clean"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Desktop WM Team (OBSOLETE)
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
: 269829 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-09 14:26 UTC by Alex Alexander (RETIRED)
Modified: 2009-07-02 07:26 UTC (History)
4 users (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 Alex Alexander (RETIRED) gentoo-dev 2008-07-09 14:26:24 UTC
Trying to merge wmii results in the following error: this code is not 64bit clean.

Same error occcured with dmenu, but I was able to bypass it by overlaying and patching the dmenu ebuild, thanks to this bug report: http://bugs.gentoo.org/show_bug.cgi?id=231044

Reproducible: Always

Steps to Reproduce:
1. patch and merge dmenu's ebuild ( http://bugs.gentoo.org/show_bug.cgi?id=231044 )
2. merge wmii

Actual Results:  
Merge fails. No compilation errors, just:

* ERROR: x11-wm/wmii-3.6-r2 failed.
 * Call stack:
 *       misc-functions.sh, line 653:  Called install_qa_check
 *       misc-functions.sh, line 349:  Called die
 * The specific snippet of code:
 *                              alpha*|ia64*|powerpc64*|mips64*|sparc64*|x86_64*) die "this code is not 64bit clean";


Portage 2.2_rc1 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-glibc2.2.5
Timestamp of tree: Wed, 09 Jul 2008 11:15:02 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.4.4-r6, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-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/p
hp/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/term
info /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.uoi.gr/mirror/OS/gentoo/ ftp://ftp.cc.uoc.gr/mirrors/linux/gentoo/ "
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 audiofile bash-completion berkdb bindist bluetooth bzip2 cdio cli cracklib crypt c
ups dbus dell dri dvd exif ffmpeg flac gdbm gif gpm gtk hal iconv id3tag isdnlog jpeg jpeg2k laptop libsamplerate lyr
ics mad matroska midi mmx mp3 mpeg mudflap multilib musepack musicbrainz ncurses network nls nptl nptlonly nvidia ogg
 opengl openmp pam pcre pdf perl pmu png pppd pulseaudio python readline reflection samba session sndfile spl sse sse
2 ssl taglib tcpd threads tiff truetype unicode upnp usb v4l v4l2 vim-syntax vim-with-x vorbis wavpack wifi x264 xine
rama xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x e
ns1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfp
ci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat li
near meter 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_us
er autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers includ
e info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usert
rack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfo
ntz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRE
SS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2009-05-29 07:50:37 UTC
*** Bug 269829 has been marked as a duplicate of this bug. ***
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2009-05-29 07:56:47 UTC
On the forums (see URL) there has been a discussion about it, the culprit is to be found in mk/gcc.mk.  The -std=c99 CFLAGS setting must be removed to make it successfully compile, but according to the user it still does not run:

May 29 00:09:17 gentoo-desktop [25749.425905] wmii[17977]: segfault at 18 ip 0000000000419f24 sp 00007fffe6585c00 error 4 in wmii[400000+2d000]

CCing amd64 team to have a deeper look at it, thanks.
Comment 3 Arne Steffens 2009-06-03 16:58:44 UTC
remerging media-fonts/font-misc-misc fixed the crash for me.

Using the steps Christian Faulhammer described in the discussion on the forums (see Url) I can build and run wmii now.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2009-06-11 10:16:08 UTC
I fixed this in CVS, please test.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2009-06-11 23:48:28 UTC
http://code.google.com/p/wmii/issues/detail?id=118 explains what the proper fix is.  Until then reopening.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2009-07-02 07:26:23 UTC
Closing again, we will wait for the next release for a proper fix...it works at least.