dev-lang/gdl-0.8.11 compiles and runs fine in an amd64
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon64 -O2 -pipe -MT gdl-basic_fun.o -MD -MP -MF ".deps/gdl-basic_fun.Tpo" -c -o gdl-basic_fun.o `test -f 'basic_fun.cpp' || echo './'`basic_fun.cpp; \ then mv -f ".deps/gdl-basic_fun.Tpo" ".deps/gdl-basic_fun.Po"; else rm -f ".deps/gdl-basic_fun.Tpo"; exit 1; fi dimension.hpp: In member function 'SizeT dimension::Remove(SizeT)': dimension.hpp:164: error: 'assert' was not declared in this scope make[3]: *** [gdl-basic_fun_cl.o] Error 1 make[3]: *** Waiting for unfinished jobs.... dimension.hpp: In member function 'SizeT dimension::Remove(SizeT)': dimension.hpp:164: error: 'assert' was not declared in this scope make[3]: *** [gdl-assocdata.o] Error 1 dimension.hpp: In member function 'SizeT dimension::Remove(SizeT)': dimension.hpp:164: error: 'assert' was not declared in this scope basic_fun.cpp: In function 'BaseGDL* lib::strpos(EnvT*)': basic_fun.cpp:1478: warning: overflow in implicit constant conversion basic_fun.cpp: In function 'BaseGDL* lib::strmid(EnvT*)': basic_fun.cpp:1510: warning: overflow in implicit constant conversion make[3]: *** [gdl-basic_fun.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gdl-0.8.11/work/gdl-0.8.11/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gdl-0.8.11/work/gdl-0.8.11/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gdl-0.8.11/work/gdl-0.8.11' make: *** [all] Error 2 !!! ERROR: dev-lang/gdl-0.8.11 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile gdl-0.8.11.ebuild, line 46: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r6 x86_64) ================================================================= System uname: 2.6.18-gentoo-r6 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.6 Last Sync: Sun, 14 Jan 2007 17:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.18 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/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/var/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoaddcvs autoconfig ccache collision-protect cvs distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv" GENTOO_MIRRORS="ftp://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://mirror.datapipe.net/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/" LINGUAS="en en_US" MAKEOPTS="-j3" 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="/etc/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 acpi alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 bash-completion berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cli cracklib crosscompile crypt cups curl dbus dlloader dri dts dvd dvdr dvdread elibc_glibc emboss encode expat fam ffmpeg firefox foomaticdb fortran gd gdbm gif gmp gtk gtk2 hal hou iconv imlib input_devices_keyboard input_devices_mouse ipod isdnlog javascript jpeg kernel_linux libg++ linguas_en linguas_en_US lirc_devices_streamzap lzo lzw mad matroska mng mozilla mozsvg mp3 mpeg mplayer music ncurses nowin nptl nptlonly nsplugin nvidia ogg openal opengl oss pam pcre php png ppds pppd qt3 qt4 readline reflection sdl seamonkey session slang sou source sox spl ssl svg tcpd transcode truetype truetype-fonts type1-fonts udev usb userland_GNU userlocales v4l v4l2 vhosts video_cards_nv video_cards_nvidia videos vorbis xml xorg xpm xprint xscreensaver xsl xv xvid xvmc zlib" Unset: CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS