<?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>56098</bug_id>
          
          <creation_ts>2011-03-10 07:12:58 -0800</creation_ts>
          <short_desc>[Qt] MSVC Build Error - need to link advapi32.lib for jsc.exe</short_desc>
          <delta_ts>2011-03-25 08:29:10 -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>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Jarred Nicholls">jarred</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>benjamin</cc>
    
    <cc>commit-queue</cc>
    
    <cc>jturcotte</cc>
    
    <cc>menard</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>365147</commentid>
    <comment_count>0</comment_count>
    <who name="Jarred Nicholls">jarred</who>
    <bug_when>2011-03-10 07:12:58 -0800</bug_when>
    <thetext>OSRandomnSource.cpp utilizes the Crypto API found in advapi32.  Linker error when linking jsc.exe (against jscore.lib), needs to include advapi32.lib in jsc.pro.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365151</commentid>
    <comment_count>1</comment_count>
      <attachid>85321</attachid>
    <who name="Jarred Nicholls">jarred</who>
    <bug_when>2011-03-10 07:18:00 -0800</bug_when>
    <thetext>Created attachment 85321
Proposed patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365349</commentid>
    <comment_count>2</comment_count>
    <who name="Alexis Menard (darktears)">menard</who>
    <bug_when>2011-03-10 11:31:48 -0800</bug_when>
    <thetext>I wonder why it does not happen on my windows XP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365358</commentid>
    <comment_count>3</comment_count>
    <who name="Jarred Nicholls">jarred</who>
    <bug_when>2011-03-10 11:34:39 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; I wonder why it does not happen on my windows XP.

You are building the Qt port?

&quot;perl build-webkit --qt --release&quot;

VC++ 9 reports unresolved symbols when linking jsc.exe, requiring an explicit addition of advapi32.lib on the link command line.  `#pragma comment(lib, &quot;advapi32&quot;)` works as well.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365365</commentid>
    <comment_count>4</comment_count>
    <who name="Alexis Menard (darktears)">menard</who>
    <bug_when>2011-03-10 11:43:05 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; I wonder why it does not happen on my windows XP.
&gt; 
&gt; You are building the Qt port?

:) Yep.

&gt; 
&gt; &quot;perl build-webkit --qt --release&quot;
&gt; 
&gt; VC++ 9 reports unresolved symbols when linking jsc.exe, requiring an explicit addition of advapi32.lib on the link command line.  `#pragma comment(lib, &quot;advapi32&quot;)` works as well.

VC++ 9 is the one included with Visual Studio 2010 express right? Because I&apos;m building with the one in Visual Studio 2008. Perhaps that explain.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>365383</commentid>
    <comment_count>5</comment_count>
    <who name="Jarred Nicholls">jarred</who>
    <bug_when>2011-03-10 11:52:59 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; &gt; VC++ 9 reports unresolved symbols when linking jsc.exe, requiring an explicit addition of advapi32.lib on the link command line.  `#pragma comment(lib, &quot;advapi32&quot;)` works as well.
&gt; 
&gt; VC++ 9 is the one included with Visual Studio 2010 express right? Because I&apos;m building with the one in Visual Studio 2008. Perhaps that explain.

Interestingly enough, no :)  VC9 is 2008, VC10 is 2010.  So we&apos;re using the same version of Express.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>367181</commentid>
    <comment_count>6</comment_count>
      <attachid>85321</attachid>
    <who name="Ariya Hidayat">ariya.hidayat</who>
    <bug_when>2011-03-14 13:33:41 -0700</bug_when>
    <thetext>Comment on attachment 85321
Proposed patch

LGTM. re=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>367392</commentid>
    <comment_count>7</comment_count>
      <attachid>85321</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2011-03-14 17:54:52 -0700</bug_when>
    <thetext>Comment on attachment 85321
Proposed patch

Rejecting attachment 85321 from commit-queue.

Failed to run &quot;[&apos;./Tools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;--bot-id=cr-jail-7&apos;, &apos;land-a...&quot; exit_code: 1

Last 500 characters of output:
rm/gtk/Skipped
	M	LayoutTests/platform/win/Skipped
	M	LayoutTests/platform/mac/Skipped
	A	LayoutTests/fast/forms/interactive-validation-select-crash-expected.txt
	A	LayoutTests/fast/forms/interactive-validation-select-crash.html
	M	LayoutTests/ChangeLog
	M	Source/WebCore/ChangeLog
	M	Source/WebCore/rendering/RenderBlock.cpp
r81088 = 32441d26af2feea641046d75af74f9441dbcbe92 (refs/remotes/trunk)
First, rewinding head to replay your work on top of it...
Fast-forwarded master to refs/remotes/trunk.

Full output: http://queues.webkit.org/results/8175430</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>367413</commentid>
    <comment_count>8</comment_count>
    <who name="Jarred Nicholls">jarred</who>
    <bug_when>2011-03-14 18:25:59 -0700</bug_when>
    <thetext>I was cavalier with the patch and didn&apos;t leave an Unreviewed line.  Can this get committed manually?  Otherwise I&apos;ll reupload tomorrow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>373528</commentid>
    <comment_count>9</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2011-03-25 08:29:10 -0700</bug_when>
    <thetext>Committed r81963: &lt;http://trac.webkit.org/changeset/81963&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>85321</attachid>
            <date>2011-03-10 07:18:00 -0800</date>
            <delta_ts>2011-03-14 17:54:52 -0700</delta_ts>
            <desc>Proposed patch</desc>
            <filename>msvc-osrandom-build-error.patch</filename>
            <type>text/plain</type>
            <size>980</size>
            <attacher name="Jarred Nicholls">jarred</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cgYi9Tb3VyY2UvSmF2
YVNjcmlwdENvcmUvQ2hhbmdlTG9nCmluZGV4IGUzMGVkYjQuLjJlYmYxYTUgMTAwNjQ0Ci0tLSBh
L1NvdXJjZS9KYXZhU2NyaXB0Q29yZS9DaGFuZ2VMb2cKKysrIGIvU291cmNlL0phdmFTY3JpcHRD
b3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDEyIEBACisyMDExLTAzLTEwICBKYXJyZWQgTmljaG9s
bHMgIDxqYXJyZWRAc2VuY2hhLmNvbT4KKworICAgICAgICBbUXRdIE1TVkMgQnVpbGQgRXJyb3Ig
LSBuZWVkIHRvIGxpbmsgYWR2YXBpMzIubGliIGZvciBqc2MuZXhlCisgICAgICAgIGh0dHBzOi8v
YnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD01NjA5OAorCisgICAgICAgIE5lZWQgdG8g
bGluayBhZHZhcGkzMi5saWIgZm9yIGpzYy5leGUgc2luY2Ugd3RmL09TUmFuZG9tU291cmNlLmNw
cCB1c2VzIHRoZSBXaW4zMiBDcnlwdG8gQVBJCisKKyAgICAgICAgKiBqc2MucHJvOgorCiAyMDEx
LTAzLTA5ICBEYW5pZWwgQmF0ZXMgIDxkYmF0ZXNAcmltLmNvbT4KIAogICAgICAgICBBdHRlbXB0
IHRvIGZpeCB0aGUgV2luQ0UgYnVpbGQgYWZ0ZXIgY2hhbmdlc2V0IDgwNjg0IDxodHRwOi8vdHJh
Yy53ZWJraXQub3JnL2NoYW5nZXNldC84MDY4ND4KZGlmZiAtLWdpdCBhL1NvdXJjZS9KYXZhU2Ny
aXB0Q29yZS9qc2MucHJvIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL2pzYy5wcm8KaW5kZXggYTU1
MGM0OC4uNGExMTg2OCAxMDA2NDQKLS0tIGEvU291cmNlL0phdmFTY3JpcHRDb3JlL2pzYy5wcm8K
KysrIGIvU291cmNlL0phdmFTY3JpcHRDb3JlL2pzYy5wcm8KQEAgLTI3LDYgKzI3LDEwIEBAIG1h
YyB7CiAgICAgTElCU19QUklWQVRFICs9IC1mcmFtZXdvcmsgQXBwS2l0CiB9CiAKK3dpbiogewor
ICAgIExJQlMgKz0gYWR2YXBpMzIubGliCit9CisKIHdpbmNlKiB7CiAgICAgTElCUyArPSBtbXRp
bWVyLmxpYgogfQo=
</data>
<flag name="review"
          id="77426"
          type_id="1"
          status="+"
          setter="ariya.hidayat"
    />
    <flag name="commit-queue"
          id="77884"
          type_id="3"
          status="-"
          setter="commit-queue"
    />
          </attachment>
      

    </bug>

</bugzilla>