Branch: refs/heads/blead
Home: https://github.com/Perl/perl5
Commit: bec07c3af574f0f22a318c6273a2c4f29afc1251
https://github.com/Perl/perl5/commit/bec07c3af574f0f22a318c6273a2c4f29afc1251
Author: H.Merijn Brand <[email protected]>
Date: 2020-09-22 (Tue, 22 Sep 2020)
Changed paths:
M Configure
Log Message:
-----------
Trap SIGBUS when Configure checks for va_copy (#18148)
On several systems the attempt to determine if we "need va_copy() or
similar" results in a SIGBUS instead of a SIGSEGV because the fault
happens pointing at an io device address.
While reviewing accounting logs during the OpenBSD system build, bluhm@
noticed a core dump and deraadt@ tracked it down.
While researching it was discovered that this is a fairly common case in
other systems as well.
Original diff by deraadt@