Bug#677593: ioquake3: FTBFS on *-i386: compiler segfaults in q_math.c ByteToDir

Simon McVittie smcv at debian.org
Fri Jun 15 08:08:29 UTC 2012


Package: ioquake3
Version: 1.36+svn2224-4
Severity: serious
Justification: fails to build from source

The current version of ioquake3 doesn't build on i386 or kfreebsd-i386.

It's a security update in which q_math.c did not change, so this must have
been triggered by a change somewhere in the toolchain, either gcc or glibc.

The i386 and kfreebsd-i386 logs show the same symptoms (this excerpt is from
the i386 log):

cc -fPIC -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fsigned-char -DWITH_OPENARENA -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -m32 -DDEFAULT_BASEDIR=\"/usr/lib/ioquake3\" -DPRODUCT_VERSION=\"1.36+svn2224-4/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 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -DUSE_OPENAL -DUSE_CURL -DUSE_CODEC_VORBIS -DUSE_RENDERER_DLOPEN -DUSE_MUMBLE -DUSE_VOIP -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -funroll-loops -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fstrength-reduce -ffast-math -o build/renderer/q_math.o -c code/qcommon/q_math.c
cc -fPIC -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fsigned-char -DWITH_OPENARENA -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -m32 -DDEFAULT_BASEDIR=\"/usr/lib/ioquake3\" -DPRODUCT_VERSION=\"1.36+svn2224-4/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 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -DUSE_OPENAL -DUSE_CURL -DUSE_CODEC_VORBIS -DUSE_RENDERER_DLOPEN -DUSE_MUMBLE -DUSE_VOIP -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -funroll-loops -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fstrength-reduce -ffast-math -o build/renderer/tr_subs.o -c code/renderer/tr_subs.c
code/qcommon/q_math.c: In function 'ByteToDir':
code/qcommon/q_math.c:216:1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.7/README.Bugs> for instructions.
cc -fPIC -fvisibility=hidden -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fsigned-char -DWITH_OPENARENA -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_ICON -m32 -DDEFAULT_BASEDIR=\"/usr/lib/ioquake3\" -DPRODUCT_VERSION=\"1.36+svn2224-4/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 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -DUSE_OPENAL -DUSE_CURL -DUSE_CODEC_VORBIS -DUSE_RENDERER_DLOPEN -DUSE_MUMBLE -DUSE_VOIP -DNDEBUG -O3 -march=i586 -fomit-frame-pointer -funroll-loops -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fstrength-reduce -ffast-math -o build/renderer/sdl_glimp.o -c code/sdl/sdl_glimp.c
Preprocessed source stored into /tmp/ccY87iEE.out file, please attach this to your bugreport.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ioquake3 depends on:
ii  libc6                     2.13-33
ii  libcurl3-gnutls           7.26.0-1
ii  libgl1-mesa-glx [libgl1]  8.0.3-1
ii  libjpeg8                  8d-1
ii  libogg0                   1.3.0-4
ii  libopenal1                1:1.14-4
ii  libsdl1.2debian           1.2.15-4
ii  libspeex1                 1.2~rc1-6
ii  libspeexdsp1              1.2~rc1-6
ii  libvorbis0a               1.3.2-1.3
ii  libvorbisfile3            1.3.2-1.3
ii  zlib1g                    1:1.2.7.dfsg-11

Versions of packages ioquake3 recommends:
ii  x11-utils  7.7~1
ii  zenity     3.4.0-2

ioquake3 suggests no packages.

-- no debconf information





More information about the Pkg-games-devel mailing list