<html>
    <head>
      <base href="http://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 --- - error: DWARF2 only supports one section per compilation unit"
   href="http://llvm.org/bugs/show_bug.cgi?id=20879">20879</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>error: DWARF2 only supports one section per compilation unit
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>choller@mozilla.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>The current Clang trunk doesn't build mozilla-central (Firefox) anymore, here's
the error:

security/nss/lib/freebl$ /srv/repos/llvm-trunk/build/bin/clang -o
/srv/repos/browser/mozilla-central/objdir-ff-asan64opt/security/nss/lib/freebl/arcfour-amd64-gas.o
-O2 -gdwarf-2 -fPIC -DLINUX2_1 -m64 -Wall -Werror-implicit-function-declaration
-Wno-switch -pipe -ffunction-sections -fdata-sections -DLINUX -Dlinux
-DHAVE_STRERROR -DXP_UNIX -DSHLIB_SUFFIX=\"so\" -DSHLIB_PREFIX=\"lib\"
-DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" -DRIJNDAEL_INCLUDE_TABLES
-UDEBUG -DNDEBUG -D_REENTRANT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DNSS_USE_64 -DNSS_X86_OR_X64
-DNSS_X64 -DNSS_BEVAND_ARCFOUR -DMPI_AMD64 -DMP_ASSEMBLY_MULTIPLY
-DNSS_USE_COMBA -DMP_CHAR_STORE_SLOW -DMP_IS_LITTLE_ENDIAN -DUSE_HW_AES
-DINTEL_GCM -DMP_API_COMPATIBLE
-I/srv/repos/browser/mozilla-central/objdir-ff-asan64opt/dist/include/nspr
-I/srv/repos/browser/mozilla-central/objdir-ff-asan64opt/dist/include/nspr
-I/srv/repos/browser/mozilla-central/objdir-ff-asan64opt/dist/include/nss
-I/srv/repos/browser/mozilla-central/objdir-ff-asan64opt/dist/private/nss -Impi
-Iecl -Qunused-arguments  -Qunused-arguments -Wall -Wpointer-arith
-Wdeclaration-after-statement -Werror=return-type -Werror=int-to-pointer-cast
-Wtype-limits -Wempty-body -Wsign-compare -Wno-unused -Wno-inline-new-delete
-Wno-return-type-c-linkage -Dxmalloc=myxmalloc -fsanitize=address -std=gnu99
-fgnu89-inline -fno-strict-aliasing -fno-math-errno -pthread -pipe  -DNDEBUG
-DTRIMMED -g -O2 -gline-tables-only -fno-omit-frame-pointer  -fPIC
-Wa,--noexecstack -c arcfour-amd64-gas.s
arcfour-amd64-gas.s:87:1: error: DWARF2 only supports one section per
compilation unit
.section .note.GNU-stack,"",@progbits
^


glandium suggested that <a href="http://reviews.llvm.org/D2697">http://reviews.llvm.org/D2697</a> regressed this and I
confirmed that this introduced the problem.</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>