Recent

Author Topic: FPC 3.2.4-rc1 available  (Read 37764 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1877
Re: FPC 3.2.4-rc1 available
« Reply #150 on: April 23, 2026, 07:58:29 am »
I will (also) help ... ;-)

Fred vS

  • Hero Member
  • *****
  • Posts: 3947
    • StrumPract is the musicians best friend
Re: FPC 3.2.4-rc1 available
« Reply #151 on: April 23, 2026, 11:25:51 am »
I will (also) help ... ;-)

Many thanks Alfred (and YOU are the one and only true best).  ;)
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12905
  • FPC developer.
Re: FPC 3.2.4-rc1 available
« Reply #152 on: April 23, 2026, 11:35:52 am »
No the one in branch fpc_3.2._fixes:

Code: Pascal  [Select][+][-]
  1. override PACKAGE_NAME=fpc
  2. override PACKAGE_VERSION=3.2.3
  3. REQUIREDVERSION=3.2.2
  4. REQUIREDVERSION2=3.2.0

If I want to compile fpc_3.2._fixes on a real OpenBSD machine, if I use a previously compiled from a release_3_2_4-branch.
The same if I want to re-compile with the fpc 3.2.3 produced, there is  error because the bootstrap compiler is not 3.2.2.

I think that is normal. Bootstrap a release with two previous releases, the fixes versions will be moved also after 3.2.4 is released.

Note you can pass OVERRIDEVERSIONCHECK=1 to override for special cases, like not have a formal bootstrap version available. (as is often done for new targets).

Fred vS

  • Hero Member
  • *****
  • Posts: 3947
    • StrumPract is the musicians best friend
Re: FPC 3.2.4-rc1 available
« Reply #153 on: April 23, 2026, 12:09:14 pm »
Note you can pass OVERRIDEVERSIONCHECK=1 to override for special cases,

Yes thanks but I know that.
And I pray that one day you will stop systematically opposing everything I propose. The OpenBSD saga was exhausting because of your lack of openness.
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

MarkMLl

  • Hero Member
  • *****
  • Posts: 8572
Re: FPC 3.2.4-rc1 available
« Reply #154 on: April 24, 2026, 09:04:50 am »
Note you can pass OVERRIDEVERSIONCHECK=1 to override for special cases,

Yes thanks but I know that.
And I pray that one day you will stop systematically opposing everything I propose. The OpenBSD saga was exhausting because of your lack of openness.

I suggest that that also needs to automatically accept recompilation with the current version, not just the previous one.

A specific example was the situation when Debian's linker (?) behaviour changed between v12 and v13: a download of the FPC binary release (from the FPC repo) was unable to recompile itself without tweaking the makefile.

I mentioned it at the time and was effectively told to go away and stop being stupid.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Thaddy

  • Hero Member
  • *****
  • Posts: 19279
  • Glad to be alive.
Re: FPC 3.2.4-rc1 available
« Reply #155 on: April 24, 2026, 09:20:08 am »
I suggest that that also needs to automatically accept recompilation with the current version, not just the previous one.
Not possible: The bootstrap may or may not rely on features that are only present or differently implemented in the correct Bootstrap compiler and that happens in practice. Not often, but it happens.
Like this one between 3.0.X and 3.1.1:
https://wiki.lazarus.freepascal.org/User_Changes_3.2.0#Class_references_in_a_class_VMT's_field_table
That is why the core developers always warn against it, discourage its use. (Jonas put me right years ago)
But for lack of a bootstrap compiler of the right release, it is an alternative that often, but not always, works.

It happened to me just this week, forcing me to build a 3.2.2.
Many user changes that affect the compiler lead to a failed build when using OVERRIDEVERSIONCHECK=1;

For the same reason the bootstrap compiler must be of the previous release version - the patch number should not matter - and must not be older.
« Last Edit: April 24, 2026, 09:51:05 am by Thaddy »
objects are fine constructs. You can even initialize them with constructors.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12905
  • FPC developer.
Re: FPC 3.2.4-rc1 available
« Reply #156 on: April 24, 2026, 11:53:30 am »
I suggest that that also needs to automatically accept recompilation with the current version, not just the previous one.

A specific example was the situation when Debian's linker (?) behaviour changed between v12 and v13: a download of the FPC binary release (from the FPC repo) was unable to recompile itself without tweaking the makefile.

I mentioned it at the time and was effectively told to go away and stop being stupid.

I probably told you then what I'm telling you now, that you don't have to modify the makefile, as that is what the override switch is for.

robert rozee

  • Sr. Member
  • ****
  • Posts: 377
Re: FPC 3.2.4-rc1 available
« Reply #157 on: April 24, 2026, 03:43:17 pm »
The bootstrap may or may not rely on features that are only present or differently implemented in the correct Bootstrap compiler and that happens in practice. Not often, but it happens.

hi Thaddy,
    i'm a little confused here. are you saying that a given version of FPC may not necessarily be able to rebuild itself?

for instance, i am using FPC 3.2.2 under Linux. i frequently use this FPC 3.2.2 to rebuild itself, by running (with sudo) a shell script containing:
Code: Pascal  [Select][+][-]
  1. #!/bin/sh
  2. COMPILER=fpc
  3. make clean
  4. make all FPC=$COMPILER OPT="-Fl/usr/local/lib"
  5. make FPC=$COMPILER install INSTALL_PREFIX=/usr/

... and my assumption has always been that any release version of FPC is capable of rebuilding itself.


btw: i have always thought it rather silly that FPC was not (from the very start) written using just a subset of the language, such that any version of FPC should be able to build any other version.


cheers,
rob   :-)

Thaddy

  • Hero Member
  • *****
  • Posts: 19279
  • Glad to be alive.
Re: FPC 3.2.4-rc1 available
« Reply #158 on: April 24, 2026, 04:39:30 pm »
No Rob. It is rare, but failures can occur as I explained. I also gave an example where it failed.
And,
Yes, Rob, now it gets confusing:
Yes, the compiler can rebuild itself but after bootstrapping initially:
As can be seen from:
Bootstrap compiler builds ppo1 - at that point the compiler is good - that builds ppo2 that builds ppo3: ppo1 is already a compiler from the version you want to build, only not yet optimized with WPO.
So if you want to build a maiden compiler from source, you will need a bootstrap compiler from one version earlier.

Get it?
After ppo1 is finished the compiler can rebuild itself. Proof is the wpo cycle.
(wpo stands for Whole Program Optimization, just in case)
The compiler makefile.fpc and makefile, not the root makefiles, contains the information you need to know.
« Last Edit: April 24, 2026, 04:54:21 pm by Thaddy »
objects are fine constructs. You can even initialize them with constructors.

Fred vS

  • Hero Member
  • *****
  • Posts: 3947
    • StrumPract is the musicians best friend
Re: FPC 3.2.4-rc1 available
« Reply #159 on: April 24, 2026, 04:45:55 pm »
Excellent news: fpc for OpenBSD is on the road again.  ;D
https://gitlab.com/freepascal.org/fpc/source/-/work_items/41017
« Last Edit: April 24, 2026, 04:47:31 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

PascalDragon

  • Hero Member
  • *****
  • Posts: 6398
  • Compiler Developer
Re: FPC 3.2.4-rc1 available
« Reply #160 on: April 25, 2026, 05:50:01 pm »
And I pray that one day you will stop systematically opposing everything I propose. The OpenBSD saga was exhausting because of your lack of openness.

And I pray that one day you'll stop complaining about things that are done a certain way for reasons... ::)

I suggest that that also needs to automatically accept recompilation with the current version, not just the previous one.

We don't allow that precisely to avoid people trying to compile a current 3.3.1 with an older 3.3.1 which had been regular support questions before the version check despite us saying that we only support compiling with the current official release (and the one before that). The version check can't a more granular check because the revision might have been stripped.

Fred vS

  • Hero Member
  • *****
  • Posts: 3947
    • StrumPract is the musicians best friend
Re: FPC 3.2.4-rc1 available
« Reply #161 on: April 25, 2026, 07:44:43 pm »
I suggest that that also needs to automatically accept recompilation with the current version, not just the previous one.

We don't allow that precisely to avoid people trying to compile a current 3.3.1 with an older 3.3.1 which had been regular support questions before the version check despite us saying that we only support compiling with the current official release (and the one before that). The version check can't a more granular check because the revision might have been stripped.

In case you missed the reason of the proposal, it concerned the next version of fpc 3.2.4, and never version 3.3.1. ;)
« Last Edit: April 25, 2026, 07:57:41 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

robert rozee

  • Sr. Member
  • ****
  • Posts: 377
Re: FPC 3.2.4-rc1 available
« Reply #162 on: April 25, 2026, 08:16:36 pm »
We don't allow that precisely to avoid people trying to compile a current 3.3.1 with an older 3.3.1 which had been regular support questions before the version check despite us saying that we only support compiling with the current official release (and the one before that). The version check can't a more granular check because the revision might have been stripped.

"which had been regular support questions before": would you mind rewording that paragraph in clear English please? i think understanding what you are trying to say here may be important, but you have mangled the language enough to make it ambiguous.


cheers,
rob   :-)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12905
  • FPC developer.
Re: FPC 3.2.4-rc1 available
« Reply #163 on: April 25, 2026, 08:39:43 pm »
In case you missed the reason of the proposal, it concerned the next version of fpc 3.2.4, and never version 3.3.1. ;)

There is no reason(ing) in that post, only a request.

Fred vS

  • Hero Member
  • *****
  • Posts: 3947
    • StrumPract is the musicians best friend
Re: FPC 3.2.4-rc1 available
« Reply #164 on: April 25, 2026, 09:03:25 pm »
In case you missed the reason of the proposal, it concerned the next version of fpc 3.2.4, and never version 3.3.1. ;)

There is no reason(ing) in that post, only a request.

Obviously, I haven't prayed enough.  :'(
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018