Summary: | devel/cmake, devel/qt5-buildtools: fails to build with libc++ 7 | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jan Beich <jbeich> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-toolchain (Nobody) <toolchain> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | dim, imp, linimon | ||||
Priority: | --- | Keywords: | needs-qa | ||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 230355 | ||||||
Attachments: |
|
Description
Jan Beich
![]() ![]() <ctime> in -std=c++17 was broken by https://reviews.llvm.org/rL338419 Created attachment 195942 [details]
workaround
Looks like C11 timespec_get() isn't implemented on FreeBSD unlike DragonFly or NetBSD.
I'm committing a timespec_get() to -current shortly. What's the plan for /stable/11? MFC timespec_get(), land the workaround or freeze libc++ (breaking promise in bug 215193) ? (In reply to Jan Beich from comment #4) > What's the plan for /stable/11? MFC timespec_get(), land the workaround or > freeze libc++ (breaking promise in bug 215193) ? I think timespec_get() is probably fine to MFC, but I'll leave it up to Warner. :) A commit references this bug: Author: dim Date: Fri Aug 10 21:40:28 UTC 2018 New revision: 337593 URL: https://svnweb.freebsd.org/changeset/base/337593 Log: Upstream libc++ added a using ::timespec_get line, when in C++17 or higher mode, in <https://reviews.llvm.org/rL338419>. Since we do not yet have this C11 function, comment out the line for now, as a workaround for a number of failing ports. Discussion with upstream is ongoing about an acceptable permanent fix. PR: 230400 Reported by: jbeich Changes: projects/clang700-import/contrib/libc++/include/ctime As of FreeBSD_version 1200077 we have this function, if that helps anybody... A commit references this bug: Author: dim Date: Sat Aug 11 20:08:26 UTC 2018 New revision: 337654 URL: https://svnweb.freebsd.org/changeset/base/337654 Log: Undo r337593 (commenting out of timespec_get in libc++'s <ctime> header), now that r337576 added that function. PR: 230400 Changes: projects/clang700-import/contrib/libc++/include/ctime This should now be fixed, please retry those builds. |