Recent

Author Topic: fpc trunk:I can't build it.  (Read 673 times)

zoltanleo

  • Hero Member
  • *****
  • Posts: 502
fpc trunk:I can't build it.
« on: January 21, 2025, 03:19:18 pm »
Hi everyone

After updating hackintosh (Sequoia 15.2, xcode CLT 16.2), I'm trying to build a compiler using fpcupdeluxe (v. 2.4.0.f). I keep getting the error:
Code: Bash  [Select][+][-]
  1. Compiling ./rtl-objpas/src/inc/variants.pp
  2. rtti.pp(8424) Error: Error while assembling exitcode 1
  3. rtti.pp(8424) Fatal: There were 2 errors compiling module, stopping
  4. rtl-objpas/units/x86_64-darwin/rtti.s:14:1: error: non-private labels cannot appear between .cfi_startproc / .cfi_endproc pairs
  5. _$RTTI$_Lj169:
  6. rtl-objpas/units/x86_64-darwin/rtti.s:8:1: error: previous .cfi_startproc was here
  7. .cfi_startproc
  8. Fatal: Compilation aborted
  9. Start compiling package sqlite for target x86_64-darwin.
  10.        Compiling ./pasjpeg/src/jddctmgr.pas
  11. <skiped>[ 40%] Compiled package rtl-unicode
  12.   $000000010BC7B85F
  13.   $000000010BC6AFF2
  14.   $000000010BC6B704
  15.   $000000010BBBC3D6
  16.   $000000010BBDF86C
  17.   $00007FF81133D2CD
  18. make[1]: *** [packages_smart] Error 2
  19. make: *** [build-stamp.x86_64-darwin] Error 2
  20. The installer encountered the following error:
  21. Error inside worker thread for package rtl-objpas: (3/4) Failed compiling: rtl-objpas: Compilation of "BuildUnit_rtl_objpas.pp" failed
  22.  
  23. fpcupdeluxe: ERROR: FPC Native Installer (BuildModuleCustom: FPC): Error running /usr/bin/make for FPC failed with exit code 512

In the previous OS version (Sonoma), I managed to successfully install the compiler (hash 5769d737d1849f01 (r.16503)).

After updating the OS to the next version (Sequoia) I tried to install the compiler trunk version (hash 34902174892588 (r.17336)), due to the failure with the current version, I tried to build previous versions up to 5769d737d1849f01 (r.16503),which was successfully built earlier.

How should I proceed next? Please give me advice.
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

JdeHaan

  • Full Member
  • ***
  • Posts: 158
Re: fpc trunk:I can't build it.
« Reply #1 on: January 21, 2025, 06:05:04 pm »
Happened to me too. It's a known bug and being worked on, see:

https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/887

zoltanleo

  • Hero Member
  • *****
  • Posts: 502
Re: fpc trunk:I can't build it.
« Reply #2 on: January 21, 2025, 07:09:08 pm »
Win10 LTSC x64/Deb 12 amd64(gtk2)/Kubuntu(qt5)/Darwin Cocoa (Sequoia):
Lazarus x32_64 (trunk); FPC(trunk), FireBird 3.0.11; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

wcage03

  • Newbie
  • Posts: 6
Re: fpc trunk:I can't build it.
« Reply #3 on: February 07, 2025, 10:26:40 pm »
Yeah, same problem. Glad it is already in the queue and getting attention. To move past it, I skipped the local build and downloaded one of the prepackaged versions.

 

TinyPortal © 2005-2018