Bug#907621: llvm-3.8: Compiler Error for wrong conversion in LLVM/include/llvm/IR/ValueMap.h while building KLEE

Kaipeng Zeng kaipeng94 at gmail.com
Thu Aug 30 09:59:05 BST 2018


Package: llvm-3.8
Version: 1:3.8.1-24
Severity: normal

Dear Maintainer,

    When i was building KLEE follow the documentation:
    http://klee.github.io/build-llvm38/
    I got the compiler error:
    /usr/lib/llvm-3.8/include/llvm/IR/ValueMap.h:102:31: error: cannot convert ‘const std::unique_ptr<llvm::DenseMap<const llvm::Metadata*, llvm::TrackingMDRef> >’ to ‘bool’ in return
    bool hasMD() const { return MDMap; }
    It seems to be the same error that has been discussed:
    https://github.com/digego/extempore/issues/318
    and has been fixed:      
    https://github.com/digego/extempore/pull/322/commits

-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages llvm-3.8 depends on:
ii  libc6             2.27-3
ii  libgcc1           1:8.2.0-4
ii  libllvm3.8        1:3.8.1-24
ii  libstdc++6        8.2.0-4
ii  libtinfo5         6.0+20161126-1+deb9u2
ii  llvm-3.8-runtime  1:3.8.1-24
ii  zlib1g            1:1.2.11.dfsg-1

Versions of packages llvm-3.8 recommends:
ii  llvm-3.8-dev  1:3.8.1-24

Versions of packages llvm-3.8 suggests:
pn  llvm-3.8-doc  <none>

-- no debconf information


More information about the Pkg-llvm-team mailing list