[Mesa-dev] [Bug 44480] New: Build error with LLVM -DLLVM_APPEND_VC_REV=ON

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 4 22:13:00 PST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=44480

             Bug #: 44480
           Summary: Build error with LLVM -DLLVM_APPEND_VC_REV=ON
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: ojab at ojab.ru


Created attachment 55154
  --> https://bugs.freedesktop.org/attachment.cgi?id=55154
Strip LLVM svn rev from `llvm-config --version` output

LLVM CMake build has an option to append svn rev to version
(LLVM_APPEND_VC_REV), related ./autogen.sh output looks like something like:
llvm-version:    3.1svn-r147373

which lead us to -DHAVE_LLVM=0x0301svn-r147373 and
make[3]: Entering directory `/sources/mesa/src/gallium/auxiliary'
In file included from draw/draw_context.c:40:0:
draw/draw_vs.h:169:5: error: invalid suffix "svn" on integer constant
draw/draw_context.c:43:5: error: invalid suffix "svn" on integer constant

Possible patch in the attached file.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list