Bug 10074 - fix rebuild of quake2
Summary: fix rebuild of quake2
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: quake2 (show other bugs)
Version: unstable
Hardware: all Linux
: P2 normal
Assignee: Andrey Rahmatullin
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-02 18:59 MSD by Igor Zubkov
Modified: 2006-11-30 21:56 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Zubkov 2006-10-02 18:59:33 MSD
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 Andrey Rahmatullin 2006-10-02 21:32:36 MSD
Тут фиксить-то...
Comment 2 Igor Zubkov 2006-10-02 21:48:52 MSD
А слабо починитьчто бы оно собиралось с теми же флагами по умолчнанию? т.е.
-Wall -Werror? :)
Comment 3 Andrey Rahmatullin 2006-10-02 21:53:19 MSD
Я не понимаю, зачем игрушке -Werror.
Впрочем ответ на этот вопрос - поставить -fno-strict-aliasing
Comment 4 Andrey Rahmatullin 2006-10-02 23:46:07 MSD
Решено добавлением --disable-warn.
Comment 5 Igor Zubkov 2006-11-30 21:56:09 MSK
Вроде fixed?