Bug#701561: ioquake3: FTBFS on powerpcspe

Roland Stigge stigge at antcom.de
Sun Feb 24 13:19:04 UTC 2013


Package: ioquake3
Version: 1.36+svn2287-1
Severity: wishlist
Tags: patch sid
User: debian-powerpcspe at breakpoint.cc
Usertags: powerpcspe

Hi,

ioquake3 currently FTBFS on powerpcspe[1] like this:

[...]
make[4]: Entering directory `/«BUILDDIR»/ioquake3-1.36+svn2287'
cc  -DDEDICATED -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fsigned-char -DWITH_OPENARENA -D_FORTIFY_SOURCE=2 -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -maltivec -DDEFAULT_BASEDIR=\"/usr/lib/ioquake3\" -DPRODUCT_VERSION=\"1.36+svn2287-1/Debian\" -Wformat=2 -Wno-format-zero-length -Wformat-security -Wno-format-nonliteral -Wstrict-aliasing=2 -Wmissing-format-attribute -Wdisabled-optimization -Werror-implicit-function-declaration -MMD -DUSE_VOIP -DNDEBUG -O3 -funroll-loops -fomit-frame-pointer -ffast-math -o build/ded/sv_bot.o -c code/server/sv_bot.c
code/server/sv_bot.c:1:0: error: AltiVec and E500 instructions cannot coexist
make[4]: *** [build/ded/sv_bot.o] Error 1
[...]

This is due to PowerPC/Altivec code that doesn't work on powerpcspe.

Attaching a patch that fixes this by omitting the respective instructions
on powerpcspe.

Thanks,

Roland


[1] http://wiki.debian.org/PowerPCSPEPort


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.7.0 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/dash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ioquake3.patch
Type: text/x-diff
Size: 1608 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20130224/ad558eea/attachment.patch>


More information about the Pkg-games-devel mailing list