Branch: refs/heads/smoke-me/tonyc/22125-openbsd-embed Home: https://github.com/Perl/perl5 Commit: 420c1c59ca10a3d3fb2ccba6a4a11c5dbb4f3c98 https://github.com/Perl/perl5/commit/420c1c59ca10a3d3fb2ccba6a4a11c5dbb4f3c98 Author: Tony Cook <t...@openbsd73.tony.develop-help.com> Date: 2024-12-10 (Tue, 10 Dec 2024)
Changed paths: M embed.fnc M lib/ExtUtils/t/Embed.t M perl.h M proto.h M util.c Log Message: ----------- add API to test that libperl and the current executable are compatible Issue #22125 detected that we weren't linking the correct library with the embedded test with gcc on OpenBSD, so add an API to perform a sanity check by comparing the size of the perl interpreter structure (or its size if it was a structure) and expected perl API version between those seen in the binary and those compiled into libperl. Commit: 86f6d937000a2c0f39b50ce5cb4b1d484b8d91b1 https://github.com/Perl/perl5/commit/86f6d937000a2c0f39b50ce5cb4b1d484b8d91b1 Author: Tony Cook <t...@develop-help.com> Date: 2024-12-10 (Tue, 10 Dec 2024) Changed paths: M util.c Log Message: ----------- add some docs Commit: 9898baa4125aa899c9cf9970aab56cbe3719e543 https://github.com/Perl/perl5/commit/9898baa4125aa899c9cf9970aab56cbe3719e543 Author: Tony Cook <t...@openbsd76.tony.develop-help.com> Date: 2024-12-12 (Thu, 12 Dec 2024) Changed paths: M lib/ExtUtils/t/Embed.t Log Message: ----------- openbsd: ensure we link to the built libperl.a, not the system libperl.a When building with gcc, lib/ExtUtils/t/Embed.t would link against the system libperl.a rather than the newly built libperl.a. Due to the limited API used by the sample code this typically didn't crash, but some configuration changes could result in a crash or a link error. For OpenBSD, change the link options to more closely match those used when building the perl executable, which results in linking against the correct library. Fixes #22125 Compare: https://github.com/Perl/perl5/compare/420c1c59ca10%5E...9898baa4125a To unsubscribe from these emails, change your notification settings at https://github.com/Perl/perl5/settings/notifications