[LLVMbugs] [Bug 23628] New: Mesa build failure with llvm-3.7.0svn

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu May 21 20:43:43 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23628

            Bug ID: 23628
           Summary: Mesa build failure with llvm-3.7.0svn
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Keywords: regression
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: vlee at freedesktop.org
                CC: brian.e.paul at gmail.com, jfonseca at vmware.com,
                    llvmbugs at cs.uiuc.edu, sroland at vmware.com
    Classification: Unclassified

Mesa fails to build with llvm-3.7.0svn.


  Compiling src/gallium/auxiliary/gallivm/lp_bld_misc.cpp ...
In file included from llvm/include/llvm/Object/RelocVisitor.h:23:0,
                 from llvm/include/llvm/DebugInfo/DIContext.h:21,
                 from llvm/include/llvm/ExecutionEngine/RuntimeDyld.h:21,
                 from llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:18,
                 from src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:56:
llvm/include/llvm/Support/Debug.h:92:0: warning: "DEBUG" redefined
 #define DEBUG(X) DEBUG_WITH_TYPE(DEBUG_TYPE, X)
 ^
<command-line>:0:0: note: this is the location of the previous definition
<command-line>:0:7: error: expected identifier before numeric constant
llvm/include/llvm/Support/COFF.h:541:5: note: in expansion of macro ‘DEBUG’
     DEBUG,
     ^
<command-line>:0:7: error: expected ‘}’ before numeric constant
llvm/include/llvm/Support/COFF.h:541:5: note: in expansion of macro ‘DEBUG’
     DEBUG,
     ^
<command-line>:0:7: error: expected unqualified-id before numeric constant
llvm/include/llvm/Support/COFF.h:541:5: note: in expansion of macro ‘DEBUG’
     DEBUG,
     ^
In file included from llvm/include/llvm/Object/COFF.h:19:0,
                 from llvm/include/llvm/Object/RelocVisitor.h:20,
                 from llvm/include/llvm/DebugInfo/DIContext.h:21,
                 from llvm/include/llvm/ExecutionEngine/RuntimeDyld.h:21,
                 from llvm/include/llvm/ExecutionEngine/ExecutionEngine.h:18,
                 from src/gallium/auxiliary/gallivm/lp_bld_misc.cpp:56:
llvm/include/llvm/Support/COFF.h:684:1: error: expected declaration before ‘}’
token
 } // End namespace llvm.
 ^


b6976af3cd6650da1e46127fc890fa256d0add31 is the first bad commit
commit b6976af3cd6650da1e46127fc890fa256d0add31
Author: Keno Fischer <kfischer at college.harvard.edu>
Date:   Thu May 21 21:24:32 2015 +0000

    Make it easier to use DwarfContext with MCJIT

    Summary:
    This supersedes http://reviews.llvm.org/D4010, hopefully properly
    dealing with the JIT case and also adds an actual test case.
    DwarfContext was basically already usable for the JIT (and back when
    we were overwriting ELF files it actually worked out of the box by
    accident), but in order to resolve relocations correctly it needs
    to know the load address of the section.
    Rather than trying to get this out of the ObjectFile or requiring
    the user to create a new ObjectFile just to get some debug info,
    this adds the capability to pass in that info directly.
    As part of this I separated out part of the LoadedObjectInfo struct
    from RuntimeDyld, since it is now required at a higher layer.

    Reviewers: lhames, echristo

    Reviewed By: echristo

    Subscribers: vtjnash, friss, rafael, llvm-commits

    Differential Revision: http://reviews.llvm.org/D6961

    git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237961
91177308-0d34-0410-b5e6-96231b3b80d8

:040000 040000 dacc067efc36838238854773830812292ab666ac
d62ce735614fd84e5ce0c186d35c6852261b49a6 M    include
:040000 040000 8230e332555950f27a239bec10048ff41212c4fa
6fd01c676a9d9d933c97187ad5259c3001d7684b M    lib
:040000 040000 131a6578fbd9c5227b43006895298144a0f07ff6
b7a25dcbc4547d4b4d353b5e3188d414955ffbd1 M    test
:040000 040000 8a0a777c2e3f1c41ea5bb46f4a540d78c1dd017d
29decdce85fcb43d18d4d5be11a2bd5ec403dc58 M    tools
bisect run success

-- 
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/20150522/56d28e1c/attachment.html>


More information about the llvm-bugs mailing list