Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

Installation linking error 1 year 2 months ago #18040

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 52
  • Thank you received: 0
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  
 

Please Log in or Create an account to join the conversation.

Last edit: by Premysl Beran.

Installation linking error 1 year 2 months ago #18041

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1129
  • Thank you received: 170
We have the same problem.

The only solution until now is to install previous version of XCode
Xcode 14.3.1   developer.apple.com/services-account/dow...3.1/Xcode_14.3.1.xip

Rename OR Delete XCode 15.0 first.

We hope Apple to solve this problem with next XCode release....
PilotLogic Core Programmer
The following user(s) said Thank You: arung palakka

Please Log in or Create an account to join the conversation.

Last edit: by Matis A..

Installation linking error 1 year 2 months ago #18045

  • Premysl Beran
  • Premysl Beran's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 52
  • Thank you received: 0
Hi Matis,

Thanks a lot for the link. I was not sure where to find the old XCode version.
So far it seems that at least FPC is compiling fine. :-)
It is strange that I get the XCode update when my automatic updates and isntallations from AppStore are disabled.

Premek

Please Log in or Create an account to join the conversation.

  • Page:
  • 1