Lazarus

Announcements => Free Pascal => Topic started by: marcov on March 24, 2021, 01:53:26 pm

Title: Free Pascal 3.2.2-rc1 released!
Post by: marcov on March 24, 2021, 01:53:26 pm
Hello,

We have placed the first release candidate of the Free Pascal Compiler
version 3.2.2 on our ftp servers.

You can help improve the upcoming 3.2.2 release by downloading and
testing this release. If you want you can report what you have done here:
http://wiki.freepascal.org/Testers_3.2.2 or in the maillist.

Changes that may break backwards compatibility will be documented at:
http://wiki.freepascal.org/User_Changes_3.2.2

Downloads are available on the main FTP server at

ftp://ftp.freepascal.org/pub/fpc/beta/3.2.2-rc1/

The evaluation time frame for this release is at least two weeks, so bugreports within that period will be looked at before the final release is branched.

Enjoy!

The Free Pascal Compiler Team


                            Free Pascal Compiler

                                Version 3.2.2

******************************************************************************

Free Pascal 3.2.2 is a minor release of the 3.2.x fixes branch. As such, it contains
mostly fixes for bugs discovered in the previous version, plus some updates
for included packages. In this case a target was also backported from trunk.

There are currently no known changes which might result in incompatibility to
the previous version 3.2.0.

The main highlights of this version:

Platforms:

Utilities:

Packages:
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: avk on March 25, 2021, 11:34:37 am
It seems fixes #0038145 and #0038513 are not included in this release candidate?
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: Ñuño_Martínez on March 25, 2021, 11:57:24 am
Question:  Does this version change anything of the INLINEd stuff?  I know the fixes from 3.3 aren't easy to merge (https://forum.lazarus.freepascal.org/index.php/topic,50565.msg371211.html#msg371211) but I believe in miracles...  :-[
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: marcov on March 25, 2021, 01:26:18 pm
Question:  Does this version change anything of the INLINEd stuff?  I know the fixes from 3.3 aren't easy to merge (https://forum.lazarus.freepascal.org/index.php/topic,50565.msg371211.html#msg371211) but I believe in miracles...  :-[

It is already said in that thread that it is too invasive to port.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: PascalDragon on March 25, 2021, 01:37:11 pm
It seems fixes #0038145 and #0038513 are not included in this release candidate?

They are not part of the RC and are also not part of the fixes branch. I don't know if I'd merge #0038145 (https://bugs.freepascal.org/view.php?id=38145), but #0038513 (https://bugs.freepascal.org/view.php?id=38513) should be possible.

Question:  Does this version change anything of the INLINEd stuff?  I know the fixes from 3.3 aren't easy to merge (https://forum.lazarus.freepascal.org/index.php/topic,50565.msg371211.html#msg371211) but I believe in miracles...  :-[

It is already said in that thread that it is too invasive to port.

Correct.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: marcov on March 25, 2021, 01:58:53 pm
It seems fixes #0038145 and #0038513 are not included in this release candidate?
, but #0038513 (https://bugs.freepascal.org/view.php?id=38513) should be possible.

Done.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: avk on March 25, 2021, 03:10:10 pm
Thank you.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: Ñuño_Martínez on March 25, 2021, 04:53:05 pm
It is already said in that thread that it is too invasive to port.
I know.  Just wondering.

So I've to wait until version 3.4.0 or 4.0.0 then. :(

Thanks for the effort, anyway.  I know you're working hard to make fpc better each version. :-*
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: engkin on March 25, 2021, 05:43:17 pm
So I've to wait until version 3.4.0 or 4.0.0 then. :(

Just wondering if maybe you can use the trunk through Fpcupdeluxe, for instance. That's if you don't want to wait.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: PascalDragon on March 26, 2021, 03:16:59 pm
It seems fixes #0038145 and #0038513 are not included in this release candidate?

They are not part of the RC and are also not part of the fixes branch. I don't know if I'd merge #0038145 (https://bugs.freepascal.org/view.php?id=38145), but #0038513 (https://bugs.freepascal.org/view.php?id=38513) should be possible.

I've also merged the fix for #0038145 (https://bugs.freepascal.org/view.php?id=38145), considering that I had marked a follow up commit already as "I want to merge this to 3.2.1". So in that sense, thank you for the reminder, avk. ;D
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: avk on March 26, 2021, 03:34:04 pm
No, I should thank you.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: olly on March 26, 2021, 05:17:51 pm
Can these be merged?
https://bugs.freepascal.org/view.php?id=37305
https://bugs.freepascal.org/view.php?id=38638

That way if a future Lazarus version uses this FPC. This warning won't be needed a third time. :)
Quote
Windows users should be careful with -O3 or higher optimization, due to bug https://bugs.freepascal.org/view.php?id=37305.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: trev on March 30, 2021, 02:14:57 am
Can I get this patch https://bugs.freepascal.org/view.php?id=37205 included?

It's a non-controversial patch to fix the missing and incorrect sysctl MIB array integers for macOS taken directly from the macOS /usr/include/sys/sysctl.h header file.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: DonAlfredo on March 30, 2021, 08:12:41 am
It would be very nice if 49040 could also be included !
https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=49040
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: marcov on March 30, 2021, 10:01:57 am
It would be very nice if 49040 could also be included !
https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=49040

It already was on my very short "to be discussed" revisions list
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: BeniBela on April 05, 2021, 03:23:06 pm


The recent JSON parser changes have not been merged. This \u bug (https://bugs.freepascal.org/view.php?id=38618) especially, and related issues. My stricter number parsing patches (https://bugs.freepascal.org/view.php?id=37840 https://bugs.freepascal.org/view.php?id=37841 )

And someone could look into  managed enumerators  (https://bugs.freepascal.org/view.php?id=37164), which might cause random memory corruption when the apparently unsupported feature is used, which is the worst kind of bug.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: PascalDragon on April 06, 2021, 09:10:33 am
And someone could look into  managed enumerators  (https://bugs.freepascal.org/view.php?id=37164), which might cause random memory corruption when the apparently unsupported feature is used, which is the worst kind of bug.

This is not even fixed in trunk and it will not be fixed in trunk till the deadline of 3.2.2 thus it will not be fixed in 3.2.2 either. And yes I looked at the problem and it is a complex problem with how temporary variables in context with managed types are handled, thus it won't be fixed any time soon.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: trev on April 07, 2021, 03:11:58 am
This patch (https://bugs.freepascal.org/view.php?id=37252) adds support for thread naming (related to 0036940 (https://bugs.freepascal.org/view.php?id=36940)) for the Darwin target.

It would be nice to have.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: BeniBela on April 09, 2021, 11:29:40 am
And someone could look into  managed enumerators  (https://bugs.freepascal.org/view.php?id=37164), which might cause random memory corruption when the apparently unsupported feature is used, which is the worst kind of bug.

This is not even fixed in trunk and it will not be fixed in trunk till the deadline of 3.2.2 thus it will not be fixed in 3.2.2 either. And yes I looked at the problem and it is a complex problem with how temporary variables in context with managed types are handled, thus it won't be fixed any time soon.

Well, if it cannot be fixed, it could at least give a warning when managed records are used as enumerators
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: BSaidus on April 11, 2021, 09:40:29 am
Hello,
When you plane to release the version 3.2.2.
Thanks.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: marcov on April 11, 2021, 02:12:03 pm
When you plane to release the version 3.2.2.

Schedules are not nailed down. Real Soon Now ( (https://en.wiktionary.org/wiki/real_soon_now)
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: AlexTP on April 11, 2021, 02:16:02 pm
fpJSON last changes should be merged (including \u fixes). Please.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: olly on April 15, 2021, 06:31:31 am
This might be obvious... (not familar with SVN, sorry)

But how would I view every merged patch in 3.2.2-rc1?
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: PascalDragon on April 15, 2021, 08:56:31 am
But how would I view every merged patch in 3.2.2-rc1?

Using only a browser you look at the history of the 3.2.2-rc1 (https://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/release_3_2_2_rc1/?view=log) tag back until the tagging of the previous release (which is 3.2.0 (https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=45254)).
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: marcov on April 15, 2021, 10:00:39 am
But how would I view every merged patch in 3.2.2-rc1?

Using only a browser you look at the history of the 3.2.2-rc1 (https://svn.freepascal.org/cgi-bin/viewvc.cgi/tags/release_3_2_2_rc1/?view=log) tag back until the tagging of the previous release (which is 3.2.0 (https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=45254)).

Minus 5 or 6 patches that have been pulled up to 3.2.0.
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: BeniBela on April 20, 2021, 03:59:36 pm
This could also be merged: https://bugs.freepascal.org/view.php?id=37980
Title: Re: Free Pascal 3.2.2-rc1 released!
Post by: BeniBela on April 20, 2021, 04:35:27 pm
Also these are bad:  https://bugs.freepascal.org/view.php?id=38129  https://bugs.freepascal.org/view.php?id=35651

These programs give all kinds of errors (access violation, division by zero):  https://bugs.freepascal.org/view.php?id=37468  https://bugs.freepascal.org/view.php?id=37926
TinyPortal © 2005-2018