Date: Sun, 13 Feb 2022 14:12:24 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 261931] devel/credure: Add a crutch to build against libc++ 14 Message-ID: <bug-261931-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261931 Bug ID: 261931 Summary: devel/credure: Add a crutch to build against libc++ 14 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org I am working on the import of llvm 14 in https://github.com/DimitryAndric/freebsd-src/tree/llvm-14-update; see also = bug 261742 for the exp-run request. One of the problematic ports is devel/creduce, since it still depends on devel/llvm80, and this is not compatible with libc++ 14 anymore, since it n= ow requires support for __builtin_is_constant_evaluated() (see https://github.com/llvm/llvm-project/commit/1123100a16a321d70508e2508ebc5d5= 7ce7163dc ). As a crutch, I've added a small header which defines a constexpr __builtin_is_constant_evaluated() function, and include that at the top of every compiled file, using -include, whenever the base system clang version= is 14 or higher. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261931-7788>