<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>49573</bug_id>
          
          <creation_ts>2004-04-30 23:09 0000</creation_ts>
          <short_desc>prboom doesn&apos;t compile on x86 with GCC 3.4</short_desc>
          <delta_ts>2004-05-31 21:48:00 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Games</component>
          <version>2004.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>48528</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>stonent@hotmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>gcc-porting@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>stonent@hotmail.com</who>
            <bug_when>2004-04-30 23:09:45 0000</bug_when>
            <thetext>Using 2.6.5-r1 Xorg-X11

p_maputl.c:328: error: conflicting types for &apos;ThingIsOnLine&apos;
p_maputl.h:85: error: previous declaration of &apos;ThingIsOnLine&apos; was here
p_maputl.c:328: error: conflicting types for &apos;ThingIsOnLine&apos;
p_maputl.h:85: error: previous declaration of &apos;ThingIsOnLine&apos; was here
make[3]: *** [p_maputl.o] Error 1
make[3]: *** Waiting for unfinished jobs....
p_map.c: In function `PIT_CheckLine&apos;:
p_map.c:370: warning: integer constant is too large for &quot;long&quot; type
p_map.c:376: warning: integer constant is too large for &quot;long&quot; type
p_map.c: In function `PIT_CheckThing&apos;:
p_map.c:431: warning: integer constant is too large for &quot;long&quot; type
p_map.c:457: warning: integer constant is too large for &quot;long&quot; type
p_map.c:497: warning: integer constant is too large for &quot;long&quot; type
p_map.c: In function `P_TryMove&apos;:
p_map.c:781: warning: integer constant is too large for &quot;long&quot; type
p_map.c: In function `PIT_RadiusAttack&apos;:
p_map.c:1715: warning: integer constant is too large for &quot;long&quot; type
p_map.c:1724: warning: integer constant is too large for &quot;long&quot; type
p_map.c: In function `PIT_ChangeSector&apos;:
p_map.c:1833: warning: integer constant is too large for &quot;long&quot; type
make[3]: Leaving directory `/var/tmp/portage/prboom-2.2.4/work/prboom-2.2.4/src&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/prboom-2.2.4/work/prboom-2.2.4/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/prboom-2.2.4/work/prboom-2.2.4&apos;
make: *** [all-recursive-am] Error 2

!!! ERROR: games-fps/prboom-2.2.4 failed.
!!! Function src_compile, Line 45, Exitcode 2
!!! (no error message)

(Note, emerged with CFLAGS=&quot;&quot; and the same error)

Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3_pre20040207-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU      1000MHz
Gentoo Base System version 1.4.9
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-march=pentium3 -O2 -pipe -fomit-frame-pointer -ffast-math -ftracer -fforce-addr&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
COMPILER=&quot;gcc3&quot;
CONFIG_PROTECT=&quot;/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/share/config /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-march=pentium3 -O2 -pipe -fomit-frame-pointer -ffast-math -ftracer -fforce-addr&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs ccache&quot;
GENTOO_MIRRORS=&quot;http://gentoo.chem.wisc.edu/gentoo http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.noved.org/ ftp://gentoo.ccccom.com ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
USE=&quot;X aalib alsa apm arts avi berkdb cdr crypt cups dvd encode esd fbdev flac foomaticdb gdbm gif gnome gpm gtk gtk2 icc imlib java jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl oggvorbis ooggvorbis opengl oss pam pcmcia pdflib perl png python qt quicktime radeon readline samba sdl slang spell sse ssl svga tcltk tcpd truetype video_cards_radeon x86 xml2 xmms xv zlib&quot;


glxinfo

name of display: :0.0
disabling TCL support
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_visual_info, GLX_EXT_visual_rating, 
    GLX_EXT_import_context, GLX_SGI_make_current_read, GLX_SGIS_multisample
client glx vendor string: SGI
client glx version string: 1.2
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context, 
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory, 
    GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method, 
    GLX_OML_sync_control, GLX_SGI_make_current_read, GLX_SGI_swap_control, 
    GLX_SGI_video_sync, GLX_SGIS_multisample, GLX_SGIX_fbconfig, 
    GLX_SGIX_visual_select_group
GLX extensions:
    GLX_ARB_get_proc_address, GLX_EXT_import_context, GLX_EXT_visual_info, 
    GLX_EXT_visual_rating, GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, 
    GLX_SGI_video_sync
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI Radeon 20030328 AGP 4x x86/MMX/SSE NO-TCL
OpenGL version string: 1.2 Mesa 5.0.2
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture, 
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression, 
    GL_ARB_texture_env_add, GL_ARB_texture_env_combine, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_transpose_matrix, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra, 
    GL_EXT_blend_color, GL_EXT_blend_logic_op, GL_EXT_blend_minmax, 
    GL_EXT_blend_subtract, GL_EXT_clip_volume_hint, 
    GL_EXT_compiled_vertex_array, GL_EXT_convolution, GL_EXT_copy_texture, 
    GL_EXT_draw_range_elements, GL_EXT_histogram, GL_EXT_packed_pixels, 
    GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_subtexture, GL_EXT_texture, 
    GL_EXT_texture3D, GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_object, 
    GL_EXT_texture_lod_bias, GL_EXT_vertex_array, GL_APPLE_packed_pixels, 
    GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once, 
    GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat, 
    GL_MESA_ycbcr_texture, GL_MESA_window_pos, GL_NV_blend_square, 
    GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_SGI_color_matrix, 
    GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess


   visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
 id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
----------------------------------------------------------------------
0x23 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x24 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x25 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x26 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x27 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x28 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x29 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2a 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2b 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x2c 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x2d 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x2e 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
0x2f 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
0x30 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
0x31 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
0x32 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>felix@hsgheli.de</who>
            <bug_when>2004-05-28 06:23:36 0000</bug_when>
            <thetext>Created an attachment (id=32201)
proposed patch

This looks like a fix for the error to me.
prboom finishes compiling and seems to run normally with it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2004-05-31 21:48:00 0000</bug_when>
            <thetext>thanks for the patch, added to cvs :)</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32201</attachid>
            <date>2004-05-28 06:23 0000</date>
            <desc>proposed patch</desc>
            <filename>prboom-2.2.4-gcc3.4.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9wX21hcHV0bC5oLm9sZAkyMDA0LTA1LTI4IDE1OjEyOjUwLjQ4MDUyMDMwNCArMDIw
MAorKysgc3JjL3BfbWFwdXRsLmgJMjAwNC0wNS0yOCAxNTowNzo0OS4xNjAzMjc5MzYgKzAyMDAK
QEAgLTgyLDcgKzgyLDcgQEAKIHZvaWQgICAgUF9TZXRUaGluZ1Bvc2l0aW9uKG1vYmpfdCAqdGhp
bmcpOwogYm9vbGVhbiBQX0Jsb2NrTGluZXNJdGVyYXRvciAoaW50IHgsIGludCB5LCBib29sZWFu
IGZ1bmMobGluZV90ICopKTsKIGJvb2xlYW4gUF9CbG9ja1RoaW5nc0l0ZXJhdG9yKGludCB4LCBp
bnQgeSwgYm9vbGVhbiBmdW5jKG1vYmpfdCAqKSk7Ci1ib29sZWFuIFRoaW5nSXNPbkxpbmUoY29u
c3QgbW9ial90ICp0LCBjb25zdCBsaW5lX3QgKmwpOyAgLyoga2lsbG91Z2ggMy8xNS85OCAqLwor
Ym9vbGVhbiBDT05TVEZVTkMgVGhpbmdJc09uTGluZShjb25zdCBtb2JqX3QgKnQsIGNvbnN0IGxp
bmVfdCAqbCk7ICAvKiBraWxsb3VnaCAzLzE1Lzk4ICovCiBib29sZWFuIFBfUGF0aFRyYXZlcnNl
KGZpeGVkX3QgeDEsIGZpeGVkX3QgeTEsIGZpeGVkX3QgeDIsIGZpeGVkX3QgeTIsCiAgICAgICAg
ICAgICAgICAgICAgICAgIGludCBmbGFncywgYm9vbGVhbiB0cmF2KGludGVyY2VwdF90ICopKTsK
IAo=
</data>        

          </attachment>
    </bug>

</bugzilla>