Skip to content

Macos ppcx64 throwing exception when compiling tests/test/tobjc10.pp

Summary

I built fpc trunk (9c7d1515) on macos x86_64 and then used compiler/ppcx64 to build tests/test/tobjc10.pp. Compilation fails with following message:

tobjc10.pp(13,60) Error: Compilation raised exception internally Fatal: Compilation aborted An unhandled exception occurred at $000000010EC316CC: EAccessViolation: Access violation $000000010EC316CC $000000010ECC1D52

System Information

  • Operating system: MacOS
  • Processor architecture: x86_64
  • Compiler version: trunk 9c7d1515
  • Device:

Steps to reproduce

build ppcx64 on macos x86_64 then

compiler/ppcx64 tests/test/tobjc10.pp

Example Project

What is the current bug behavior?

compile errors out with raised exception internally error

What is the expected (correct) behavior?

file should compile without error

Relevant logs and/or screenshots

Possible fixes

  • issue is related to objcprotocol() keyword
  • appeared after trunk version 73185e89 (8/25/2022)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information