First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 48326
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ernst Persson <ernstp@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 48326 depends on: Show dependency tree
Show dependency graph
Bug 48326 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-19 08:32 0000
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:

------- Comment #1 From Mr. Bones. 2004-04-19 18:28:29 0000 -------
Is this specific to ppc or does it need to be done for all archs?

------- Comment #2 From Ernst Persson 2004-04-20 01:49:08 0000 -------
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.

------- Comment #3 From SpanKY 2004-04-20 09:55:05 0000 -------
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

------- Comment #4 From Mr. Bones. 2004-04-20 23:43:50 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug