Skip to content

[Patch] cg test failure on macOS

Summary

Test test/cg/tcppcl1.pp fails when run on macOS x86_64

System Information

  • Operating system: macOS Ventura 13.6, Xcode 14.2
  • Processor architecture: x86-64
  • Compiler version: trunk

Steps to reproduce

run fpcsrc/tests

What is the current bug behavior?

Test fails

What is the expected (correct) behavior?

Test should succeed

Relevant logs and/or screenshots

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Failed to compile test/cg/tcppcl1.pp 2023/10/16 15:02:30
Undefined symbols for architecture x86_64:
  "___gxx_personality_v0", referenced from:
      Dwarf Exception Unwind Info (__eh_frame) in cpptcl1.o
ld: symbol(s) not found for architecture x86_64
tcppcl1.pp(93,20) Error: Error while linking
tcppcl1.pp(93,20) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: /Users/xyz/fpcupdeluxe/fpc/bin/x86_64-darwin/ppcx64 returned an error exitcode
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information