Bug#850150: freemat ftbfs with LLVM 3.9

Graham Inggs ginggs at debian.org
Wed Jan 4 14:14:03 UTC 2017


Hi

The attached updated fix-llvm-build.patch fixes the build almost 
everywhere by adding LLVMCoverage to OPTIONAL_LIBS.

The build now fails on i386 with the following:

In file included from 
/usr/lib/llvm-3.9/include/llvm/Target/TargetOptions.h:20:0,
                  from 
/usr/lib/llvm-3.9/include/llvm/Target/TargetMachine.h:22,
                  from 
/usr/lib/llvm-3.9/include/llvm/ExecutionEngine/ExecutionEngine.h:28,
                  from 
/<<BUILDDIR>>/freemat-4.2+dfsg1/libs/libMatC/CJitFuncClang.hpp:8,
                  from 
/<<BUILDDIR>>/freemat-4.2+dfsg1/libs/libMatC/JITFactory.cpp:2:
/usr/lib/llvm-3.9/include/llvm/MC/MCAsmInfo.h:39:6: error: expected 
identifier before ‘,’ token
    X86,     /// Windows x86, uses no CFI, just EH tables
       ^
/usr/lib/llvm-3.9/include/llvm/MC/MCAsmInfo.h: In member function ‘bool 
llvm::MCAsmInfo::usesWindowsCFI() const’:
/usr/lib/llvm-3.9/include/llvm/MC/MCAsmInfo.h:555:58: error: expected 
unqualified-id before ‘)’ token
              WinEHEncodingType != WinEH::EncodingType::X86);
                                                           ^

Regards
Graham

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-llvm-build.patch
Type: text/x-diff
Size: 2183 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170104/9ac40f97/attachment.patch>


More information about the debian-science-maintainers mailing list