First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 96814
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Leverton <levertond@googlemail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
scourge.patch patch patch David Leverton 2005-06-22 16:12 0000 514 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 96814 depends on: Show dependency tree
Show dependency graph
Bug 96814 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: 2005-06-22 16:10 0000
Scourge 0.10 fails to build on AMD64 with the following error:
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I. -I./gui -I./events -I./rpg  -DBR_PTHREAD=0 -DTUXRACER_NO_ASSERT=1 -DHAVE_SDL=1 -DHAVE_SDL_MIXER=1 -DHAVE_SDL_NET=1 -I/usr/include/freetype2  -DDATA_DIR=\"/usr/share/games/scourge/data\"  -march=athlon64 -pipe -fstack-protector -fomit-frame-pointer -O2 -O2 -Wall -Wno-deprecated -fomit-frame-pointer -ffast-math -fexpensive-optimizations -I/usr/include/SDL -D_REENTRANT -c effect.cpp
effect.cpp: In member function `void Effect::drawParticle(ParticleStruct*)':
effect.cpp:523: error: call of overloaded `abs(GLfloat)' is ambiguous
/usr/include/gentoo-multilib/amd64/stdlib.h:778: note: candidates are: int abs(int)
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/cstdlib:153: note:                 long long int __gnu_cxx::abs(long long int)
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3/cstdlib:123: note:                 long int std::abs(long int)
make[3]: *** [effect.o] Error 1

Patch coming....

emerge info:
Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r11 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun  9 2005, 17:52:27)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -pipe -fstack-protector -fomit-frame-pointer -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -pipe -fstack-protector -fomit-frame-pointer -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.du.se/pub/os/gentoo http://ftp.easynet.nl/mirror/gentoo/"
LINGUAS="en_GB"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acl acpi alsa apache2 arts avi berkdb bitmap-fonts cairo cdr crypt curl dvd emacs esd flac font-server fortran gdbm gif gtk gtk2 hal imagemagick imlib java jp2 jpeg kde lcms libcaca libwww lzw lzw-tiff mad mikmod mng motif mozillamp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl png postgres python qt readline ruby samba sdl speexssl tcltk tcpd tetex theora tiff timidity truetype truetype-fonts type1-fonts usb userlocales vorbis wifi xine xml2 xmms xpmxrandr xv zlib linguas_en_GB userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #1 From David Leverton 2005-06-22 16:12:39 0000 -------
Created an attachment (id=61743) [edit]
patch

This does the same as all the other calls to abs() in the erroring file.

------- Comment #2 From Mr. Bones. 2005-06-22 17:20:57 0000 -------
fixed.  Thanks for the patch and bug report.

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