<?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>144785</bug_id>
          
          <creation_ts>2015-05-07 23:26:47 -0700</creation_ts>
          <short_desc>[GTK] Fails to link libwebkit2gtkinjectedbundle.so on OSX</short_desc>
          <delta_ts>2015-11-06 01:49:43 -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>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>OS X 10.10</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>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>126492</blocked>
    
    <blocked>144561</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Philip Chimento">philip.chimento</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cgarcia</cc>
    
    <cc>commit-queue</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1093049</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-07 23:26:47 -0700</bug_when>
    <thetext>On GTK / OSX, the build fails with this error:

Linking CXX shared module ../../lib/libwebkit2gtkinjectedbundle.so
Undefined symbols for architecture x86_64:
  &quot;WebKit::WebGtkExtensionManager::initialize(OpaqueWKBundle const*, void const*)&quot;, referenced from:
      _WKBundleInitialize in WebGtkInjectedBundleMain.cpp.o
  &quot;WebKit::WebGtkExtensionManager::shared()&quot;, referenced from:
      _WKBundleInitialize in WebGtkInjectedBundleMain.cpp.o
ld: symbol(s) not found for architecture x86_64
make[2]: *** [lib/libwebkit2gtkinjectedbundle.so] Error 1
make[1]: *** [Source/WebKit2/CMakeFiles/webkit2gtkinjectedbundle.dir/all] Error 2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1093061</commentid>
    <comment_count>1</comment_count>
      <attachid>252690</attachid>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-07 23:40:40 -0700</bug_when>
    <thetext>Created attachment 252690
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1105309</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2015-06-28 15:34:40 -0700</bug_when>
    <thetext>I wonder why this is necessary....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1106320</commentid>
    <comment_count>3</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-07-01 22:49:06 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; I wonder why this is necessary....

I&apos;m not sure either. I suspect it&apos;s due to some difference in how XCode&apos;s linker handles other DSOs linked by the objects it&apos;s linking. Perhaps GNU&apos;s linker pulls them in, while XCode&apos;s linker requires them to be explicitly added to the linker command line.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139907</commentid>
    <comment_count>4</comment_count>
      <attachid>252690</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-11-06 01:49:40 -0800</bug_when>
    <thetext>Comment on attachment 252690
Patch

Clearing flags on attachment: 252690

Committed r192096: &lt;http://trac.webkit.org/changeset/192096&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1139908</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-11-06 01:49:43 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>252690</attachid>
            <date>2015-05-07 23:40:40 -0700</date>
            <delta_ts>2015-11-06 01:49:40 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-144785-20150507233922.patch</filename>
            <type>text/plain</type>
            <size>1452</size>
            <attacher name="Philip Chimento">philip.chimento</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTgzOTc5CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0Mi9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViS2l0Mi9DaGFuZ2VMb2cKaW5kZXggNTMzNjY1MTY2ZTM3MTJi
OTA2ODNhYTQ2MWY0NGNlYWE1ODVhNWQzMy4uNmVkNGQ2OWQ3MmFhY2Q5YmJkNDAzZWNjYTRmMDU3
ZDQ3Y2JjMjlmMyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYktpdDIvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJLaXQyL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEzIEBACisyMDE1LTA1LTA3ICBQaGls
aXAgQ2hpbWVudG8gIDxwaGlsaXAuY2hpbWVudG9AZ21haWwuY29tPgorCisgICAgICAgIFtHVEtd
IEZhaWxzIHRvIGxpbmsgbGlid2Via2l0Mmd0a2luamVjdGVkYnVuZGxlLnNvIG9uIE9TWAorICAg
ICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/aWQ9MTQ0Nzg1CisKKyAg
ICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAgICAgICAgKiBQbGF0Zm9ybUdU
Sy5jbWFrZTogQWRkIG1pc3NpbmcgV2ViS2l0MiBsaWJyYXJ5IHRvIGxpc3Qgb2YKKyAgICAgICAg
bGlicmFyaWVzIHRvIGxpbmsgd2l0a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