| ▲ | leni536 11 hours ago | |||||||
Do I get this right that this effectively dlopens glibc (indirectly) into an executable that is statically linked to musl? How can the two runtimes coexist? What about malloc/free? AFAIK both libc's allocators take ownership of brk, that can't be good. What about malloc/free across the dynamic library interface? There are certainly libraries that hand out allocated objects and expect the user to free them, but that's probably uncommon in graphics. | ||||||||
| ▲ | Splizard 8 hours ago | parent | next [-] | |||||||
You have to tell musl to use mmap instead of brk. You're right that it doesn't work in all cases but as long as you switch TLS on calls (and callbacks), at least with a project the size of Godot, you can approach a workable solution. | ||||||||
| ||||||||
| ▲ | 10 hours ago | parent | prev [-] | |||||||
| [deleted] | ||||||||