I guess you could append -fsigned-char to CFLAGS for all arch in the ebuild? checking for kde-config... /usr/kde/3.2/bin/kde-config checking if char is signed... no configure: error: *** char is unsigned. Wesnoth cannot work with unsigned chars. Try with another compiler (specify it using CXX environment variable.) !!! ERROR: games-strategy/wesnoth-0.7.3 failed. !!! Function egamesconf, Line 47, Exitcode 1 !!! egamesconf failed Portage 2.0.50-r6 (default-ppc-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-mm4) ================================================================= System uname: 2.6.5-mm4 ppc 740/750 Gentoo Base System version 1.4.8 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -mcpu=750 -fno-strict-aliasing" CHOST="powerpc-unknown-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -mcpu=750 -fno-strict-aliasing" DISTDIR="/usr/portage/distfiles" FEATURES="ccache" GENTOO_MIRRORS="http://ds.thn.htu.se/linux/gentoo http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.sunet.se/pubk/os/Linux/distributions/gentoo/" MAKEOPTS="" PKGDIR="/mnt/cdrom" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg_overlay" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac aim apache2 artswrappersuid audiofile berkdb bonobo caps cddb crypt cups dnd doc encode esd evo faad fam fbcon fbdev ffmpeg flac foomaticdb freetype gatos gdbm gif gimpprint glade glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib imlib2 jabber jack jack-tmpfs java javascript jpeg kde kerberos ldap libwww mad mitshm mng mozsvg mp3 mpeg mpeg4 msn nls objc oggvorbis openal opengl oscar pam pdflib png ppc ppds pthreads python qt quicktime readline samba sasl scanner sdk sdl slang slp snmp speex spell ssl svg tcpd tetex threads tiff truetype type1 uml unicode usb utf8 xml2 xosd xv zlib" Reproducible: Always Steps to Reproduce:
Is this specific to ppc or does it need to be done for all archs?
I think the char type is different on different platforms. But it couldn't hurt to add -fsigned-char for all archs, either they have it and it doesn't matter or they need it like ppc.
yes, whether a char is signed or unsigned depends on many things ... usually on ppc, the default is unsigned, but default CFLAGS includes -fsigned-char forcing signed-char behavior onto wesnoth is ok
Added -fsigned-char to CFLAGS for all archs. Thanks for the bug report and work around. I've reported this issue upstream so hopefully they will address it in future releases.