Hello CT team,
I'm using CT on macOS Ventura (Intel) with very good success. Recently, XCode automatically updated to version 15.0, and I was not able to compile anything (I used CT 8.0).
So I reinstalled XCode, MacPorts, and when I tried to reinstall CT 8.21, I got a lot of linking errors dealing with the pointers (see below). The list with ld: warning is much longer. But the result is that FPC is not compiled, nor is the CT. Please, can anyone help? What did I do wrong this time? Thanks in advance.
With best regards
Premek
/bin/mkdir -p x86_64/units/x86_64-darwin
/bin/mkdir -p x86_64/bin/x86_64-darwin
/usr/local/codetyphon/fpc/fpc64/bin/x86_64-darwin/ppcx64 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/usr/local/codetyphon/fpcsrc/rtl/units/x86_64-darwin -Fix86_64 -FEx86_64/bin/x86_64-darwin -FUx86_64/units/x86_64-darwin -dRELEASE -XR/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -dx86_64 -dGDB -Fux86 -Fix86 -o/usr/local/codetyphon/fpcsrc/compiler/ppc1 pp.pas
-macosx_version_min has been renamed to -macos_version_min
ld: warning: pointer not aligned at _RTTI_$SYSTEM_$$_char_pointer+0x17 from /usr/local/codetyphon/fpcsrc/rtl/units/x86_64-darwin/system.o
ld: warning: pointer not aligned at _RTTI_$SYSTEM_$$_widechar_pointer+0x1B from /usr/local/codetyphon/fpcsrc/rtl/units/x86_64-darwin/system.o
....
ld: warning: pointer not aligned at _RTTI_$DBGDWARFCONST_$$_TDWARF_LOCATION_ATOM_o2s+0x6FC from /usr/local/codetyphon/fpcsrc/compiler/x86_64/units/x86_64-darwin/dbgdwarfconst.o
ld: warning: pointer not aligned at _RTTI_$DBGDWARFCONST_$$_TDWARF_LOCATION_ATOM_o2s+0x714 from /usr/local/codetyphon/fpcsrc/compiler/x86_64/units/x86_64-darwin/dbgdwarfconst.o
ld: warning: pointer not aligned at _RTTI_$DBGDWARFCONST_$$_TDWARF_LOCATION_ATOM_o2s+0x72C from /usr/local/codetyphon/fpcsrc/compiler/x86_64/units/x86_64-darwin/dbgdwarfconst.o
ld: warning: pointer not aligned at _RTTI_$DBGDWARFCONST_$$_TDWARF_LOCATION_ATOM_o2s+0x744 from /usr/local/codetyphon/fpcsrc/compiler/x86_64/units/x86_64-darwin/dbgdwarfconst.o
ld: warning: pointer not aligned at _RTTI_$DBGDWARFCONST_$$_TDWARF_LOCATION_ATOM_o2s+0x75C from /usr/local/codetyphon/fpcsrc/compiler/x86_64/units/x86_64-darwin/dbgdwarfconst.o
ld: warning: pointer not aligned at _RTTI_$DBGDWARFCONST_$$_TDWARF_LOCATION_ATOM_o2s+0x774 from /usr/local/codetyphon/fpcsrc/compiler/x86_64/units/x86_64-darwin/dbgdwarfconst.o
ld: pointer not 4-byte aligned at __DATA_CONST+0x16C7, fix alignment or disable chained fixups
pp.pas(295,36) Error: Error while linking
pp.pas(295,36) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
gmake[5]: *** [Makefile:5236: ppcx64] Error 1
gmake[5]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[4]: *** [Makefile:5288: next] Error 2
gmake[4]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[3]: *** [Makefile:5292: ppc1] Error 2
gmake[3]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[2]: *** [Makefile:5304: cycle] Error 2
gmake[2]: Leaving directory '/usr/local/codetyphon/fpcsrc/compiler'
gmake[1]: *** [Makefile:3239: compiler_cycle] Error 2
gmake[1]: Leaving directory '/usr/local/codetyphon/fpcsrc'
gmake: *** [Makefile:3264: build-stamp.x86_64-darwin] Error 2