[LLVMbugs] [Bug 20879] New: error: DWARF2 only supports one section per compilation unit

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 8 07:19:40 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20879

            Bug ID: 20879
           Summary: error: DWARF2 only supports one section per
                    compilation unit
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: choller at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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,"", at progbits
^


glandium suggested that http://reviews.llvm.org/D2697 regressed this and I
confirmed that this introduced the problem.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140908/edf7d070/attachment.html>


More information about the llvm-bugs mailing list