Recent

Author Topic: FPC trunk after svn 49260 does not compile  (Read 820 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1527
  • Former Delphi 1-7, 10.2 user
FPC trunk after svn 49260 does not compile
« on: May 05, 2021, 11:21:45 am »
Just a heads up.

After the success of my providing daily snapshots of Lazarus for macOS (64 downloads in 10 days), I was working on setting up snapshots for FPC trunk on aarch64 when I ran into this issue (logged in the Bugtracker Issue 38857).

Daily snapshot builds should help identify such issues more quickly in future.
« Last Edit: May 05, 2021, 11:45:49 am by trev »
Lazarus 2.1 r65061 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 r65500 FPC 3.3.1 r49634 macOS 11.5.1 aarch64 Xcode 12.5.1
Lazarus 2.1 r61574 FPC 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

PascalDragon

  • Hero Member
  • *****
  • Posts: 3207
  • Compiler Developer
Re: FPC trunk after svn 49260 does not compile
« Reply #1 on: May 05, 2021, 01:24:28 pm »
Daily snapshot builds should help identify such issues more quickly in future.

We do have daily builds, however not for snapshots, but for the testsuite which is run on multiple systems each night.

And as Pierre wrote in the bug report: starting from a previous trunk revision instead of a release will never be guaranteed to work.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1527
  • Former Delphi 1-7, 10.2 user
Re: FPC trunk after svn 49260 does not compile
« Reply #2 on: May 06, 2021, 01:36:47 am »
It turns out I had overlooked Jonas' admonition:

Quote
Warning: When you wish to build a newer version later on, make sure to restart at step 1. As always, compiling the trunk sources is only supported when you start with one of the latest two FPC releases, or with a compiler built from the same trunk sources. Starting with a trunk compiler built using previous trunk sources is not and never will be supported.

Failure to start at step 1 - it was just chance that my build script had been working for nearly a year without restarting at step 1. Mea culpa.
Lazarus 2.1 r65061 FPC 3.3.1 r49223 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.3 r65500 FPC 3.3.1 r49634 macOS 11.5.1 aarch64 Xcode 12.5.1
Lazarus 2.1 r61574 FPC 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 FPC 3.2.0 Win10 Parallels VM

 

TinyPortal © 2005-2018