<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>81498</bug_id>
          
          <creation_ts>2012-03-18 23:49:44 -0700</creation_ts>
          <short_desc>[Qt] Buildfix after r111076 on x86</short_desc>
          <delta_ts>2012-03-20 02:51:05 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>81502</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>69521</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ossy</cc>
    
    <cc>pandras</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>581651</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-18 23:49:44 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/111076 broke the 32 bit QtWebKit build.
(Qt Linux Release, Qt Linux Release minimal, x86-32 Linux Qt Release - Qt5-WebKit1,
x86-32 Linux Qt Release WebKit2, x86-32 Linux Qt Release NRWT bots)

Unfortunately it was hidden build break, because http://trac.webkit.org/changeset/111075 
broke the build previously and only http://trac.webkit.org/changeset/111106 fixed it.

It seems it might be a gcc bug and we should make a workaround somehow.
(But it is strange that build works fine with same gcc version on 64 bit.)

build log:
===========
cc1plus: warnings being treated as errors
In file included from ../../../../Source/JavaScriptCore/wtf/HashMap.h:25,
                 from ../../../../Source/WebCore/platform/network/HTTPHeaderMap.h:32,
                 from ../../../../Source/WebCore/platform/network/ResourceResponseBase.h:31,
                 from ../../../../Source/WebCore/platform/network/qt/ResourceResponse.h:30,
                 from ../../../../Source/WebCore/platform/network/AuthenticationChallengeBase.h:31,
                 from ../../../../Source/WebCore/platform/network/qt/AuthenticationChallenge.h:29,
                 from ../../../../Source/WebCore/platform/network/ResourceHandle.h:30,
                 from ../../../../Source/WebCore/loader/ResourceLoaderOptions.h:35,
                 from ../../../../Source/WebCore/loader/cache/CachedResource.h:31,
                 from ../../../../Source/WebCore/loader/cache/CachedImage.h:27,
                 from ../../../../Source/WebCore/rendering/RenderObject.h:30,
                 from ../../../../Source/WebCore/rendering/RenderBoxModelObject.h:28,
                 from ../../../../Source/WebCore/rendering/RenderBox.h:27,
                 from ../../../../Source/WebCore/rendering/RenderBlock.h:30,
                 from ../../../../Source/WebCore/rendering/RenderTable.h:31,
                 from ../../../../Source/WebCore/rendering/RenderTableSection.h:29,
                 from ../../../../Source/WebCore/rendering/RenderTableSection.cpp:28:
../../../../Source/JavaScriptCore/wtf/HashTraits.h: In member function &apos;void WTF::HashTable&lt;Key, Value, Extractor, HashFunctions, Traits, KeyTraits&gt;::rehash(int) [with Key = std::pair&lt;const WebCore::RenderTableCell*, int&gt;, Value = std::pair&lt;std::pair&lt;const WebCore::RenderTableCell*, int&gt;, WebCore::CollapsedBorderValue&gt;, Extractor = WTF::PairFirstExtractor&lt;std::pair&lt;std::pair&lt;const WebCore::RenderTableCell*, int&gt;, WebCore::CollapsedBorderValue&gt; &gt;, HashFunctions = WTF::PairHash&lt;const WebCore::RenderTableCell*, int&gt;, Traits = WTF::PairHashTraits&lt;WTF::HashTraits&lt;std::pair&lt;const WebCore::RenderTableCell*, int&gt; &gt;, WTF::HashTraits&lt;WebCore::CollapsedBorderValue&gt; &gt;, KeyTraits = WTF::HashTraits&lt;std::pair&lt;const WebCore::RenderTableCell*, int&gt; &gt;]&apos;:
../../../../Source/JavaScriptCore/wtf/HashTraits.h:153: error: &apos;__y&apos; may be used uninitialized in this function
../../../../Source/JavaScriptCore/wtf/HashTraits.h:153: note: &apos;__y&apos; was declared here
In file included from ../../../../Source/WebCore/platform/network/HTTPHeaderMap.h:32,
                 from ../../../../Source/WebCore/platform/network/ResourceResponseBase.h:31,
                 from ../../../../Source/WebCore/platform/network/qt/ResourceResponse.h:30,
                 from ../../../../Source/WebCore/platform/network/AuthenticationChallengeBase.h:31,
                 from ../../../../Source/WebCore/platform/network/qt/AuthenticationChallenge.h:29,
                 from ../../../../Source/WebCore/platform/network/ResourceHandle.h:30,
                 from ../../../../Source/WebCore/loader/ResourceLoaderOptions.h:35,
                 from ../../../../Source/WebCore/loader/cache/CachedResource.h:31,
                 from ../../../../Source/WebCore/loader/cache/CachedImage.h:27,
                 from ../../../../Source/WebCore/rendering/RenderObject.h:30,
                 from ../../../../Source/WebCore/rendering/RenderBoxModelObject.h:28,
                 from ../../../../Source/WebCore/rendering/RenderBox.h:27,
                 from ../../../../Source/WebCore/rendering/RenderBlock.h:30,
                 from ../../../../Source/WebCore/rendering/RenderTable.h:31,
                 from ../../../../Source/WebCore/rendering/RenderTableSection.h:29,
                 from ../../../../Source/WebCore/rendering/RenderTableSection.cpp:28:
../../../../Source/WebCore/rendering/RenderTableSection.cpp: In member function &apos;std::pair&lt;typename WTF::HashMap&lt;KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg&gt;::iterator, bool&gt; WTF::HashMap&lt;KeyArg, MappedArg, HashArg, KeyTraitsArg, MappedTraitsArg&gt;::set(const typename KeyTraitsArg::TraitType&amp;, typename MappedTraitsArg::PassInType) [with KeyArg = std::pair&lt;const WebCore::RenderTableCell*, int&gt;, MappedArg = WebCore::CollapsedBorderValue, HashArg = WTF::PairHash&lt;const WebCore::RenderTableCell*, int&gt;, KeyTraitsArg = WTF::HashTraits&lt;std::pair&lt;const WebCore::RenderTableCell*, int&gt; &gt;, MappedTraitsArg = WTF::HashTraits&lt;WebCore::CollapsedBorderValue&gt;]&apos;:
../../../../Source/WebCore/rendering/RenderTableSection.cpp:1424: error: &apos;__y&apos; may be used uninitialized in this function
../../../../Source/JavaScriptCore/wtf/HashTraits.h:153: note: &apos;__y&apos; was declared here</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>581656</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-19 00:00:30 -0700</bug_when>
    <thetext>I disabled -Werror on x86 until proper fix to unblock our buildbots and EWS bots - http://trac.webkit.org/changeset/111158</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>581966</commentid>
    <comment_count>2</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-03-19 11:22:51 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 81502 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>581968</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2012-03-19 11:24:03 -0700</bug_when>
    <thetext>It looks like http://trac.webkit.org/changeset/111171 should fix the bug, so you may want to re-enable werror.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>582882</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-03-20 02:51:05 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; It looks like http://trac.webkit.org/changeset/111171 should fix the bug, so you may want to re-enable werror.

Thanks, it fixed the bug. I reenabled werror - http://trac.webkit.org/changeset/111375.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>