box64 icon indicating copy to clipboard operation
box64 copied to clipboard

avx_intrinsics test not working on 16k pagesize system

Open ksco opened this issue 1 year ago • 4 comments

requires more tweaking in the elfloader.

ksco avatar Jun 18 '24 06:06 ksco

Same issue here, M1 air

dxwil avatar Sep 02 '24 21:09 dxwil

Yes, I know. I reproduce also on my M1. It's an issue with the 4k pagesize simlation, that is not precise enough (especialy with munmap).

ptitSeb avatar Sep 03 '24 06:09 ptitSeb

@ptitSeb is it just the test that is failing (so disabling the test would not break functionality) or is it not compiling correctly which causes the test to fail (in which case disabling the test would break functionality)?

dxwil avatar Sep 03 '24 13:09 dxwil

@ptitSeb is it just the test that is failing (so disabling the test would not break functionality) or is it not compiling correctly which causes the test to fail (in which case disabling the test would break functionality)?

It's not a compilation issue. It's box64 4k pagesize simulation that is too limited. It fails in some tests, like it could fail in some other real program. Note that it fail at the unload of the test.

I know what I should do to fix the issue, but I need to implement the workaround (a better 4k pagesize handling), and I'm unsure when I'll work on that.

ptitSeb avatar Sep 03 '24 14:09 ptitSeb