<?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>228517</bug_id>
          <alias>PR36533</alias>
          <creation_ts>2008-06-20 11:55 0000</creation_ts>
          <short_desc>[4.3/wrong-code] causes ext* filesystems to oops: BUG: unable to handle kernel paging request at &lt;first byte, next page&gt;</short_desc>
          <delta_ts>2008-07-09 09:16:54 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>2008.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://gcc.gnu.org/PR36533</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>198121</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>loki_val@gentoo.org</reporter>
          <assigned_to>toolchain@gentoo.org</assigned_to>
          <cc>galtgendo@o2.pl</cc>
    
    <cc>holger.hoffstaette@googlemail.com</cc>
    
    <cc>kernel@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-06-20 11:55:30 0000</bug_when>
            <thetext>Upstream bug: &quot;Incorrectly assumed aligned_operand&quot;
This is a regression from gcc-4.3.0-&gt;gcc-4.3.1 introduced by the fix for PR28690: http://gcc.gnu.org/bugzilla/show_bug.cgi?28690
Upstream commit: http://gcc.gnu.org/viewcvs?root=gcc&amp;view=rev&amp;rev=135124

Fedora bug: https://bugzilla.redhat.com/show_bug.cgi?id=451068</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>galtgendo@o2.pl</who>
            <bug_when>2008-06-23 19:34:17 0000</bug_when>
            <thetext>Well, today they created following upstream commit:
http://gcc.gnu.org/viewcvs?view=rev&amp;revision=137039
How long till it be added to gcc patches ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>holger.hoffstaette@googlemail.com</who>
            <bug_when>2008-06-23 20:01:06 0000</bug_when>
            <thetext>FWIW simply compiling the pr36533.c test with -Os will exhibit the bug (segfault). If toolchain/kernel teams are busy I&apos;d be glad to volunteer and provide an ebuild patch.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>holger.hoffstaette@googlemail.com</who>
            <bug_when>2008-06-24 08:38:48 0000</bug_when>
            <thetext>Created an attachment (id=158189)
Patch for gcc bug #36533

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>holger.hoffstaette@googlemail.com</who>
            <bug_when>2008-06-24 08:39:34 0000</bug_when>
            <thetext>Created an attachment (id=158191)
Patch for ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>holger.hoffstaette@googlemail.com</who>
            <bug_when>2008-06-24 08:43:44 0000</bug_when>
            <thetext>The patches will fix gcc to correctly compile the test program from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36533 with -Os.
Other programs still compile &amp; run as well ;)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>holger.hoffstaette@googlemail.com</who>
            <bug_when>2008-06-24 08:46:59 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; The patches will fix gcc to correctly compile the test program from
&gt; http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36533 with -Os.

Forget the above URL - if you need the standalone test use the &quot;upstream commit&quot;  mentioned in comment#1.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-07-09 09:16:54 0000</bug_when>
            <thetext>Closing, fixed in GCC-4.3.1-r1</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>158189</attachid>
            <date>2008-06-24 08:38 0000</date>
            <desc>Patch for gcc bug #36533</desc>
            <filename>gcc-4.3.1-emit-rtl-Os.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdjYy9lbWl0LXJ0bC5vcmlnLmMJMjAwOC0wNi0yNCAwMjowMDoyMC4wMDAwMDAwMDAgKzAy
MDAKKysrIGdjYy9lbWl0LXJ0bC5jCTIwMDgtMDYtMjQgMDI6MDM6MjcuMDAwMDAwMDAwICswMjAw
CkBAIC05NjAsNiArOTYwLDEyIEBACiB7CiAgIGludCBvZmZzZXQ7CiAKKyAgLyogSGFyZCByZWdp
c3RlcnMgY2FuIGJlIHJldXNlZCBmb3IgbXVsdGlwbGUgcHVycG9zZXMgd2l0aGluIHRoZSBzYW1l
CisgICAgIGZ1bmN0aW9uLCBzbyBzZXR0aW5nIFJFR19BVFRSUywgUkVHX1BPSU5URVIgYW5kIFJF
R19QT0lOVEVSX0FMSUdOCisgICAgIG9uIHRoZW0gaXMgd3JvbmcuICAqLworICBpZiAoSEFSRF9S
RUdJU1RFUl9QIChyZWcpKQorICAgIHJldHVybjsKKwogICBvZmZzZXQgPSBieXRlX2xvd3BhcnRf
b2Zmc2V0IChHRVRfTU9ERSAocmVnKSwgR0VUX01PREUgKHgpKTsKICAgaWYgKE1FTV9QICh4KSkK
ICAgICB7Cg==
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>158191</attachid>
            <date>2008-06-24 08:39 0000</date>
            <desc>Patch for ebuild</desc>
            <filename>gcc-4.3.1.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdjYy00LjMuMS5lYnVpbGQJMjAwOC0wNi0yMSAwNjozOTozNi4wMDAwMDAwMDAgKzAyMDAK
KysrIC91c3IvbG9jYWwvcG9ydGFnZS9zeXMtZGV2ZWwvZ2NjL2djYy00LjMuMS5lYnVpbGQJMjAw
OC0wNi0yNCAxMDowMTozMS4wMDAwMDAwMDAgKzAyMDAKQEAgLTYyLDQgKzYyLDYgQEAKIAlbWyAk
e0NIT1NUfSA9PSAke0NUQVJHRVR9IF1dICYmIGVwYXRjaCAiJHtGSUxFU0RJUn0iL2djYy1zcGVj
LWVudi5wYXRjaAogCiAJW1sgJHtDVEFSR0VUfSA9PSAqLXNvZnRmbG9hdC0qIF1dICYmIGVwYXRj
aCAiJHtGSUxFU0RJUn0iLzQuMC4yL2djYy00LjAuMi1zb2Z0ZmxvYXQucGF0Y2gKKworCWVwYXRj
aCAiJHtGSUxFU0RJUn0iLzQuMy4xL2djYy00LjMuMS1lbWl0LXJ0bC1Pcy5wYXRjaAogfQo=
</data>        

          </attachment>
    </bug>

</bugzilla>