<?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>41679</bug_id>
          
          <creation_ts>2010-07-06 03:15:14 -0700</creation_ts>
          <short_desc>[Qt] REGRESSION (r62511): 64-bit build is broken</short_desc>
          <delta_ts>2010-07-08 11:55:22 -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>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>41641</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>41641</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>loki</cc>
    
    <cc>sam</cc>
    
    <cc>zherczeg</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>246983</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-07-06 03:15:14 -0700</bug_when>
    <thetext>They don&apos;t exist on Linux:
#include &lt;mach/mach_init.h&gt;
#include &lt;mach/vm_map.h&gt;

arc4random() function is available only on bsd based systems by default.
On Linux, you have to install libbsd-dev package to use arc4random(). I 
think it isn&apos;t a good idea to add a new dependency because of this function.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>247001</commentid>
    <comment_count>1</comment_count>
      <attachid>60611</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-07-06 03:35:00 -0700</bug_when>
    <thetext>Created attachment 60611
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>247012</commentid>
    <comment_count>2</comment_count>
    <who name="Gabor Loki">loki</who>
    <bug_when>2010-07-06 04:15:29 -0700</bug_when>
    <thetext>And what about QtWebKit on MAC? It satisfy both requirements - the includes and the arc4random function. (I guess the original change was induced by a bug or a limitation on Mac.

In additional this patch will not fix the Gtk-64 which will have the same error (if the current include problem is fixed).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>247446</commentid>
    <comment_count>3</comment_count>
      <attachid>60611</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-07-07 03:22:43 -0700</bug_when>
    <thetext>Comment on attachment 60611
Patch

I&apos;m all for build fixes, but the second part of your diff looks like a bit of copy/paste.  Is there a better way of structuring the #ifdefs to just target the arc4random part?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>247456</commentid>
    <comment_count>4</comment_count>
      <attachid>60611</attachid>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-07-07 03:33:28 -0700</bug_when>
    <thetext>Comment on attachment 60611
Patch

This fix is obsolete, because the original patch was rolled-out.

Gavin, could you fix this issue too when you land the fixed
patch in https://bugs.webkit.org/show_bug.cgi?id=41641 ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>248396</commentid>
    <comment_count>5</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2010-07-08 11:55:22 -0700</bug_when>
    <thetext>Resolved (hopefully) as a part of relanding initial patch.

*** This bug has been marked as a duplicate of bug 41641 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>60611</attachid>
            <date>2010-07-06 03:35:00 -0700</date>
            <delta_ts>2010-07-07 03:33:28 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-41679-20100706033458.patch</filename>
            <type>text/plain</type>
            <size>1903</size>
            <attacher name="Csaba Osztrogonác">ossy</attacher>
            
              <data encoding="base64">SW5kZXg6IEphdmFTY3JpcHRDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBKYXZhU2NyaXB0
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDYyNTQwKQorKysgSmF2YVNjcmlwdENvcmUvQ2hhbmdl
TG9nCSh3b3JraW5nIGNvcHkpCkBAIC0xLDMgKzEsMTYgQEAKKzIwMTAtMDctMDYgIENzYWJhIE9z
enRyb2dvbsOhYyAgPG9zc3lAd2Via2l0Lm9yZz4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JP
RFkgKE9PUFMhKS4KKworICAgICAgICBEb25lIHRvZ2V0aGVyIHdpdGggWm9sdMOhbiBIZXJjemVn
IDx6aGVyY3plZ0B3ZWJraXQub3JnPgorCisgICAgICAgIFtRdF0gQnVpbGRmaXggYWZ0ZXIgcjYy
NTExCisgICAgICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD00MTY3
OQorCisgICAgICAgICogaml0L0V4ZWN1dGFibGVBbGxvY2F0b3JGaXhlZFZNUG9vbC5jcHA6Cisg
ICAgICAgICAtIFZNX1BPT0xfQVNMUiBpcyBkaXNhYmxlZCBmb3IgUExBVEZPUk0oUVQpCisgICAg
ICAgICAtICNpZiAhUExBVEZPUk0oUVQpIGd1YXJkIGFkZGVkIGZvciA8bWFjaC8qPiBpbmNsdWRl
cworCiAyMDEwLTA3LTA1ICBHYXZpbiBCYXJyYWNsb3VnaCAgPGJhcnJhY2xvdWdoQGFwcGxlLmNv
bT4KIAogICAgICAgICBSZXZpZXdlZCBieSBTYW0gV2VpbmlnLgpJbmRleDogSmF2YVNjcmlwdENv
cmUvaml0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