[2.2.11] Game crashes on startup with Gentoo Linux
This is more infamously known as the "32bit Android" crash but I recently learned it can happen on Gentoo as well. The game is crashed by https://git.do.srb2.org/STJr/SRB2/-/blob/next/src/lua_hudlib_drawlist.c#L106, that being drawlist = (huddrawlist_h) Z_CallocAlign(sizeof(struct huddrawlist_s), PU_STATIC, NULL, 64);
Litten has done some work on this for the Android port here: https://github.com/bitten2up/SRB2-Android/commit/cb07114c723ccedc2727ac63f6d094dfb4ef9d0e
Edited by katsy