-
-
Notifications
You must be signed in to change notification settings - Fork 18.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenBSD build is broken due to compilation errors #92130
Comments
Just to confirm, it still happens on a recent build? That commit is 3 weeks old |
I've just tried to build the latest |
Here is a brief summary on how each issue can be fixed.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tested versions
Reproducible with the
4.3 beta
(commit [daa81bb]) and with the4.3 dev 6
(commit [64520fe])System information
OpenBSD 7.5 GENERIC amd64 (running on QEMU)
Issue description
OpenBSD build is broken.
I've tried to build it on freshly installed OpenBSD 7.5 in QEMU, and the build is broken due to compilation errors. I've found the following problems:
scons
build command it fails because the definition ofquick_exit
standard function cannot be found when compiling the fileplatform/linuxbsd/x11/detect_prime_x11.cpp
, although the header<stdlib.h>
is included.scons opengl3=no
(that way the source file above won't be included in the build), it sill fails with another error: it can't find the header file#include <linux/input-event-codes.h>
(which is included inplatform/linuxbsd/wayland/wayland_thread.cpp
). Note: it's linux-specific header, although it's available in FreeBSD, but not in OpenBSD.Variant
class: calls tovformat
withlong
andunsigned long
parameters make compiler fail to resolveVariant
class constructor, because there is no constructor with eitherlong
orunsigned long
and in this environment neither ofintX_t
/uintX_t
is typedefed withlong
/unsigled long
.secure_getenv(name)
can't be found inthirdparty/openxr/scr/common/platform_utils.hpp
(line 98).cpu_set_t
inthirtparty/embree/common/sys/sysinfo.cpp
, line 672.And most likely there are other errors.
Steps to reproduce
pkg_add python scons llvm
scons
orscons opengl3=no
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: