Re: Error in compilation of bind-exit for JVM backend

[email protected] Mon, 12 May 2025 10:33:10 +0200
Newsgroups gmane.lisp.scheme.bigloo
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Joseph,

> Hello, Manuel,
> I just noted an error in the compilation of bind-exit for the jvm backend=
. The error can be seen in the recette for the Pthread library. With some d=
igging, I was able to undercover that the problem is introduced when the re=
turn-goto optimization is enabled. When disabled, the recette runs successf=
ully. Digging a little further, I narrowed the problem to the mark-set-exit=
! procedure in comptime/Integrate/a.scm. If I comment out the second=A0 for=
ceG? assignment, the pthread recette also runs successfully, even with the =
return-goto optimizatino in place. Given your comment earlier in the proced=
ure and the fact I am not completely sure I understand what is going on her=
e, I have not submitted this change as a fix. Is this a reasonable modifica=
tion to fix the problem we are seeing in the pthread recette?=A0
You are absolutely correct. There is an inconsistency in the compilation
configuration. The JVM backend lacks one construct that is required in
order to avoid generating true escape sequences and the current compilation
does not reflect that. I have fixed it now and I'm preparing a new tarball.

> Also, I just submitted a pull request for changes to the Bigloo C runtime=
 to accommodate C23 and GCC 15 compatibility. See https://github.com/manuel=
-serrano/bigloo/pull/133. When you have time, please take a look.=A0
I have seen that. This was a significant effort of yours, so many files nee=
ded
some fixes. Thanks a lot!

=2D-=20
Manuel

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEELgdDMTtUx/Mxl41xMMxQ5DtOwukFAmghsv4ACgkQMMxQ5DtO
wumhFggAsKiEks4JZ+ZJUMMmtWmLS2BBqPi7ox9pr+Djen5H0nQ4gH1tJ6fT1tPe
Z8zJxMJPHc0Bito9zu6+4lDVQZVubk1reQVeZoSu7h6F27hnyU2HtfE02DIdeohp
AG3fyP+JjxsQVpcyqWGTvcXAM7qzWYufIi2fydExjU3vvXKHCfRQQvBfqiTIqOZ1
zYApL8QHpz8EYNTYlP58r7sjyeCQH345mq+/Ahtz8se62mzDGnFU2TSTu2CvJGd9
gLPFbWbBnzTwspAplcOKrVI83eTTHJWO14yOh37Xw0t8QrjDBIJk77ouf63crhbH
JeId3Q761N+nrpEQXjwJ4cvTD2WfiQ==
=bSdD
-----END PGP SIGNATURE-----
--=-=-=--