<?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>74387</bug_id>
          
          <creation_ts>2011-12-13 00:46:57 -0800</creation_ts>
          <short_desc>WebKit2 fails to clean-build at r102658</short_desc>
          <delta_ts>2011-12-14 01:03:48 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryosuke Niwa">rniwa</reporter>
          <assigned_to name="Michael Saboff">msaboff</assigned_to>
          <cc>andersca</cc>
    
    <cc>ap</cc>
    
    <cc>mhahnenberg</cc>
    
    <cc>mrowe</cc>
    
    <cc>msaboff</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>519928</commentid>
    <comment_count>0</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-13 00:46:57 -0800</bug_when>
    <thetext>It appears that WebKit2 fails to build at r102658:


The following build commands failed:

ERROR: WebKit2 has a weak external symbol in it (/Users/rniwa/webkit2/WebKitBuild/Debug/WebKit2.framework/Versions/A/WebKit2)
ERROR: A weak external symbol is generated when a symbol is defined in multiple compilation units and is also marked as being exported from the library.
ERROR: A common cause of weak external symbols is when an inline function is listed in the linker export file.
ERROR: symbol bool WTF::equal&lt;unsigned char, unsigned char&gt;(unsigned char const*, unsigned char const*, unsigned int)
ERROR: symbol bool WTF::equal&lt;unsigned short, unsigned short&gt;(unsigned short const*, unsigned short const*, unsigned int)
Command /bin/sh failed with exit code 1
Command /bin/sh failed with exit code 1

WebKit2:
	PhaseScriptExecution &quot;Check For Weak VTables and Externals&quot; /Users/rniwa/webkit2/WebKitBuild/WebKit2.build/Debug/WebKit2.build/Script-5DF408C5131DD46700130071.sh
(1 failure)

Not sure why the failure isn&apos;t reproducing on the bots</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>519934</commentid>
    <comment_count>1</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-13 00:57:55 -0800</bug_when>
    <thetext>It appears that this problem is to do with http://trac.webkit.org/changeset/102631.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>519935</commentid>
    <comment_count>2</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-13 00:59:13 -0800</bug_when>
    <thetext>To give you more context, I&apos;m on Snow Leopard with gcc version 4.2.1 (Apple Inc. build 5666) (dot 3).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>519945</commentid>
    <comment_count>3</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-13 01:14:20 -0800</bug_when>
    <thetext>I&apos;ve confirmed that WebKit build at r102630.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>520238</commentid>
    <comment_count>4</comment_count>
    <who name="Michael Saboff">msaboff</who>
    <bug_when>2011-12-13 11:41:07 -0800</bug_when>
    <thetext>I changed the templates to overloaded functions in https://bugs.webkit.org/show_bug.cgi?id=74421.  Could you try  change set r102692: &lt;http://trac.webkit.org/changeset/102692&gt; and see if there is still a problem?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>520242</commentid>
    <comment_count>5</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-13 11:42:56 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; I changed the templates to overloaded functions in https://bugs.webkit.org/show_bug.cgi?id=74421.  Could you try  change set r102692: &lt;http://trac.webkit.org/changeset/102692&gt; and see if there is still a problem?

Okay, will do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>520769</commentid>
    <comment_count>6</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-12-14 01:03:48 -0800</bug_when>
    <thetext>WebKit builds fine after the change.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>