<?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>116154</bug_id>
          
          <creation_ts>2013-05-15 08:04:31 -0700</creation_ts>
          <short_desc>[GTK] WebAudio doesn&apos;t build in WebKitGTK+ 2.0.2</short_desc>
          <delta_ts>2013-05-16 13:30:32 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alberto Garcia">berto</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>gustavo</cc>
    
    <cc>mrobinson</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>889295</commentid>
    <comment_count>0</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-05-15 08:04:31 -0700</bug_when>
    <thetext>I get .libs/libwebkitgtk-3.0.so: undefined reference to `WebCore::VectorMath::vsmul(float const*, int, float const*, float*, int, unsigned long)&apos;

The problem is that the value of ENABLE_WEB_AUDIO from configure is overriden in Source/autotools/SetupWebKitFeatures.m4

diff --git a/Source/autotools/SetupWebKitFeatures.m4 b/Source/autotools/SetupWebKitFeatures.m4
index 5d59b6e..a2a7c45 100644
--- a/Source/autotools/SetupWebKitFeatures.m4
+++ b/Source/autotools/SetupWebKitFeatures.m4
@@ -171,7 +171,6 @@ $srcdir/Tools/gtk/generate-feature-defines-files $CONFIGURABLE_FEATURE_DEFINES \
        ENABLE_USER_TIMING=0 \
        ENABLE_VIBRATION=0 \
        ENABLE_VIDEO_TRACK=0 \
-       ENABLE_WEB_AUDIO=0 \
        ENABLE_WEB_SOCKETS=1 \
        ENABLE_WEB_TIMING=1 \
        ENABLE_WORKERS=1 \

This was fixed indirectly in master for bug 113349.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889300</commentid>
    <comment_count>1</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2013-05-15 08:18:33 -0700</bug_when>
    <thetext>Unfortunate.

Will you be able to provide the patch?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889308</commentid>
    <comment_count>2</comment_count>
      <attachid>201835</attachid>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-05-15 08:32:28 -0700</bug_when>
    <thetext>Created attachment 201835
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889309</commentid>
    <comment_count>3</comment_count>
      <attachid>201836</attachid>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-05-15 08:33:18 -0700</bug_when>
    <thetext>Created attachment 201836
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889397</commentid>
    <comment_count>4</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2013-05-15 10:46:29 -0700</bug_when>
    <thetext>I&apos;m a bit confused. You say this was fixed in master for https://bugs.webkit.org/show_bug.cgi?id=113349, but https://bugs.webkit.org/show_bug.cgi?id=113349 was merged into 2.0.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889401</commentid>
    <comment_count>5</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-05-15 11:03:42 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; I&apos;m a bit confused. You say this was fixed in master for
&gt; https://bugs.webkit.org/show_bug.cgi?id=113349, but
&gt; https://bugs.webkit.org/show_bug.cgi?id=113349 was merged into
&gt; 2.0.1.

I&apos;ve just checked the commit in 2.0.1, it kept the ENABLE_WEB_AUDIO=0
line intact.

See line 174 of

http://trac.webkit.org/changeset/148428/releases/WebKitGTK/webkit-2.0/Source/autotools/SetupWebKitFeatures.m4

Compare it with the commit in master:

http://trac.webkit.org/changeset/147967/trunk/Source/autotools/SetupWebKitFeatures.m4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889728</commentid>
    <comment_count>6</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-05-16 00:50:23 -0700</bug_when>
    <thetext>You can see the problem easily by running configure --enable-web-audio and checking the value of ENABLE_WEB_AUDIO in WebKitFeatures.h</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889889</commentid>
    <comment_count>7</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2013-05-16 10:24:07 -0700</bug_when>
    <thetext>I took the liberty of landing this to the stable branch: http://trac.webkit.org/changeset/150185</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>889985</commentid>
    <comment_count>8</comment_count>
    <who name="Alberto Garcia">berto</who>
    <bug_when>2013-05-16 13:30:32 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; I took the liberty of landing this to the stable branch:

Great, thanks

I think bug 115612 and bug 116227 are also worthwhile. I believe with
these all three we can make a full parallel build with all features
enabled.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>201835</attachid>
            <date>2013-05-15 08:32:28 -0700</date>
            <delta_ts>2013-05-15 08:33:18 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>115612.diff</filename>
            <type>text/plain</type>
            <size>952</size>
            <attacher name="Alberto Garcia">berto</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1Rvb2xzL0NoYW5nZUxv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RvY19idWlsZF9zdGFtcF9saXN0KQorZG9jcy1idWlsZC5zdGFtcDogJChk
b2NzX2J1aWxkX3N0YW1wX2xpc3QpCiAJQ0M9JChDQykgJChzcmNkaXIpL1Rvb2xzL2d0ay9nZW5l
cmF0ZS1ndGtkb2MKIAlAdG91Y2ggZG9jcy1idWlsZC5zdGFtcAogCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>201836</attachid>
            <date>2013-05-15 08:33:18 -0700</date>
            <delta_ts>2013-05-16 10:23:02 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>116154.diff</filename>
            <type>text/plain</type>
            <size>1084</size>
            <attacher name="Alberto Garcia">berto</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL0NoYW5nZUxvZyBiL0NoYW5nZUxvZwppbmRleCA2ZTU5Y2EzLi5mMzU0MzJh
IDEwMDY0NAotLS0gYS9DaGFuZ2VMb2cKKysrIGIvQ2hhbmdlTG9nCkBAIC0xLDMgKzEsMTUgQEAK
KzIwMTMtMDUtMTUgIEFsYmVydG8gR2FyY2lhICA8YWdhcmNpYUBpZ2FsaWEuY29tPgorCisgICAg
ICAgIFtHVEtdIFdlYkF1ZGlvIGRvZXNuJ3QgYnVpbGQgaW4gV2ViS2l0R1RLKyAyLjAuMgorICAg
ICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTE2MTU0CisKKyAg
ICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgRG9uJ3Qgb3ZlcnJp
ZGUgdGhlIHZhbHVlIG9mIEVOQUJMRV9XRUJfQVVESU8gc2VsZWN0ZWQgaW4gdGhlCisgICAgICAg
IGNvbmZpZ3VyZSBzY3JpcHQuCisKKyAgICAgICAgKiBTb3VyY2UvYXV0b3Rvb2xzL1NldHVwV2Vi
S2l0RmVhdHVyZXMubTQ6CisKIDIwMTMtMDUtMTMgIENhcmxvcyBHYXJjaWEgQ2FtcG9zICA8Y2dh
cmNpYUBpZ2FsaWEuY29tPgogCiAgICAgICAgIFVucmV2aWV3ZWQuIFVwZGF0ZSBORVdTIGFuZCBW
ZXJzaW9ucy5tNCBmb3IgMi4wLjIgcmVsZWFzZS4KZGlmZiAtLWdpdCBhL1NvdXJjZS9hdXRvdG9v
bHMvU2V0dXBXZWJLaXRGZWF0dXJlcy5tNCBiL1NvdXJjZS9hdXRvdG9vbHMvU2V0dXBXZWJLaXRG
ZWF0dXJlcy5tNAppbmRleCA1ZDU5YjZlLi5hMmE3YzQ1IDEwMDY0NAotLS0gYS9Tb3VyY2UvYXV0
b3Rvb2xzL1NldHVwV2ViS2l0RmVhdHVyZXMubTQKKysrIGIvU291cmNlL2F1dG90b29scy9TZXR1
cFdlYktpdEZlYXR1cmVzLm00CkBAIC0xNzEsNyArMTcxLDYgQEAgJHNyY2Rpci9Ub29scy9ndGsv
Z2VuZXJhdGUtZmVhdHVyZS1kZWZpbmVzLWZpbGVzICRDT05GSUdVUkFCTEVfRkVBVFVSRV9ERUZJ
TkVTIFwKIAlFTkFCTEVfVVNFUl9USU1JTkc9MCBcCiAJRU5BQkxFX1ZJQlJBVElPTj0wIFwKIAlF
TkFCTEVfVklERU9fVFJBQ0s9MCBcCi0JRU5BQkxFX1dFQl9BVURJTz0wIFwKIAlFTkFCTEVfV0VC
X1NPQ0tFVFM9MSBcCiAJRU5BQkxFX1dFQl9USU1JTkc9MSBcCiAJRU5BQkxFX1dPUktFUlM9MSBc
Cg==
</data>
<flag name="review"
          id="223204"
          type_id="1"
          status="+"
          setter="gustavo"
    />
          </attachment>
      

    </bug>

</bugzilla>