[LLVMbugs] [Bug 8059] New: Fails to build MC with -Werror

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 1 19:28:32 PDT 2010


           Summary: Fails to build MC with -Werror
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: oroppas at gmail.com
                CC: llvmbugs at cs.uiuc.edu

[ 43%] Building CXX object
cc1plus: warnings being treated as errors
/home/ryuta/devel/llvm/src/llvm/lib/MC/WinCOFFObjectWriter.cpp: In member
function ‘virtual void<unnamed>::WinCOFFObjectWriter::RecordRelocation(const
llvm::MCAssembler&, const llvm::MCAsmLayout&, const llvm::MCFragment*, const
llvm::MCFixup&, llvm::MCValue, uint64_t&)’:
/home/ryuta/devel/llvm/src/llvm/lib/MC/WinCOFFObjectWriter.cpp:609:3: error:
case value ‘131’ not in enumerated type ‘llvm::MCFixupKind’
/home/ryuta/devel/llvm/src/llvm/lib/MC/WinCOFFObjectWriter.cpp:610:3: error:
case value ‘132’ not in enumerated type ‘llvm::MCFixupKind’
make[2]: *** [lib/MC/CMakeFiles/LLVMMC.dir/WinCOFFObjectWriter.cpp.o] Error 1
make[1]: *** [lib/MC/CMakeFiles/LLVMMC.dir/all] Error 2
make: *** [all] Error 2

Here's how I configured and built:

        -DCMAKE_CXX_FLAGS:STRING="-O2 -march=native -pipe" \
        -DCMAKE_C_FLAGS:STRING="-O2 -march=native -pipe" \

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list