Skip to content

Build is broken with clang 3.8 #4699

Closed
Closed
@karkhaz

Description

@karkhaz

I'm assigning @smowton because git blame told me to, but I doubt it's actually your fault. I'll bisect this later today and update the ticket.

> CXX=/usr/bin/clang++ cmake -GNinja -H. -Bbuild -DCMAKE_BUILD_TYPE=Debug
> cmake --build build
cbmc/src/pointer-analysis/value_set.h:227:19: error: 
      invalid operands to binary expression ('const object_mapt' (aka 'const
      reference_counting<map<unsigned long,
      nonstd::optional_lite::optional<BigInt> >, empty_object_map>') and
      'const object_mapt')
        object_map==other.object_map;
        ~~~~~~~~~~^ ~~~~~~~~~~~~~~~~
ws> /usr/bin/clang++ --version
clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
ws> cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.6 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.6 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
ws> git show
commit e7944411a13177dfaccfc8667908f8fbe5c94a78
Merge: 0888187 e739fbb
Author: Michael Tautschnig <[email protected]>
Date:   Thu May 23 12:10:40 2019 +0100

    Merge pull request #4697 from tautschnig/fix-value-set-filtering
    
    Value-set filtering: gracefully handle pointer arithmetic
> git blame -L227,227 src/pointer-analysis/value_set.h
d4f1b294 (Chris Smowton 2017-10-11 11:35:04 +0100 227)         object_map==other.object_map;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions