[Bug 229888] devel/boost-libs: Fix undefined behavior in boost::filesystem::copy

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jul 19 19:30:08 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229888

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?        |

--- Comment #1 from Jan Beich <jbeich at FreeBSD.org> ---
The provided example doesn't crash. Tested on 11.2 i386/amd64 with
boost-libs-1.68.0 (beta1) built by clang 6.0.0 and boost-libs-1.67.0_2 built on
package cluster by clang 4.0.0.

(In reply to Michael Gmelin from comment #0)
> The same code worked on 10.3 with clang 3.9 (at least on an older ports tree),

FreeBSD 10.* has Clang 3.4.1 in base while USES=compiler:c++14-lang has never
used devel/llvm39 by default.

> that's why this is a ticking time bomb for people upgrading to 11.2.

Was the issue exposed by -std=gnu++14 being default since Clang 6 or can you
reproduce by building the consumer with -std=gnu++98?

Otherwise, I don't understand why the issue would hit 10.3 -> 11.2 users but
not 11.1 -> 11.2.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-office mailing list