<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW " title="NEW --- - &quot;section type does not match previous section type&quot; with -no-integrated as" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24253&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=sa3IpXg6SVtDZrkr6qsnxrmykoSCAH_NbqBuwWDbMFo&s=PGKe86DzLFVMJ0e48gzdjhsVwiWgDzCZxiwFVfiSmOE&e=">24253</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"section type does not match previous section type" with -no-integrated as
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>3.6
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>noloader@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=14642" name="attach_14642" title="algparam.s file (temporary artifact)">attachment 14642</a> <a href="attachment.cgi?id=14642&action=edit" title="algparam.s file (temporary artifact)">[details]</a></span>
algparam.s file (temporary artifact)

We are performing some testing on OS X 10.8.5, fully patched. Disabling the
integrated assembler results in the following when compiling a particular
source file:

    section type does not match previous section type

Here's the invocation:

    $ export CXX="clang++ -no-integrated-as"
    $ export CXXFLAGS="-g2 -O3 -DNDEBUG -DCRYPTOPP_DISABLE_ASM --save-temps"
    $ make clean && make
    ...
    clang++ -no-integrated-as -g2 -O3 -DNDEBUG -DCRYPTOPP_DISABLE_ASM
--save-temps -fPIC -march=native -DCRYPTOPP_DISABLE_ASM -Wall
-Wno-tautological-compare -pipe -c algparam.cpp
    algparam.s:2718:section type does not match previous section type

algparam.cpp can be found at
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_weidai11_cryptopp_blob_master_algparam.cpp&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=pF93YEPyB-J_PERP4DUZOJDzFVX5ZQ57vQk33wu0vio&m=sa3IpXg6SVtDZrkr6qsnxrmykoSCAH_NbqBuwWDbMFo&s=CBxzYnug96N_pibbwcWk31khe-WWC0AnrdPzTCGPYO8&e=">https://github.com/weidai11/cryptopp/blob/master/algparam.cpp</a>.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>