Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143841 - games-puzzle/einstein-2.0 compile error on amd64
Summary: games-puzzle/einstein-2.0 compile error on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-13 20:30 UTC by Artem K. Jouravsky
Modified: 2006-09-28 03:23 UTC (History)
2 users (show)

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


Attachments
einstein-2.0-64bit.patch (einstein-2.0-64bit.patch,1.10 KB, patch)
2006-08-15 08:23 UTC, Thomas Cort (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Artem K. Jouravsky 2006-08-13 20:30:37 UTC
Einstein seems to be working on AMD64

Portage 2.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.17-gentoo-r4-ujo x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4-ujo x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
LINGUAS="ru"
MAKEOPTS="-j2"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa asf atm avi berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cscope dhcp dlloader doc dri ds dvd dvdr dvi dxr3 eds emboss encode epiphany ffmpeg firefox flac foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 gtkhtml hal imlib isdnlog java javascript jpeg logrotate lzw lzw-tiff mad mono mp3 mpeg ncurses nls nptl nsplugin nvidia ogg opengl pam pcre pdflib perl png pppd python qt4 quicktime readline reflection ruby sdl seamonkey session spell spl ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb video_cards_nvidia vim-with-x vorbis wmf xine xml xmms xorg xpm xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_ru userland_GNU video_cards_fbdev video_cards_vesa video_cards_vmware"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Thomas Cort (RETIRED) gentoo-dev 2006-08-15 08:22:21 UTC
I get this compile error:

formatter.cpp: In constructor 'Formatter::Formatter(unsigned char*, int)':
formatter.cpp:61: error: cast from 'void*' to 'int' loses precision
formatter.cpp: In member function 'std::wstring
Formatter::format(std::vector<ArgValue*, std::allocator<ArgValue*> >&) const':
formatter.cpp:138: error: cast from 'void*' to 'int' loses precision

I have a patch for this and will attach it to this bug.

Portage 2.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Turion(tm) 64 Mobile Technology ML-32
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo http://distfiles.gentoo.org/"
LINGUAS="en fr"
MAKEOPTS="-j2"
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://larry@rsync.larrythecow.net/gentoo-portage"
USE="amd64 X aac acpi aim alsa audacious audiofile berkdb bitmap-fonts browserplugin bzip2 cli crypt cups dbus dlloader dri encode firefox flac gdbm glut gnome gphoto2 gpm gtk gtk2 hal icq ipv6 isdnlog jabber java jpeg libg++ lua mad mikmod mono moznocompose moznoirc moznomail mp3 mpeg msn ncurses nls nocd nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl oscar pam pcre perl png ppds pppd python readline reflection session shorten sndfile spell spl ssl symlink tcpd truetype-fonts type1-fonts udev unicode userlocales vorbis wxgtk1 xface xmms xorg xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_fr userland_GNU video_cards_sis"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Thomas Cort (RETIRED) gentoo-dev 2006-08-15 08:23:26 UTC
Created attachment 94324 [details, diff]
einstein-2.0-64bit.patch
Comment 3 Tristan Heaven (RETIRED) gentoo-dev 2006-09-28 03:23:33 UTC
Fixed, thanks.