Branch: refs/heads/smoke-me/tonyc/22125-openbsd-embed
  Home:   https://github.com/Perl/perl5
  Commit: bf42159861572ce5bc1e40f6b4646765498c9be9
      
https://github.com/Perl/perl5/commit/bf42159861572ce5bc1e40f6b4646765498c9be9
  Author: Tony Cook <[email protected]>
  Date:   2026-01-27 (Tue, 27 Jan 2026)

  Changed paths:
    M embed.fnc
    M embed.h
    M lib/ExtUtils/t/Embed.t
    M perl.h
    M pod/perldiag.pod
    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: 5cb582b0744fa31862b0acac2b79a20d3b703c31
      
https://github.com/Perl/perl5/commit/5cb582b0744fa31862b0acac2b79a20d3b703c31
  Author: Tony Cook <[email protected]>
  Date:   2026-01-27 (Tue, 27 Jan 2026)

  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


  Commit: 5d39492ca2f2fa19425a4189c200007e60c8afff
      
https://github.com/Perl/perl5/commit/5d39492ca2f2fa19425a4189c200007e60c8afff
  Author: Tony Cook <[email protected]>
  Date:   2026-01-27 (Tue, 27 Jan 2026)

  Changed paths:
    M pod/perldelta.pod

  Log Message:
  -----------
  perldelta for fix embedding test on openbsd


Compare: https://github.com/Perl/perl5/compare/3e2c4b36ca10...5d39492ca2f2

To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to