]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commit
build: notcmalloc builds enable WITH_BOOST_VALGRIND 1736/head
authorCasey Bodley <cbodley@redhat.com>
Wed, 3 Feb 2021 14:32:28 +0000 (09:32 -0500)
committerCasey Bodley <cbodley@redhat.com>
Wed, 3 Feb 2021 14:38:27 +0000 (09:38 -0500)
commit936a442ce6a4ecde0c10c6c976395e76b21db6f4
tree51e649388ecb8777188bc05cf8b961adf3fb0ccd
parentd2abf8e15d6186d7c31ad872c4404e56ee468d07
build: notcmalloc builds enable WITH_BOOST_VALGRIND

this flag silences a false-positive from valgrind in boost::context:
```
<error>
  <unique>0x0</unique>
  <tid>124</tid>
  <kind>InvalidRead</kind>
  <what>Invalid read of size 8</what>
  <stack>
    <frame>
      <ip>0x52FF7E7</ip>
      <obj>/usr/lib64/libradosgw.so.2.0.0</obj>
      <fn>spawn::detail::continuation_context::resume()</fn>
    </frame>
  </stack>
  <auxwhat>Address 0x57f65728 is in a rw- anonymous segment</auxwhat>
</error>
```

Fixes: https://tracker.ceph.com/issues/48963
Signed-off-by: Casey Bodley <cbodley@redhat.com>
ceph-dev-new-setup/build/build
ceph-dev-setup/build/build
ceph-setup/build/build