<?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>48425</bug_id>
          
          <creation_ts>2004-04-19 19:41 0000</creation_ts>
          <short_desc>gnome-terminal-2.6.1 compile failure with GCC 3.4.0</short_desc>
          <delta_ts>2004-04-28 02:21:04 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>GNOME</component>
          <version>1.4</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>48528</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>robmoss@gentoo.org</reporter>
          <assigned_to>gnome@gentoo.org</assigned_to>
          <cc>gcc-porting@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>robmoss@gentoo.org</who>
            <bug_when>2004-04-19 19:41:56 0000</bug_when>
            <thetext>There&apos;s a pretty daft error in the gnome-terminal-2.6.1 release which prevents compilation with GCC 3.4.0. It&apos;s very easy to fix, though. There&apos;s a couple of functions which are defined differently in the header and C files. A fix will follow.

Reproducible: Always
Steps to Reproduce:
1. Emerge gcc 3.4.0 prerelease (unsure if this is necessary).
2. Emerge gnome-terminal-2.6.1.
3. Crunch.
Actual Results:  
See 3 above.

Expected Results:  
Not 3.

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 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.9
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS=&quot;x86 ~x86&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O3 -march=athlon-xp -momit-leaf-frame-pointer -fomit-frame-pointer
-funroll-loops -ffast-math -ftracer -fprefetch-loop-arrays -finline-limit=600
-mfpmath=387 -pipe&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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control&quot;CONFIG_PROTECT_MASK=&quot;/etc/gconf
/etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O3 -march=athlon-xp -momit-leaf-frame-pointer -fomit-frame-pointer
-funroll-loops -ffast-math -ftracer -fprefetch-loop-arrays -finline-limit=600
-mfpmath=387 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs fixpackages sandbox&quot;
GENTOO_MIRRORS=&quot;ftp://mirror.ac.uk/sites/www.ibiblio.org/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;/usr/local/portage/local /usr/local/portage/gnome-current&quot;
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot;
USE=&quot;3dnow X Xaw3d aalib acpi adns alsa avi bonobo cdr crypt cups curl dga dvd
encode esd ethereal faad flac foomatic gdbm ggi gif gnome gnomedb gpm gstreamer
gtk2 gtkhtml guile icu imap imlib innodb ipv6 java joystick jpeg lirc mad md5sum
memlimit mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mpeg
mpi mysql nas ncurses net nls nogcj offensive ofx oggvorbis openal opengl oss
pam parse-clocks pda pdflib perl png ppds python quicktime readline ruby samba
sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff truetype unicode usb
videos vim-with-x wmf x86 xml xml2 xv xvid zlib&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robmoss@gentoo.org</who>
            <bug_when>2004-04-19 19:43:32 0000</bug_when>
            <thetext>Created an attachment (id=29673)
Patch to fix compilation error

Incorrect usage of GdkModifierType and EggVirtualModifierType - one should be
used, but not both; which should be used is perhaps debatable, I&apos;ve gone for
the latter so the patch is for the header file and not the C source file.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-04-27 07:50:07 0000</bug_when>
            <thetext>patch added, thnx

has this been reported upstream ? if yes, what is the exact buglink ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robmoss@gentoo.org</who>
            <bug_when>2004-04-27 21:24:11 0000</bug_when>
            <thetext>No, it hasn&apos;t yet. It will be soon - as soon as I&apos;ve finished getting everything compiled with GCC 3.4.0, all the patches etc. are going upstream. I want to make extra sure I haven&apos;t broken anything - this one is easy, but there are some, like libSDL and mplayer, and openoffice-ximian and STLport in particular, which are VERY tricky...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>foser@gentoo.org</who>
            <bug_when>2004-04-28 02:21:04 0000</bug_when>
            <thetext>they are all seperate bugs and should be fixed asap, so please just file them right away.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>29673</attachid>
            <date>2004-04-19 19:43 0000</date>
            <desc>Patch to fix compilation error</desc>
            <filename>eggcell.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHNyYy9lZ2djZWxscmVuZGVyZXJrZXlzLmMub2xkCTIwMDQtMDQtMjAgMDM6MzM6MzIuOTMx
MTc5MjI0ICswMTAwCisrKyBzcmMvZWdnY2VsbHJlbmRlcmVya2V5cy5jCTIwMDQtMDQtMjAgMDM6
MzQ6MzIuOTg0MDQ5ODAwICswMTAwCkBAIC01ODQsNyArNTg0LDcgQEAKIHZvaWQKIGVnZ19jZWxs
X3JlbmRlcmVyX2tleXNfc2V0X2FjY2VsZXJhdG9yIChFZ2dDZWxsUmVuZGVyZXJLZXlzICprZXlz
LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIGd1aW50ICAgICAgICAg
ICAgICAgIGtleXZhbCwKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBH
ZGtNb2RpZmllclR5cGUgICAgICBtYXNrKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgIEVnZ1ZpcnR1YWxNb2RpZmllclR5cGUgICAgICBtYXNrKQogewogICBjaGFyICp0
ZXh0OwogICBnYm9vbGVhbiBjaGFuZ2VkOwpAQCAtNjI2LDcgKzYyNiw3IEBACiB2b2lkCiBlZ2df
Y2VsbF9yZW5kZXJlcl9rZXlzX2dldF9hY2NlbGVyYXRvciAoRWdnQ2VsbFJlbmRlcmVyS2V5cyAq
a2V5cywKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBndWludCAgICAg
ICAgICAgICAgICprZXl2YWwsCi0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgR2RrTW9kaWZpZXJUeXBlICAgICAqbWFzaykKKyAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICBFZ2dWaXJ0dWFsTW9kaWZpZXJUeXBlICAgICAqbWFzaykKIHsKICAgZ19y
ZXR1cm5faWZfZmFpbCAoRUdHX0lTX0NFTExfUkVOREVSRVJfS0VZUyAoa2V5cykpOwogCg==
</data>        

          </attachment>
    </bug>

</bugzilla>