<?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>209036</bug_id>
          
          <creation_ts>2008-02-05 21:17 0000</creation_ts>
          <short_desc>app-text/recode-3.6-r2: failed to compile with width of &apos;ignore&apos; exceeds it&apos;s type using GCC-4.3.0</short_desc>
          <delta_ts>2008-04-20 08:32:34 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>unspecified</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>198121</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>EckosGentoo@gmail.com</reporter>
          <assigned_to>shell-tools@gentoo.org</assigned_to>
          <cc>esqualante@o2.pl</cc>
    
    <cc>mikko.cal@gmail.com</cc>

      

      
          <long_desc isprivate="0">
            <who>EckosGentoo@gmail.com</who>
            <bug_when>2008-02-05 21:17:42 0000</bug_when>
            <thetext>I&apos;ve tried compiling recode for use with PHP5.2.5-r1 using GCC-4.3.0_alpha20080201. And it said width of &apos;ignore&apos; exceeds it&apos;s type. I have however tried compiling with GCC-4.2.2 and it compiles fine.

Reproducible: Always

Steps to Reproduce:
1. install gcc-4.3.0_alpha20080201 from the toolchain overlay
2. enable ~x86
3. compile</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-02-06 00:07:31 0000</bug_when>
            <thetext>until gcc-4.3 is portage (officially supported) we&apos;d like bug reports to include patches please. ;)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cneil@yahoo.com</who>
            <bug_when>2008-02-06 05:27:55 0000</bug_when>
            <thetext>Created an attachment (id=142772)
Patch to get recode-3.6 to compile with gcc-4.3

I made my own patch from a suggestion on the fedora-devel-list.  I haven&apos;t actually tested it to make sure it works, but it compiles.  See:

https://www.redhat.com/archives/fedora-devel-list/2008-January/msg01411.html</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dirtyepic@gentoo.org</who>
            <bug_when>2008-03-05 21:56:40 0000</bug_when>
            <thetext>this isn&apos;t fixed.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2008-03-28 20:29:56 0000</bug_when>
            <thetext>*** Bug 215245 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alchark@gmail.com</who>
            <bug_when>2008-04-02 19:17:57 0000</bug_when>
            <thetext>Created an attachment (id=148123)
Another patch to compile with gcc 4.3

It seems that 2 is just too much for a bool type. Replacing it with 1 compiles fine (and should presumably yield the same result).
Sadly, I have completely no experience with C programming and this is the first patch I have ever attempted.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>pva@gentoo.org</who>
            <bug_when>2008-04-03 18:46:23 0000</bug_when>
            <thetext>Created an attachment (id=148477)
recode-3.6-gcc-4.3.patch

Patch from:
https://www.redhat.com/archives/fedora-devel-list/2008-January/msg01413.html

I don&apos;t have gcc-4.3 at hand to check it ...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2008-04-20 08:32:34 0000</bug_when>
            <thetext>fixed in cvs, cheers

http://sources.gentoo.org/app-text/recode/recode-3.6-r2.ebuild?r1=1.21&amp;r2=1.22
http://sources.gentoo.org/app-text/recode/files/recode-3.6-gcc43.patch?rev=1.1</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>142772</attachid>
            <date>2008-02-06 05:27 0000</date>
            <desc>Patch to get recode-3.6 to compile with gcc-4.3</desc>
            <filename>recode-3.6-gcc-4.3.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtYU5ydSByZWNvZGUtMy42LU9SSUdJTkFML3NyYy9yZWNvZGV4dC5oIHJlY29kZS0zLjYv
c3JjL3JlY29kZXh0LmgKLS0tIHJlY29kZS0zLjYtT1JJR0lOQUwvc3JjL3JlY29kZXh0LmgJMjAw
MS0wMS0wNCAwODozNjo1NC4wMDAwMDAwMDAgLTA2MDAKKysrIHJlY29kZS0zLjYvc3JjL3JlY29k
ZXh0LmgJMjAwOC0wMi0wNSAxNzowNjowOS4wMDAwMDAwMDAgLTA2MDAKQEAgLTIxOCw3ICsyMTgs
NyBAQAogICAgIGVudW0gcmVjb2RlX3N5bWJvbF90eXBlIHR5cGUgOiAzOwogCiAgICAgLyogTm9u
IHplcm8gaWYgdGhpcyBvbmUgc2hvdWxkIGJlIGlnbm9yZWQuICAqLwotICAgIGJvb2wgaWdub3Jl
IDogMjsKKyAgICBib29sIGlnbm9yZTsKICAgfTsKIAogc3RydWN0IHJlY29kZV9zdXJmYWNlX2xp
c3QK
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>148123</attachid>
            <date>2008-04-02 19:17 0000</date>
            <desc>Another patch to compile with gcc 4.3</desc>
            <filename>recode-3.6-gcc-4.3.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIHJlY29kZS9zcmMvcmVjb2RleHQuaAorKysgcmVjb2RlL3NyYy9yZWNvZGV4dC5oCkBAIC0y
MTgsNyArMjE4LDcgQEAKICAgICBlbnVtIHJlY29kZV9zeW1ib2xfdHlwZSB0eXBlIDogMzsKIAog
ICAgIC8qIE5vbiB6ZXJvIGlmIHRoaXMgb25lIHNob3VsZCBiZSBpZ25vcmVkLiAgKi8KLSAgICBi
b29sIGlnbm9yZSA6IDI7CisgICAgYm9vbCBpZ25vcmUgOiAxOwogICB9OwogCiBzdHJ1Y3QgcmVj
b2RlX3N1cmZhY2VfbGlzdAo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>148477</attachid>
            <date>2008-04-03 18:46 0000</date>
            <desc>recode-3.6-gcc-4.3.patch</desc>
            <filename>recode-3.6-gcc-4.3.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">PT09IG1vZGlmaWVkIGZpbGUgJ3NyYy9yZWNvZGV4dC5oJwotLS0gc3JjL3JlY29kZXh0LmgJMjAw
OC0wNC0wMyAxODozNTo0MiArMDAwMAorKysgc3JjL3JlY29kZXh0LmgJMjAwOC0wNC0wMyAxODoz
NjozMiArMDAwMApAQCAtMjE1LDEwICsyMTUsMTAgQEAKICAgICBzdHJ1Y3QgcmVjb2RlX3Npbmds
ZSAqdW5zdXJmYWNlcjsKIAogICAgIC8qIE5vbiB6ZXJvIGlmIHRoaXMgaXMgYW4gYWNjZXB0YWJs
ZSBjaGFyc2V0IChub3Qgb25seSBhIHN1cmZhY2UpLiAgKi8KLSAgICBlbnVtIHJlY29kZV9zeW1i
b2xfdHlwZSB0eXBlIDogMzsKKyAgICBlbnVtIHJlY29kZV9zeW1ib2xfdHlwZSB0eXBlIDogMjsK
IAogICAgIC8qIE5vbiB6ZXJvIGlmIHRoaXMgb25lIHNob3VsZCBiZSBpZ25vcmVkLiAgKi8KLSAg
ICBib29sIGlnbm9yZSA6IDI7CisgICAgYm9vbCBpZ25vcmUgOiAxOwogICB9OwogCiBzdHJ1Y3Qg
cmVjb2RlX3N1cmZhY2VfbGlzdAoK
</data>        

          </attachment>
    </bug>

</bugzilla>