D.gnu - GDC mainline (20221219) fails to build on OpenBSD (patch included)
- Brian Callahan (24/24) Dec 19 2022 Hi Iain --
- Iain Buclaw (3/7) Dec 19 2022 Thanks, better to send that to upstr dmd though (I did say they
- Brian Callahan (4/14) Dec 20 2022 Ah. Thanks. I was on the dmd stable branch and didn't see it so I
Hi Iain -- GDC mainline stopped building on OpenBSD recently. Below is the diff to fix things. Thanks. ~Brian diff --git a/libphobos/libdruntime/core/demangle.d b/libphobos/libdruntime/core/demangle.d index 869ade64821..30e38c76479 100644 --- a/libphobos/libdruntime/core/demangle.d +++ b/libphobos/libdruntime/core/demangle.d -2929,6 +2929,7 CXX_DEMANGLER getCXXDemangler() nothrow trusted version (FreeBSD) import core.sys.freebsd.dlfcn : RTLD_DEFAULT; version (linux) import core.sys.linux.dlfcn : RTLD_DEFAULT; version (NetBSD) import core.sys.netbsd.dlfcn : RTLD_DEFAULT; + version (OpenBSD) import core.sys.openbsd.dlfcn : RTLD_DEFAULT; version (OSX) import core.sys.darwin.dlfcn : RTLD_DEFAULT; version (Solaris) import core.sys.solaris.dlfcn : RTLD_DEFAULT;
Dec 19 2022
On Monday, 19 December 2022 at 14:00:38 UTC, Brian Callahan wrote:Hi Iain -- GDC mainline stopped building on OpenBSD recently. Below is the diff to fix things. [...]Thanks, better to send that to upstr dmd though (I did say they should've used weak)
Dec 19 2022
On Tuesday, 20 December 2022 at 02:19:33 UTC, Iain Buclaw wrote:On Monday, 19 December 2022 at 14:00:38 UTC, Brian Callahan wrote:Ah. Thanks. I was on the dmd stable branch and didn't see it so I thought it was something GDC-specific. ~BrianHi Iain -- GDC mainline stopped building on OpenBSD recently. Below is the diff to fix things. [...]Thanks, better to send that to upstr dmd though (I did say they should've used weak)
Dec 20 2022