Page MenuHomeFreeBSD

devel/pcre2: Correctly detect OpenPOWER 64-bit ELFv2 ABI
ClosedPublic

Authored by pkubaj on Jul 25 2019, 7:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 17 2025, 3:50 AM
Unknown Object (File)
Sep 16 2025, 2:44 PM
Unknown Object (File)
Sep 15 2025, 10:43 PM
Unknown Object (File)
Sep 14 2025, 10:36 AM
Unknown Object (File)
Sep 13 2025, 5:07 PM
Unknown Object (File)
Sep 13 2025, 2:50 AM
Unknown Object (File)
Sep 9 2025, 1:20 PM
Unknown Object (File)
Sep 8 2025, 12:03 AM
Subscribers
None

Details

Summary

Although the majority of OpenPOWER ELF V2 ABI use is on Little Endian, it is fully specified and is used in Big Endian mode as well.

As such, the correct detection of an ELFv2 system is via the _CALL_ELF preprocessor define, not the endianness.

This fixes JIT crashes on:
Adélie Linux
FreeBSD PowerPC64 ELFv2 variant (an experimental build)

on systems such as the Raptor Computing Systems TALOS II.

Original bug report at https://bugs.exim.org/show_bug.cgi?id=2353

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable