Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66661 - duke3d-20040817 compilation crashes
Summary: duke3d-20040817 compilation crashes
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 08:48 UTC by Aben Siatris
Modified: 2004-10-20 01:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aben Siatris 2004-10-07 08:48:07 UTC
duke3d-20040817 compilation crashes

Reproducible: Always
Steps to Reproduce:
1.emerge duke3d
Actual Results:  
>>> emerge (1 of 1) games-fps/duke3d-20040817 to /
>>> md5 src_uri ;-) duke3d-20040817.tar.bz2
>>> Unpacking source...
>>> Unpacking duke3d-20040817.tar.bz2 to /var/tmp/portage/duke3d-20040817/work
 * Applying 20040817-endian.patch...                                           
                                                                 [ ok ]
 * Applying 20040817-credits.patch...                                          
                                                                 [ ok ]
 * Applying 20040817-duke3d-makefile-opts.patch...                             
                                                                 [ ok ]
 * Applying 20040817-gcc34.patch...                                            
                                                                 [ ok ]
x86
>>> Source unpacked.
gcc -c -o build.o build.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char-DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
gcc -c -o bstub.o bstub.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char-DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
gcc -c -o engine.o engine.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
gcc -c -o cache1d.o cache1d.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
cache1d.c: In function `kdfread':
cache1d.c:654: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:655: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:656: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:657: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:658: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c: In function `dfread':
cache1d.c:723: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:724: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:725: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:726: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:727: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -c -o sdl_driver.o sdl_driver.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
cache1d.c: In function `dfwrite':
cache1d.c:795: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:796: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:797: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:798: warning: dereferencing type-punned pointer will break
strict-aliasing rules
cache1d.c:799: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -c -o unix_compat.o unix_compat.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
sdl_driver.c: In function `init_new_res_vars':
sdl_driver.c:373: warning: dereferencing type-punned pointer will break
strict-aliasing rules
nasm -f elf  -o a_nasm.o a_nasm.asm
gcc -c -o pragmas.o pragmas.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
pragmas.c: In function `clearbufbyte':
pragmas.c:61: warning: use of cast expressions as lvalues is deprecated
pragmas.c:62: warning: use of cast expressions as lvalues is deprecated
pragmas.c:66: warning: use of cast expressions as lvalues is deprecated
pragmas.c:69: warning: use of cast expressions as lvalues is deprecated
pragmas.c:73: warning: use of cast expressions as lvalues is deprecated
pragmas.c:77: warning: use of cast expressions as lvalues is deprecated
pragmas.c:80: warning: use of cast expressions as lvalues is deprecated
pragmas.c: In function `qinterpolatedown16short':
pragmas.c:125: warning: use of cast expressions as lvalues is deprecated
gcc -c -o a_gnu.o a_gnu.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char-DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
gcc -c -o buildgl.o buildgl.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
buildgl.c: In function `opengl_load_symbols':
buildgl.c:79: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:80: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:81: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:82: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:83: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:84: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:85: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:86: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:87: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:88: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:89: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:90: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:91: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:92: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:93: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:94: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:95: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:96: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:97: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:98: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:99: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:100: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:101: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:102: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:103: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:104: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:105: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:106: warning: dereferencing type-punned pointer will break
strict-aliasing rules
buildgl.c:107: warning: dereferencing type-punned pointer will break
strict-aliasing rules
gcc -c -o game.o game.c -O2 -march=pentium3 -mcpu=pentium3 -fomit-frame-pointer
-fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4
-fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx -DUSE_OPENGL
-I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
gcc -c -o mmulti.o mmulti.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer
gcc -c -o buildperl.o buildperl.c -O2 -march=pentium3 -mcpu=pentium3
-fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr
-falign-functions=4 -fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx
-DUSE_OPENGL -I/usr/X11R6/include -DUSE_PERL -DUDP_NETWORKING=1 -DUSE_I386_ASM
-funsigned-char  -DPLATFORM_UNIX -Wall -I/usr/include/SDL -D_REENTRANT
-fno-omit-frame-pointer  -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/lib/perl5/5.8.4/i686-linux-thread-multi/CORE
buildperl.c: In function `buildperl_init':
buildperl.c:52: error: `my_perl' undeclared (first use in this function)
buildperl.c:52: error: (Each undeclared identifier is reported only once
buildperl.c:52: error: for each function it appears in.)
buildperl.c: In function `buildperl_frame':
buildperl.c:77: error: `my_perl' undeclared (first use in this function)
make: *** [buildperl.o] Error 1
make: *** Waiting for unfinished jobs....
engine.c: In function `loadpalette':
engine.c:3291: warning: dereferencing type-punned pointer will break
strict-aliasing rules
engine.c:3293: warning: dereferencing type-punned pointer will break
strict-aliasing rules

!!! ERROR: games-fps/duke3d-20040817 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! buildengine failed


Portage 2.0.50-r11 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1,
2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Celeron(TM) CPU                1300MHz
Gentoo Base System version 1.5.3
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -fomit-frame-pointer
-fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4
-fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -mcpu=pentium3 -fomit-frame-pointer
-fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4
-fprefetch-loop-arrays -funroll-loops -pipe -msse -mmmx"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest prelink sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://212.219.247.18/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apm arts avantgo avi berkdb bindist bitmap-fonts bluetooth
bonobo cdr cjk crypt cups curl dga directfb divix4linux dvb dvd dvdread encode
esd fbcon flash foomaticdb gdbm ggi gif gnome gpm gtk gtk2 gtkhtml guile imlib
innodb jabber java javascript jpeg kde libg++ libwww mad maildir mikmod mmx
motif mozilla mpeg mysql nas ncurses network nls nv nvidia odbc oggvorbis opengl
pam pda pdflib perl png postgres python qt quicktime readline ruby samba sdl
slang spell sse ssl svg tcltk tcpd threads tiff truetype unicode v4l v4l2 wifi
x86 xkb xml xml2 xmms xprint xv xvid zlib"
Comment 1 Aben Siatris 2004-10-20 01:49:38 UTC
turning off distcc solved it.
sorry for bothering.