<?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>132481</bug_id>
          
          <creation_ts>2006-05-06 11:39 0000</creation_ts>
          <short_desc>media-libs/allegrogl-0.2.4-r1 fails to build with GCC4</short_desc>
          <delta_ts>2006-05-28 14:43:05 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>GCC Porting</component>
          <version>2006.0</version>
          <rep_platform>All</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>117482</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>avuton@gmail.com</reporter>
          <assigned_to>games@gentoo.org</assigned_to>
          <cc>sound@gentoo.org</cc>
    
    <cc>th_veith@web.de</cc>

      

      
          <long_desc isprivate="0">
            <who>avuton@gmail.com</who>
            <bug_when>2006-05-06 11:39:18 0000</bug_when>
            <thetext>x86_64-pc-linux-gnu-gcc -o obj/unix/release/scrmode.o -Iinclude -Iinclude/allegrogl -Iinclude/allegrogl/GLext -I/usr/include  -O2 -Wall -ffast-math -fomit-frame-pointer -fPIC -c src/scrmode.c                                                                          
src/scrmode.c:97: error: static declaration of &apos;__allegro_gl_memory&apos; follows non-static declaration                                                                                                                                                                      
include/alleggl.h:446: error: previous declaration of &apos;__allegro_gl_memory&apos; was here                                                                                                                                                                                     
src/scrmode.c: In function &apos;agl_write_line_c&apos;:                                                                                                                                                                                                                           
src/scrmode.c:146: warning: cast from pointer to integer of different size                                                                                                                                                                                               
make: *** [obj/unix/release/scrmode.o] Error 1

emerge --info:
Portage 2.1_pre10-r3 (!/usr/portage/profiles/default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-ck9 x86_64)
=================================================================
System uname: 2.6.16-ck9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.0_pre19
distcc[18964] (dcc_mkdir) ERROR: mkdir /var/tmp/portage/.distcc//state failed: No such file or directory [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 2.4.3-r1
dev-util/ccache:     2.4-r1
dev-util/confcache:  0.4.2
sys-apps/sandbox:    1.2.18
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.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon64 -pipe -ffast-math -msse3&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/NX/etc /usr/NX/home /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-fno-enforce-eh-specs -O2 -march=athlon64 -pipe -ffast-math -msse3&quot;
DISTDIR=&quot;/usr/distfiles&quot;
FEATURES=&quot;autoconfig ccache confcache distlocks metadata-transfer nostrip sandbox sfperms strict userpriv usersandbox&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
LDFLAGS=&quot;-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort&quot;
MAKEOPTS=&quot;-j3&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/mnt/shapeshifter/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage /usr/local/initng-portage /usr/local/mpd-portage&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 64bit 7zip X a52 aac acpi aim alsa ao audiofile avi bash-completion berkdb bitmap-fonts bzip2 c++ cairo calendar cddb cdparanoia cli clock-screen crosscompile crypt css cups dbus debug dri dvd dvdr eds encode ext-png ext-zlib fam ffmpeg firefox flac foomaticdb fortran gcj gdb gif glut glx gmail gpm grammar gstreamer gtalk gzip hal id3 image imlib imlib2 input_devices_keyboard input_devices_mouse isdnlog java javascript jikes joystick jpeg jpeg2k kde key-screen lame libsamplerate linuxkeys linuxthreads-tls live lzw lzw-tiff mad mmap mouse mozilla mozsvg mp3 mpeg mpeg2 mplayer ncurses net nfs nntp no-old-linux nomalloccheck nptl nptlonly nvidia objc offensive ogg opengl openssh oscar pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime rar readline reflection reiser4 reiserfs rss rtc scp screen sdl search-screen session smp speedo speex spell spl ssl svg svgz symlink sysfs syslog szip t1lib theora threads tiff truetype-fonts type1 type1-fonts udev unicode usb utf8 video_cards_nv video_cards_nvidia vim vim-with-x web wma wma123 wmf wordperfect xinerama xorg xpm xrandr xscreensaver xv xvmc zip zlib elibc_glibc initng_plugins_doc initng_plugins_also initng_plugins_bash_launcher initng_plugins_chdir initng_plugins_chroot initng_plugins_conflict initng_plugins_cpout initng_plugins_critical initng_plugins_cron initng_plugins_daemon initng_plugins_dev initng_plugins_dllaunch initng_plugins_envparser initng_plugins_find initng_plugins_fstat initng_plugins_history initng_plugins_idleprobe initng_plugins_initctl initng_plugins_interactive initng_plugins_iparser initng_plugins_last initng_plugins_limit initng_plugins_logfile initng_plugins_netprobe initng_plugins_ngc2 initng_plugins_pause initng_plugins_pidfile initng_plugins_reload initng_plugins_renice initng_plugins_rlparser initng_plugins_simple_launcher initng_plugins_stcmd initng_plugins_stdout initng_plugins_suid initng_plugins_syncron initng_plugins_syslog initng_plugins_unneeded initng_plugins_ctrlaltdel initng_plugins_daemon_clean initng_plugins_dbus_event initng_plugins_debug_commands initng_plugins_lockfile initng_plugins_ngc4 initng_plugins_nge initng_plugins_pidfiletest initng_plugins_usplash initng_plugins_ngcs kernel_linux userland_GNU&quot;
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>avuton@gmail.com</who>
            <bug_when>2006-05-06 11:39:43 0000</bug_when>
            <thetext>Created an attachment (id=86295)
GCC4 patch

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2006-05-06 16:46:22 0000</bug_when>
            <thetext>confirmed and patch works here.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>tupone@gentoo.org</who>
            <bug_when>2006-05-28 14:43:05 0000</bug_when>
            <thetext>Fixed in portage, thanks for report and patch</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>86295</attachid>
            <date>2006-05-06 11:39 0000</date>
            <desc>GCC4 patch</desc>
            <filename>allegrogl-0.2.4-gcc4.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtLWdpdCBhL3NyYy9zY3Jtb2RlLmMgYi9zcmMvc2NybW9kZS5jCmluZGV4IDc4Zjg3ZDYu
LmM2NjkzZjggMTAwNjQ0Ci0tLSBhL3NyYy9zY3Jtb2RlLmMKKysrIGIvc3JjL3Njcm1vZGUuYwpA
QCAtOTQsNyArOTQsNyBAQCAjZW5kaWYgLyogIW5vX2FzbSAqLwogc3RhdGljIGludCBzY3JlZW5f
dywgc2NyZWVuX2g7CiAKIC8qIGJ1ZmZlcnMgc2NyZWVuIGltYWdlIGluIHNvbWUgbW9kZXMgKi8K
LXN0YXRpYyBCSVRNQVAgKl9fYWxsZWdyb19nbF9tZW1vcnkgPSBOVUxMOworQklUTUFQICpfX2Fs
bGVncm9fZ2xfbWVtb3J5ID0gTlVMTDsKIHN0YXRpYyBHRlhfVlRBQkxFIG1lbW9yeV92dGFibGU7
ICAgIC8qIHZ0YWJsZSBmb3IgYWNjZXNzaW5nIGFib3ZlIGJpdG1hcCAqLwogc3RhdGljIGludCAq
ZGlydHlfZmxhZ3MgPSBOVUxMOyAgICAgLyogZmxhZ3Mgc2hvd2luZyBkaXJ0eSBsaW5lcyBpbiBi
aXRtYXAgKi8KIHN0YXRpYyBpbnQgZGlydHlfc2l6ZSA9IDA7ICAgICAgICAgIC8qIHNpemUgKGlu
IGJ5dGVzKSBvZiBgZGlydHlfZmxhZ3MnICovCg==
</data>        

          </attachment>
    </bug>

</bugzilla>