Skip to content

pcsxr: fix build with GCC 14 and PIE crash#61437

Open
Rutpiv wants to merge 1 commit into
void-linux:masterfrom
Rutpiv:pcsxr
Open

pcsxr: fix build with GCC 14 and PIE crash#61437
Rutpiv wants to merge 1 commit into
void-linux:masterfrom
Rutpiv:pcsxr

Conversation

@Rutpiv

@Rutpiv Rutpiv commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Testing the changes

  • I tested the changes in this PR: YES

Local build testing

  • I built this PR locally for my native architecture (x86_64)
  • I built this PR locally for these architectures using specific masterdirs:
    • x86_64-musl
    • i686
  • I built this PR locally for these architectures (crossbuilds):
    • aarch64
    • aarch64-musl
    • armv7l
    • armv7l-musl
    • armv6l
    • armv6l-musl

Fixes the pcsxr build, broken by GCC 14, and a startup crash present in the current repo binary. The failures predate the nasm update and were discovered while validating dependent packages in #57682.

  • fix-gcc14-errors.patch addresses genuine bugs: outdated SDL API calls updated to their current equivalents, and a missing Display* cast.
  • -Wno-error=implicit-function-declaration and -Wno-error=incompatible-pointer-types for warnings in legacy code that is correct at runtime; patching every occurrence would mean carrying a large downstream diff for an unmaintained upstream.
  • nopie=yes: the x86_64 dynarec assumes 32-bit absolute addressing and asserts at startup when built as PIE. The binary currently in the repo crashes on launch because of this, hence the revbump.

@Rutpiv Rutpiv changed the title pcsxr: fix build and PIE crash pcsxr: fix build with GCC 14 and PIE crash Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant