logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

godot-4.0_rc2-musl.patch (878B)


  1. Crash handler requires glibc or libexecinfo (not packaged) and is enabled
  2. if build the editor (implies debug), but can be easily turned off.
  3. https://bugs.gentoo.org/894762
  4. --- a/platform/linuxbsd/crash_handler_linuxbsd.cpp
  5. +++ b/platform/linuxbsd/crash_handler_linuxbsd.cpp
  6. @@ -38,3 +38,3 @@
  7. -#ifdef DEBUG_ENABLED
  8. +#if defined(DEBUG_ENABLED) && defined(__GLIBC__)
  9. #define CRASH_HANDLER_ENABLED 1
  10. --- a/platform/linuxbsd/detect.py
  11. +++ b/platform/linuxbsd/detect.py
  12. @@ -329,8 +329,2 @@
  13. - if not env["execinfo"] and platform.libc_ver()[0] != "glibc":
  14. - # The default crash handler depends on glibc, so if the host uses
  15. - # a different libc (BSD libc, musl), fall back to libexecinfo.
  16. - print("Note: Using `execinfo=yes` for the crash handler as required on platforms where glibc is missing.")
  17. - env["execinfo"] = True
  18. -
  19. if env["execinfo"]: