[Build Failure]: fix "bad instruction 'int $3'" error on the Raspberry Pi 4 32 bit
Build Version
v1.5
Operating System Environment
- [ ] Microsoft Windows (32-bit)
- [ ] Microsoft Windows (64-bit)
- [ ] Mac OS X
- [X] Linux (specify distribution and version below)
CPU Environment
- [ ] x86 (32-bit Intel/AMD)
- [ ] x86_64 (64-bit Intel/AMD)
- [X] ARM (32-bit)
- [ ] ARM64 (64-bit; sometimes called AArch64)
- [ ] Other (RISC V, PPC...)
Description
For the game to compile in raspberry pi os 32 bit I had to change mveasm.cpp. In line 2060 I changed "#define int3 asm volatile("int $3");" to "#define int3". I did this to fix a "bad instruction 'int $3'" error on the Raspberry Pi 4
Regression Status
No response
Steps to Reproduce
No response
int $3 added by #272 works on x86 only, we should use a more portable version such as this one
int $3added by #272 works on x86 only, we should use a more portable version such as this one
We already have debugbreak in the ddbug module we can use.
int $3added by #272 works on x86 only, we should use a more portable version such as this oneWe already have debugbreak in the ddbug module we can use.
oh that's right
I believe this should be fixed since the merge of #354 into main. Can someone verify this?
As for #308 , 32bit builds won't be fixed anymore. Use 64bit OS images if possible