<?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>40346</bug_id>
          
          <creation_ts>2010-06-08 19:01:42 -0700</creation_ts>
          <short_desc>Fix build breakage from 38145</short_desc>
          <delta_ts>2010-06-08 22:38:58 -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>WebGL</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>38145</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Kenneth Russell">kbr</reporter>
          <assigned_to name="Kenneth Russell">kbr</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>dglazkov</cc>
    
    <cc>oliver</cc>
    
    <cc>rolandsteiner</cc>
    
    <cc>zmo</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>235619</commentid>
    <comment_count>0</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2010-06-08 19:01:42 -0700</bug_when>
    <thetext>The fix for bug 38145 broke the Chromium Win build because Microsoft&apos;s cmath doesn&apos;t define log2.

Suggested fix by zmo is to change log2(x) to log(x) / log(2).

Built and ran WebGL layout tests in Safari on Mac OS X.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235620</commentid>
    <comment_count>1</comment_count>
    <who name="Kenneth Russell">kbr</who>
    <bug_when>2010-06-08 19:11:50 -0700</bug_when>
    <thetext>Committed r60876: &lt;http://trac.webkit.org/changeset/60876&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>235663</commentid>
    <comment_count>2</comment_count>
    <who name="Roland Steiner">rolandsteiner</who>
    <bug_when>2010-06-08 22:38:58 -0700</bug_when>
    <thetext>The fix didn&apos;t catch - now the log function calls are ambiguous between float, double or long double versions.

I added a 2nd quick fix in r60881 - adding explicit casts to double and double constants - which seems to have done the trick, at least as far as compilation goes (see http://trac.webkit.org/changeset/60881)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>