Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125000 - games-fps/doomsday-1.8.6 fails (gcc4)
Summary: games-fps/doomsday-1.8.6 fails (gcc4)
Status: RESOLVED FIXED
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: 117482
  Show dependency tree
 
Reported: 2006-03-04 12:08 UTC by Patrizio Bassi
Modified: 2010-01-24 20:39 UTC (History)
1 user (show)

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 Patrizio Bassi 2006-03-04 12:08:56 UTC
another gcc4 problem...

 i686-pc-linux-gnu-gcc -DUNIX -DGNU_X86_FIXED_ASM -D__JDOOM__ -I. -I. -I../.. -I../../Include/jDoom -I../../Include/Common -I../../Include -Wunused-variable -Wunused-function -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -MT p_setup.lo -MD -MP -MF .deps/p_setup.Tpo -c p_setup.c  -fPIC -DPIC -o .libs/p_setup.o
p_setup.c: In function 'P_LoadVertexes':
p_setup.c:77: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
p_setup.c:77: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
p_setup.c:77: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
p_setup.c:77: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
p_setup.c:77: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
p_setup.c:77: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
p_setup.c:77: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
p_setup.c:77: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness
p_setup.c:87: error: invalid lvalue in assignment
p_setup.c: In function 'P_LoadSegs':
p_setup.c:135: error: invalid lvalue in assignment
p_setup.c: In function 'P_LoadSegsGL':
p_setup.c:176: error: invalid lvalue in assignment
p_setup.c: In function 'P_LoadSubsectors':
p_setup.c:242: error: invalid lvalue in assignment
p_setup.c: In function 'P_LoadSectors':
p_setup.c:269: error: invalid lvalue in assignment
p_setup.c: In function 'P_LoadNodes':
p_setup.c:304: error: invalid lvalue in assignment
p_setup.c: In function 'P_LoadLineDefs':
p_setup.c:395: error: invalid lvalue in assignment
make: *** [p_setup.lo] Error 1


here the problem is:


Src/jDoom/p_setup.c

line 269

sectors = Z_Malloc(numsectors * sizeof(sector_t), PU_LEVEL, 0);

all errors are equals...
Comment 1 Patrizio Bassi 2006-03-14 01:45:03 UTC
same problem with 4.1.0 (of course!)
Comment 2 zyprexa 2006-03-26 09:49:22 UTC
Same issue for me, with gcc-4.1.

My emerge --info : 

Portage 2.1_pre7 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16-ck1 i686)
=================================================================
System uname: 2.6.16-ck1 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mir1.ovh.net/gentoo-distfiles/ ftp://mir1.ovh.net/gentoo-distfiles/ ftp://194.117.143.69/mirrors/gentoo"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi bash-completion bitmap-fonts cli crypt ctype cups dba dga dri eds emboss encode expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif gpm gstreamer gtk gtk2 imlib ithreads jpeg libg++ libwww mad memlimit mmx mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix python quicktime readline sdl session simplexml soap sockets spell spl sse ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode vorbis xml xsl xv zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_evdev kernel_linux linguas_fr linguas_fr_FR userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS
Comment 3 Stephen C. 2006-03-31 13:30:13 UTC
Doomsday 1.8.6 contains depreciated (illegal) lvalue assignments in its code.  This has been fixed in the Doomsday 1.9.0 beta series, which compiles cleanly with GCC4.x.

1.9.0beta isn't in Portage yet though, unfortunately; I just compiled and installed it by hand.
Comment 4 Patrizio Bassi 2006-03-31 23:28:37 UTC
so let's ask mainteiner to bump to 1.9.0beta.please
Comment 5 SpanKY gentoo-dev 2006-04-21 23:12:44 UTC
1.9.0_beta3 now in portage
Comment 6 Patrizio Bassi 2006-04-22 03:35:23 UTC
i tested and it works.

only one thing: it's masked due to 1.8.6 security problems, please unmask 1.9.0 release.