Bug 10074 - fix rebuild of quake2
: fix rebuild of quake2
Status: CLOSED FIXED
: Sisyphus
(All bugs in Sisyphus/quake2)
: unstable
: all Linux
: P2 normal
Assigned To:
:
:
:
:
:
  Show dependency tree
 
Reported: 2006-10-02 18:59 by
Modified: 2006-11-30 21:56 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-10-02 18:59:33
Last rebuild log:
/bin/sh ../libtool --tag=CC --mode=compile i586-alt-linux-gcc -DHAVE_CONFIG_H
-I. -I. -I..    -pipe  -Wall -Werror  -ffast-math -funroll-loops
-fomit-frame-pointer -fexpensive-optimizations -falign-loops=2 -falign-jumps=2
-falign-functions=2 -fPIC  -pipe -Wall -O6 -march=i586 -mtune=pentium4
-falign-loops=2 -falign-jumps=2 -falign-functions=2 -mpreferred-stack-boundary=2
-fomit-frame-pointer -ffast-math -c -o ref_glx_la-gl_image.lo `test -f
'gl_image.c' || echo './'`gl_image.c
 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -Wall -Werror -ffast-math
-funroll-loops -fomit-frame-pointer -fexpensive-optimizations -falign-loops=2
-falign-jumps=2 -falign-functions=2 -fPIC -pipe -Wall -O6 -march=i586
-mtune=pentium4 -falign-loops=2 -falign-jumps=2 -falign-functions=2
-mpreferred-stack-boundary=2 -fomit-frame-pointer -ffast-math -c gl_image.c
 -fPIC -DPIC -o .libs/ref_glx_la-gl_image.o
cc1: warnings being treated as errors
gl_image.c: In function 'GL_InitImages':
gl_image.c:1559: warning: dereferencing type-punned pointer will break
strict-aliasing rules
make[3]: *** [ref_glx_la-gl_image.lo] Error 1
make[3]: Leaving directory `/usr/src/RPM/BUILD/quake2-0.3.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/quake2-0.3.0/src'
make[1]: *** [all-recursive] Error 1make[1]: Leaving directory
`/usr/src/RPM/BUILD/quake2-0.3.0'

make: *** [all] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/quake2-0.3.0'
error: Bad exit status from /usr/src/tmp/rpm-tmp.76256 (%build)

RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.76256 (%build)
93.63user 17.20system 1:45.54elapsed 105%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (790302major+1299199minor)pagefaults 0swaps
rebuild: rebuild of `quake2-0.3.0-alt2.src.rpm' failed.
------- Comment #1 From 2006-10-02 21:32:36 -------
Тут фиксить-то...
------- Comment #2 From 2006-10-02 21:48:52 -------
А слабо починитьчто бы оно собиралось с теми же флагами по умолчнанию? т.е.
-Wall -Werror? :)
------- Comment #3 From 2006-10-02 21:53:19 -------
Я не понимаю, зачем игрушке -Werror.
Впрочем ответ на этот вопрос - поставить -fno-strict-aliasing
------- Comment #4 From 2006-10-02 23:46:07 -------
Решено добавлением --disable-warn.
------- Comment #5 From 2006-11-30 21:56:09 -------
Вроде fixed?