Both versions of games-emulation/dosbox (0.74 and live) crash on hardened amd64 when running 32-bit apps (16-bit ones are ok). gdb showed that crash happens in dynamic-core functions. Ebuild passes --disable-dynamic-x86 to configure on hardened, but this seems not to work on amd64. Quick glance into ./configure.in revealed option --disable-dynamic-core. It fixed the problem for me, at least with live ebuild. I didn't check if this makes any troubles on x86. Reproducible: Always Steps to Reproduce:
dosbox crushes when tries to run game stargunner on amd64 as well. I did not do research, but looks like it is the same problem.
If you use core=auto or core=dynamic in your dosbox.conf, it crashes. Change it to core=normal (or simple), and it stops crashing.
ok, I made it disable all kinds of dynamic core for hardened. I didn't rev bump it since I don't think there are many people using dosbox on hardened so resync and re-emerge to have it disabled by default without manually disabling it from the config file.