<?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>108089</bug_id>
          
          <creation_ts>2013-01-28 09:37:22 -0800</creation_ts>
          <short_desc>&quot;clang: warning: not using the clang compiler for C++ inputs&quot; due to hard-coding of /usr/bin/clang in WebCore.gyp</short_desc>
          <delta_ts>2013-01-28 21:23:45 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.6</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>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="sideshowbarker">mike</reporter>
          <assigned_to name="Tony Chang">tony</assigned_to>
          <cc>abarth</cc>
    
    <cc>laszlo.gombos</cc>
    
    <cc>thakis</cc>
    
    <cc>tony</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>817812</commentid>
    <comment_count>0</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2013-01-28 09:37:22 -0800</bug_when>
    <thetext>http://trac.webkit.org/changeset/140925 for bug 107984 changed Source/WebCore/WebCore.gyp/WebCore.gyp so that it now hardcodes &quot;/usr/bin/clang&quot; as an argument for --preprocessor switch that&apos;s fed to the part of the build that preprocesses the bindings idl files.

In my OSX 10.6.8 environment, that change causes the build to generate hundreds of &quot;clang: warning: not using the clang compiler for C++ inputs&quot; messages.

Why not just have &quot;clang&quot; there instead of &quot;/usr/bin/clang&quot;? That way you could just have this part of the build using the clang that the rest of the build uses; e.g., if I have my environment set up for building Chromium with clang in $CHROME/src/third_party/llvm-build/Release+Asserts/bin the idl preprocessing would use that clang too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>817821</commentid>
    <comment_count>1</comment_count>
    <who name="Nico Weber">thakis</who>
    <bug_when>2013-01-28 09:49:07 -0800</bug_when>
    <thetext>Install Xcode 4.2 and install the command line tools. Then you should be all set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>817830</commentid>
    <comment_count>2</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2013-01-28 09:58:32 -0800</bug_when>
    <thetext>(In reply to comment #1)
&gt; Install Xcode 4.2 and install the command line tools. Then you should be all set.

If Xcode 4.2 is the latest, it&apos;s not possible to install it in a OSX 10.6.8. I tried it before and got a message saying as much. Anyway, I&apos;m able to build Chromium fine in my 10.6 without needing Xcode 4.2, and I think it&apos;s reasonable to expect that dependencies on Xcode 4.2 shouldn&apos;t be introduced unless they&apos;re really necessary.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>817855</commentid>
    <comment_count>3</comment_count>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-01-28 10:30:23 -0800</bug_when>
    <thetext>Nico: Maybe I should have OSX use /usr/bin/gcc?  That would actually be more like the Apple Mac build.  When /usr/bin/gcc goes away, we&apos;ll have to update both builds.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>817971</commentid>
    <comment_count>4</comment_count>
    <who name="Nico Weber">thakis</who>
    <bug_when>2013-01-28 12:17:22 -0800</bug_when>
    <thetext>Fine with me, but I&apos;m not sure how much longer we&apos;re going to support buildling with Xcode 3.2.6 anyhow. And I believe Xcode 4.2 includes a capable clang and is available for 10.6 (that&apos;s what I have installed on my 10.6 box).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>817985</commentid>
    <comment_count>5</comment_count>
      <attachid>185034</attachid>
    <who name="Tony Chang">tony</who>
    <bug_when>2013-01-28 12:32:26 -0800</bug_when>
    <thetext>Created attachment 185034
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>818000</commentid>
    <comment_count>6</comment_count>
    <who name="Nico Weber">thakis</who>
    <bug_when>2013-01-28 12:38:59 -0800</bug_when>
    <thetext>lgtm / meh.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>818082</commentid>
    <comment_count>7</comment_count>
      <attachid>185034</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-01-28 14:07:32 -0800</bug_when>
    <thetext>Comment on attachment 185034
Patch

Clearing flags on attachment: 185034

Committed r141007: &lt;http://trac.webkit.org/changeset/141007&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>818083</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2013-01-28 14:07:36 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>818471</commentid>
    <comment_count>9</comment_count>
    <who name="sideshowbarker">mike</who>
    <bug_when>2013-01-28 21:23:45 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Fine with me, but I&apos;m not sure how much longer we&apos;re going to support buildling with Xcode 3.2.6 anyhow. And I believe Xcode 4.2 includes a capable clang and is available for 10.6 (that&apos;s what I have installed on my 10.6 box).

Not to beat this into the ground, but I went to https://developer.apple.com/downloads/index.action?name=Xcode to try to download it but the only Xcode 4.2 download there is specifically labeled &quot;Xcode 4.2 for Lion&quot;. (The Xcode 4.1 and 4.3 downloads are labeled that way too.) So if you&apos;re using it with 10.6, I assume that despite how it&apos;s labeled it&apos;s actually possible to install it and run it under 10.6, so I&apos;ll give it a try.

Also, I get the main point and will make some time soon to get my OS updated to Mountain Lion.

Anyway, thanks for the responses and fix on this bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>185034</attachid>
            <date>2013-01-28 12:32:26 -0800</date>
            <delta_ts>2013-01-28 14:07:32 -0800</delta_ts>
            <desc>Patch</desc>
            <filename>bug-108089-20130128122913.patch</filename>
            <type>text/plain</type>
            <size>2101</size>
            <attacher name="Tony Chang">tony</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTQwOTg4CmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViQ29yZS9D
aGFuZ2VMb2cgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKaW5kZXggOTk2MTI5OGQwODM3MzFj
OTlhMDIzMDYyNWMzZGRlZjQwYTRiOWFiMC4uYmIxODliY2IyNjZjMmQzYTdiYjAwZmYyMzQ1M2Ix
ZTIzZmJhMTIzYyAxMDA2NDQKLS0tIGEvU291cmNlL1dlYkNvcmUvQ2hhbmdlTG9nCisrKyBiL1Nv
dXJjZS9XZWJDb3JlL0NoYW5nZUxvZwpAQCAtMSwzICsxLDE4IEBACisyMDEzLTAxLTI4ICBUb255
IENoYW5nICA8dG9ueUBjaHJvbWl1bS5vcmc+CisKKyAgICAgICAgImNsYW5nOiB3YXJuaW5nOiBu
b3QgdXNpbmcgdGhlIGNsYW5nIGNvbXBpbGVyIGZvciBDKysgaW5wdXRzIiBkdWUgdG8gaGFyZC1j
b2Rpbmcgb2YgL3Vzci9iaW4vY2xhbmcgaW4gV2ViQ29yZS5neXAKKyAgICAgICAgaHR0cHM6Ly9i
dWdzLndlYmtpdC5vcmcvc2hvd19idWcuY2dpP2lkPTEwODA4OQorCisgICAgICAgIFJldmlld2Vk
IGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAgIFVzZSBnY2Mgc2luY2Ugb2xkZXIgdmVyc2lv
bnMgb2YgY2xhbmcgKHdpdGggWGNvZGUgMy4yKSB3YXJuIHRoYXQgdGhleSBhcmUgZ29pbmcgdG8g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ICAgICAgICAgIyBX
ZSBzcGVjaWZ5IGEgcHJlcHJvY2VzcyBzbyBpdCBoYXBwZW5zIGxvY2FsbHkgYW5kIHdvbid0IGdl
dCBkaXN0cmlidXRlZCB0byBnb21hLgotICAgICAgICAgIFsnT1M9PSJtYWMiIG9yIE9TPT0iaW9z
IicsIHsKLSAgICAgICAgICAgICdwcmVwcm9jZXNzb3InOiAnLS1wcmVwcm9jZXNzb3IgIi91c3Iv
YmluL2NsYW5nIC1FIC1QIC14IGMrKyInCi0gICAgICAgICAgfSx7Ci0gICAgICAgICAgICAncHJl
cHJvY2Vzc29yJzogJy0tcHJlcHJvY2Vzc29yICIvdXNyL2Jpbi9nY2MgLUUgLVAgLXggYysrIicK
LSAgICAgICAgICB9XQotICAgICAgICBdLAorICAgICAgICAjIFdlIHNwZWNpZnkgYSBwcmVwcm9j
ZXNzIHNvIGl0IGhhcHBlbnMgbG9jYWxseSBhbmQgd29uJ3QgZ2V0IGRpc3RyaWJ1dGVkIHRvIGdv
bWEuCisgICAgICAgICMgRklYTUU6IC91c3IvYmluL2djYyB3b24ndCBleGlzdCBvbiBPU1ggZm9y
ZXZlci4gV2Ugd2FudCB0byB1c2UgL3Vzci9iaW4vY2xhbmcgb25jZSB3ZSByZXF1aXJlIFhjb2Rl
IDQueC4KKyAgICAgICAgJ3ByZXByb2Nlc3Nvcic6ICctLXByZXByb2Nlc3NvciAiL3Vzci9iaW4v
Z2NjIC1FIC1QIC14IGMrKyInCiAgICAgICB9XSwKICAgICAgIFsndXNlX3gxMT09MSBvciBPUz09
ImFuZHJvaWQiJywgewogICAgICAgICAnd2ViY29yZV9pbmNsdWRlX2RpcnMnOiBbCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>