mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bannier (JIRA)" <>
Subject [jira] [Updated] (MESOS-6606) Reject optimized builds with libcxx before 3.9
Date Thu, 19 Jan 2017 14:20:26 GMT


Benjamin Bannier updated MESOS-6606:
         Labels: newbie  (was: )
    Component/s:     (was: stout)
                     (was: libprocess)

> Reject optimized builds with libcxx before 3.9
> ----------------------------------------------
>                 Key: MESOS-6606
>                 URL:
>             Project: Mesos
>          Issue Type: Bug
>          Components: build
>            Reporter: Benjamin Bannier
>              Labels: newbie
> Recent clang versions optimize more aggressively which leads to runtime errors using
valid code, see e.g., MESOS-5745, due to code exposing undefined behavior in libcxx-3.8 and
earlier. This was fixed with upstream libcxx-3.9. See for
the patch and for the code example extracted from
our code base.
> We should consider rejecting builds if libcxx-3.8 or older is detected since not all
users compiling Mesos might run the test suite. In our decision to reject we could possibly
also take the used clang versions into account (which would just ensure we don't run into
the known problems from the UB in libcxx).

This message was sent by Atlassian JIRA

View raw message