-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
C#: Replace libnethost dependency to find hostfxr #65438
C#: Replace libnethost dependency to find hostfxr #65438
Conversation
Gave this a try on the official buildsystem, it seems to fail building for Linux at least with our custom Linux toolchain: https://downloads.tuxfamily.org/godotengine/toolchains/
|
That seems to be some weird glibc issue. One of the included headers defines |
We currently use glibc 2.19 for the official toolchain to maximize compatibility: https://github.com/godotengine/buildroot/#godot-buildroot Even by old glibc standards it's pretty old so we'll likely bump it to something a couple of years newer eventually, but that's pending on doing a general update pass of the buildroot config.
That being said on my Mageia 9 machine with glibc 2.36 I also have the same:
No idea why |
Yes, I'll just undefine it. Found one such instance here: godot/thirdparty/vulkan/include/vulkan/vulkan.hpp Lines 132 to 140 in 86dd3f3
|
0c93d76
to
b91d39b
Compare
We want to replace libnethost as it gives us issues with some compilers. Our implementation tries to mimic libnethost's hostfxr_resolver search logic. We try to use the same function names for easier comparing in case we need to update this in the future.
b91d39b
to
f784fb2
Compare
Thanks! |
We want to replace
libnethost
as it gives us issues with some compilers.Our implementation tries to mimic
libnethost
'shostfxr_resolver
search logic. We try to use the same function names for easier comparing in case we need to update this in the future.