Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build Failure]: fix "bad instruction 'int $3'" error on the Raspberry Pi 4 32 bit #311

Open
2 of 9 tasks
fac3l3ss79 opened this issue May 8, 2024 · 3 comments
Open
2 of 9 tasks
Labels
build-failure Failure to compile

Comments

@fac3l3ss79
Copy link

Build Version

v1.5

Operating System Environment

  • Microsoft Windows (32-bit)
  • Microsoft Windows (64-bit)
  • Mac OS X
  • Linux (specify distribution and version below)

CPU Environment

  • x86 (32-bit Intel/AMD)
  • x86_64 (64-bit Intel/AMD)
  • 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

@fac3l3ss79 fac3l3ss79 added the build-failure Failure to compile label May 8, 2024
@Lgt2x
Copy link
Collaborator

Lgt2x commented May 8, 2024

int $3 added by #272 works on x86 only, we should use a more portable version such as this one

@jcoby
Copy link
Contributor

jcoby commented May 8, 2024

int $3 added 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.

@Lgt2x
Copy link
Collaborator

Lgt2x commented May 8, 2024

int $3 added 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.

oh that's right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-failure Failure to compile
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants