backends/platform/sdl/posix/posix.cpp with +#define FORBIDDEN_SYMBOL_ALLOW_ALL 1...
It turns out that POST_OBJS_FLAGS := -Wl,-notall reproducably builds a scummvm binary...
"-all" and "-notall" for the linker are indeed the equivalent of "-whole-archive"/"-no-whole-archive"...
The updated patch below produces working static and dynamic scummvm binaries both...
Static builds with gcc with just a few engines work, but fail with a different message:...
The updated patch incorporates your suggestion and uses different options for gcc...
IRIX build / runtime failures due to -static-libgcc, -export-dynamic and -whole-archive
A quick test shows that the new test is working properly and detects mips-irix6.5-strings...