<?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>144555</bug_id>
          
          <creation_ts>2015-05-03 15:58:10 -0700</creation_ts>
          <short_desc>[GTK] Don&apos;t use --version-script on Darwin</short_desc>
          <delta_ts>2015-10-12 10:01:52 -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>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>
          <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>mrobinson</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1091276</commentid>
    <comment_count>0</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-03 15:58:10 -0700</bug_when>
    <thetext>--version-script isn&apos;t supported by the OSX linker. The build fails with this error:

Linking CXX shared library ../../lib/libwebkit2gtk-4.0.dylib
ld: unknown option: --version-script
clang: error: linker command failed with exit code 1 (use -v to see invocation)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1091277</commentid>
    <comment_count>1</comment_count>
      <attachid>252289</attachid>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-03 15:59:06 -0700</bug_when>
    <thetext>Created attachment 252289
Patch

This adds the --version-script option only on Linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1091278</commentid>
    <comment_count>2</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-05-03 16:01:59 -0700</bug_when>
    <thetext>Attachment 252289 did not pass style-queue:


Total errors found: 0 in 0 files


If any of these errors are false positives, please file a bug against check-webkit-style.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1091704</commentid>
    <comment_count>3</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2015-05-04 23:03:49 -0700</bug_when>
    <thetext>What about other unix os like FreeBSD, is --version-script linux specific?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1093041</commentid>
    <comment_count>4</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-07 23:02:08 -0700</bug_when>
    <thetext>--version-script is supported by GNU LD and the Solaris linker, according to https://www.gnu.org/software/gnulib/manual/html_node/LD-Version-Scripts.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1093043</commentid>
    <comment_count>5</comment_count>
      <attachid>252687</attachid>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-07 23:09:02 -0700</bug_when>
    <thetext>Created attachment 252687
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1093044</commentid>
    <comment_count>6</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-07 23:10:10 -0700</bug_when>
    <thetext>Above is a patch which turns it around; only omits the option on Darwin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1093051</commentid>
    <comment_count>7</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2015-05-07 23:27:43 -0700</bug_when>
    <thetext>Is it possible to collect all of the OS X specific changes in a branch and them merge them when everything is functional?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1093060</commentid>
    <comment_count>8</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-05-07 23:37:40 -0700</bug_when>
    <thetext>I assume I don&apos;t have privileges to create/commit to a branch in the WebKit repository. Is that correct? Is a GitHub branch OK?

If you want to see the patches all together, they&apos;re here in a jhbuild module in this work-in-progress commit:

https://github.com/ptomato/gtk-osx-build/commit/0a09d53e4d9bf7ae49b19f9e2adea9da9fdf8472

This _should_ yield a working version of WebKitGTK 2.8.0 on OSX.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1105230</commentid>
    <comment_count>9</comment_count>
    <who name="Philip Chimento">philip.chimento</who>
    <bug_when>2015-06-27 16:13:50 -0700</bug_when>
    <thetext>As discussed on #126492, there&apos;s also https://github.com/ptomato/webkit/pull/2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1132318</commentid>
    <comment_count>10</comment_count>
      <attachid>252687</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2015-10-12 09:17:40 -0700</bug_when>
    <thetext>Comment on attachment 252687
Patch

This patch seems okay, but the commit message is a bit inaccurate. !Darwin doesn&apos;t necessary imply Linux.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1132332</commentid>
    <comment_count>11</comment_count>
      <attachid>252687</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-10-12 10:01:44 -0700</bug_when>
    <thetext>Comment on attachment 252687
Patch

Clearing flags on attachment: 252687

Committed r190856: &lt;http://trac.webkit.org/changeset/190856&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1132333</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-10-12 10:01:52 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>252289</attachid>
            <date>2015-05-03 15:59:06 -0700</date>
            <delta_ts>2015-05-07 23:08:57 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>webkit-144555-disable-version-script.patch</filename>
            <type>text/plain</type>
            <size>562</size>
            <attacher name="Philip Chimento">philip.chimento</attacher>
            
              <data encoding="base64">LS0tIGEvU291cmNlL2NtYWtlL09wdGlvbnNHVEsuY21ha2UJMjAxNS0wMS0wMSAwMjozNTo0Ni4w
MDAwMDAwMDAgLTA3MDAKKysrIGIvU291cmNlL2NtYWtlL09wdGlvbnNHVEsuY21ha2UJMjAxNS0w
MS0wMSAwMjozNjowNC4wMDAwMDAwMDAgLTA3MDAKQEAgLTk0LDcgKzk0LDkgQEAKIGVsc2UgKCkK
ICAgICBzZXQoRU5BQkxFX1RPT0xTIE9GRikKICAgICBXRUJLSVRfT1BUSU9OX0RFRkFVTFRfUE9S
VF9WQUxVRShFTkFCTEVfQVBJX1RFU1RTIE9GRikKLSAgICBzZXQoV2ViS2l0Ml9WRVJTSU9OX1ND
UklQVCAiLVdsLC0tdmVyc2lvbi1zY3JpcHQsJHtDTUFLRV9NT0RVTEVfUEFUSH0vZ3Rrc3ltYm9s
cy5maWx0ZXIiKQorICAgIGlmIChDTUFLRV9TWVNURU1fTkFNRSBNQVRDSEVTICJMaW51eCIpCisg
ICAgICAgIHNldChXZWJLaXQyX1ZFUlNJT05fU0NSSVBUICItV2wsLS12ZXJzaW9uLXNjcmlwdCwk
e0NNQUtFX01PRFVMRV9QQVRIfS9ndGtzeW1ib2xzLmZpbHRlciIpCisgICAgZW5kaWYgKCkKIGVu
ZGlmICgpCiAKIGlmIChDTUFLRV9TWVNURU1fTkFNRSBNQVRDSEVTICJMaW51eCIpCg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>252687</attachid>
            <date>2015-05-07 23:09:02 -0700</date>
            <delta_ts>2015-10-12 10:01:44 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-144555-20150507230745.patch</filename>
            <type>text/plain</type>
            <size>1370</size>
            <attacher name="Philip Chimento">philip.chimento</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTgzOTc5CmRpZmYgLS1naXQgYS9Tb3VyY2UvY21ha2UvT3B0
aW9uc0dUSy5jbWFrZSBiL1NvdXJjZS9jbWFrZS9PcHRpb25zR1RLLmNtYWtlCmluZGV4IDI1MDhm
Njg3ZjRhNDc4OWJjZTc2YWJiZGI3Y2FhMDVjZTcyNDNhZWQuLjE2ZWJmYzBkYzY4OTFkZGUxNTUw
MDNlOTBkZmZjYzllZTRlY2VhMjUgMTAwNjQ0Ci0tLSBhL1NvdXJjZS9jbWFrZS9PcHRpb25zR1RL
LmNtYWtlCisrKyBiL1NvdXJjZS9jbWFrZS9PcHRpb25zR1RLLmNtYWtlCkBAIC04Miw3ICs4Miw5
IEBAIGlmIChERVZFTE9QRVJfTU9ERSkKIGVsc2UgKCkKICAgICBXRUJLSVRfT1BUSU9OX0RFRkFV
TFRfUE9SVF9WQUxVRShFTkFCTEVfTUlOSUJST1dTRVIgUFVCTElDIE9GRikKICAgICBXRUJLSVRf
T1BUSU9OX0RFRkFVTFRfUE9SVF9WQUxVRShFTkFCTEVfQVBJX1RFU1RTIFBSSVZBVEUgT0ZGKQot
ICAgIHNldChXZWJLaXQyX1ZFUlNJT05fU0NSSVBUICItV2wsLS12ZXJzaW9uLXNjcmlwdCwke0NN
QUtFX01PRFVMRV9QQVRIfS9ndGtzeW1ib2xzLmZpbHRlciIpCisgICAgaWYgKE5PVCBDTUFLRV9T
WVNURU1fTkFNRSBNQVRDSEVTICJEYXJ3aW4iKQorICAgICAgICBzZXQoV2ViS2l0Ml9WRVJTSU9O
X1NDUklQVCAiLVdsLC0tdmVyc2lvbi1zY3JpcHQsJHtDTUFLRV9NT0RVTEVfUEFUSH0vZ3Rrc3lt
Ym9scy5maWx0ZXIiKQorICAgIGVuZGlmICgpCiBlbmRpZiAoKQogCiBpZiAoQ01BS0VfU1lTVE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