Lazarus
Free Pascal => FPC development => Topic started by: explainedd on January 23, 2022, 06:39:45 pm
-
Hi!
I downloaded the daily source snapshot of the fixes tree (3.2.3 2022/Jan./23):
ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpcbuild.zip (ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpcbuild.zip)
Because of this fix:
https://gitlab.com/freepascal.org/fpc/source/-/commit/e9d318e7e2f772bf455a92461cd5c229e69858d8 (https://gitlab.com/freepascal.org/fpc/source/-/commit/e9d318e7e2f772bf455a92461cd5c229e69858d8)
Than I checked compiler/x86/aoptx86.pas
It seems to me the file is different from the one on github/gitlab. The fix is missing.
https://gitlab.com/freepascal.org/fpc/source/-/blob/fixes_3_2/compiler/x86/aoptx86.pas
Will it be OK if I overwrite the content of the fpcbuild.zip with the gitlab code?
-
In/Out of principle: NO.
The first link is to main/trunk. (which you have to build from source using 3.2.2 as the bootstrap compiler)
The second link is to the latest release, in this case 3.2.2.
Note that 3.2.2 also has a fixes branch but I do not know if that is packaged.
3.2.2 itself is basically frozen and only receives updates in fixes. It is a release.
Main/trunk is a development version and is a running target with almost daily updates that may or may not end up in a release version. It is also not recommended for normal users, advanced or not.
-
Hi!
I downloaded the daily source snapshot of the fixes tree (3.2.3 2022/Jan./23):
ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpcbuild.zip (ftp://ftp.freepascal.org/pub/fpc/snapshot/fixes/source/fpcbuild.zip)
Where did you find the date for that snapshot? I just downloaded it and the latest date stamp in the compiler folder is 14 July 2021. I suspect that this snapshot is not being maintained since the move to gitlab.
You can download a snapshot directly from gitlab: https://gitlab.com/freepascal.org/fpc/source/-/archive/fixes_3_2/source-fixes_3_2.zip
-
Thank You!
I checked the readme.rev file in the archive:
Free pascal source checkout of https://svn.freepascal.org/svn/fpcbuild/branches/fixes_3_2 at Sun 23 Jan 2022 08:13:02 AM UTC
SVN... :-[
-
Thank You!
I checked the readme.rev file in the archive:
Free pascal source checkout of https://svn.freepascal.org/svn/fpcbuild/branches/fixes_3_2 at Sun 23 Jan 2022 08:13:02 AM UTC
SVN... :-[
Hmm, hopefully one of the maintainers get round to fixing the script that generates that snapshot.
I thought the snapshot was just a zip of the source folders, but I noticed there are install scripts too, so just pointing to the gitlab download is not quite the same.
-
I thought the snapshot was just a zip of the source folders, but I noticed there are install scripts too, so just pointing to the gitlab download is not quite the same.
Got it. Thanks! A small tutorial:
1. Get The FPC Build Environment
https://gitlab.com/freepascal.org/fpc/build/-/tree/fixes_3_2 (https://gitlab.com/freepascal.org/fpc/build/-/tree/fixes_3_2)
Download than extract it to somewhere.
2. Get The FPC Source
https://gitlab.com/freepascal.org/fpc/source/-/tree/fixes_3_2 (https://gitlab.com/freepascal.org/fpc/source/-/tree/fixes_3_2)
Download than extract the content of the source-fixes_3_2 directory into the build-fixes/fpcsrc directory of the Build Environment.
Finally build as usual.