Recent

Author Topic: [SOLVED] Unable to build fpc trunk on macOS after 16 Nov 2019  (Read 411 times)

trev

  • Hero Member
  • *****
  • Posts: 670
  • Former Delphi 1-7 and 10.2 User
After much svn bisecting, I find I cannot build any revision of fpc trunk after r43472 (Sat, 16 Nov 2019) on macOS 10.14.6 due to the error:

Code: [Select]
fgl.pp(973,11) Error: Identifier not found "IsManagedType"
fgl.pp(2092) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

Any ideas?
« Last Edit: March 02, 2020, 10:05:27 am by trev »
o Lazarus v2.1.0 r63272, FPC v3.3.1 r45525, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r358002
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 704
Re: Unable to build fpc trunk on macOS after 16 Nov 2019
« Reply #1 on: March 02, 2020, 09:14:23 am »
Are you starting the build with FPC 3.0.4? The latest release is always the only supported starting compiler for trunk.

trev

  • Hero Member
  • *****
  • Posts: 670
  • Former Delphi 1-7 and 10.2 User
Re: Unable to build fpc trunk on macOS after 16 Nov 2019
« Reply #2 on: March 02, 2020, 09:18:23 am »
I'm building with 3.3.1 (22 Oct 2019). Do I really need to reinstall 3.0.4? I've not done in the past.
o Lazarus v2.1.0 r63272, FPC v3.3.1 r45525, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r358002
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

PascalDragon

  • Hero Member
  • *****
  • Posts: 1542
  • Compiler Developer
Re: Unable to build fpc trunk on macOS after 16 Nov 2019
« Reply #3 on: March 02, 2020, 09:35:36 am »
Yes, you do. As Jonas said, building trunk is only supported with the last release which is 3.0.4. Anything else might break at any time and we don't care to keep it from breaking.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 704
Re: Unable to build fpc trunk on macOS after 16 Nov 2019
« Reply #4 on: March 02, 2020, 09:44:53 am »
Quote
Anything else might break at any time and we don't care to keep it from breaking.
And the reason for that is that it is unfeasible to make it possible to build trunk with every single revision of FPC ever released, because every one of those might be missing a feature or have a bug that breaks it. Adding workarounds for a single FPC version for bootstrapping is one thing, but doing that for everything is impossible (and it would be a huge time sink).

trev

  • Hero Member
  • *****
  • Posts: 670
  • Former Delphi 1-7 and 10.2 User
Re: Unable to build fpc trunk on macOS after 16 Nov 2019
« Reply #5 on: March 02, 2020, 10:05:07 am »
Got it, thanks!
o Lazarus v2.1.0 r63272, FPC v3.3.1 r45525, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 (Parallels VM)
o FPC 3.0.4, FreeBSD 12-STABLE r358002
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

 

TinyPortal © 2005-2018