Branch: refs/heads/yves/reduce_tech_debt_perl_c
  Home:   https://github.com/Perl/perl5
  Commit: ef6b2b73e7bba637f101cc96f2d59dba7dab76f3
      
https://github.com/Perl/perl5/commit/ef6b2b73e7bba637f101cc96f2d59dba7dab76f3
  Author: Yves Orton <[email protected]>
  Date:   2022-08-06 (Sat, 06 Aug 2022)

  Changed paths:
    M INSTALL
    M hv_func.h
    M perl.c

  Log Message:
  -----------
  perl.c - remove code for reporting state of non-existent defines in -V

Most of the hash based defines are no longer supported, so remove them.
Also at the same time introduce a new simpler way to track which hash
function we are using. Also add the info about if SBOX32 is in use.

This removes the need to keep the list of hash functions supported in
two places, hv_func.h and perl.c. Instead hv_func.h drives the whole
process and perl.c just does what it is told.

Previously the way to control SBOX32 was to use a define with a value
but our perl -V output currently doesnt support that, so this adds some
two new defines PERL_HASH_USE_SBOX32 and PERL_HASH_NO_SBOX32 which map
to the older PERL_HASH_USE_SBOX32_ALSO flag define (integer 1/0).
Both are still supported, this just makes everything more consistent.

This also includes minor doc changes to INSTALL to mention -Accflags
as being the way to set these defines during the Configure process.


  Commit: 4c340e038b40ec6675900145be42cbb126d20cfb
      
https://github.com/Perl/perl5/commit/4c340e038b40ec6675900145be42cbb126d20cfb
  Author: Yves Orton <[email protected]>
  Date:   2022-08-07 (Sun, 07 Aug 2022)

  Changed paths:
    M perl.c
    M perl.h

  Log Message:
  -----------
  perl.[ch] - hash related setup affects binary compatibility

Our hash function is compiled into code which chooses to use it,
and is not linked in from the perl executable. That means that
the hash related settings can affect binary compatibility.

I proposed making the hash function linkable, but people said "there was
no need". But that means that the hash function config DOES affect
binary compatibility.


Compare: https://github.com/Perl/perl5/compare/bfc193dd4acd...4c340e038b40

Reply via email to