<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 05/01/2022 23:41, Mattias Gaertner
via lazarus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20220105234125.3251be8e@limapholos.matflo.wg">
<pre class="moz-quote-pre" wrap="">The Lazarus team is glad to announce the release of Lazarus 2.2.
This release was built with FPC 3.2.2.
</pre>
</blockquote>
<br>
As a side note: <br>
<br>
For x86_64,both FPC 3.2.0 and FPC 3.2.2 have a bug in the optimizer.<br>
<br>
From current observation this issue is extremely rarely triggered.
However, if the IDE for x86_64 is compiled with O2 or higher, then
at least FpDebug will be broken (The affected code is a generic in
LazUtils: TLazThreadedQueue or TLazFifoQueue). <br>
Other parts of the IDE have not yet been observed, however even if
the bug is in effect, the broken code needs to be executed with very
specific arguments. Therefore, actual faulty behaviour could occur
rather seldom. Yet, as any bug, it can strike at any time.<br>
<br>
Compiling with -O1 is save<br>
Compiling with -O2 -OoNoPeepHole should also be save..<br>
<br>
<b><u>It is recommended for x86_64 users, to build your IDE with -O1
only.</u></b><br>
<br>
This issue also affects 2.0.x (or potentially other code) if build
with 3.2.0 or 3.2.2. <br>
Since the triggers for this issue (complier going wrong, and
resulting broken code actually failing) are extremely complex, not
every IDE build (with 3.2.0/2 and -O2 up) will immediately show
symptoms. It is possible that an affected build runs without issues,
or fails once every few month only. <br>
<br>
As for your own projects, you need to come to your own decision. I
have not seen any reports of this issue (other for the IDE), and
3.2.0 has been out for a good time.<br>
Yet, no guarantees.<br>
<br>
The issue is fixed in 3.2.3, so with the upcoming 3.2.4 this problem
will be gone.<br>
<a class="moz-txt-link-freetext" href="https://gitlab.com/freepascal.org/fpc/source/-/commit/e9d318e7e2f772bf455a92461cd5c229e69858d8">https://gitlab.com/freepascal.org/fpc/source/-/commit/e9d318e7e2f772bf455a92461cd5c229e69858d8</a><br>
<br>
32 bit users should not be affected by this.<br>
Non intel platforms should also not be affected.<br>
</body>
</html>