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)
Mon, Apr 29, 7:33 AM
Unknown Object (File)
Apr 25 2024, 11:24 AM
Unknown Object (File)
Apr 21 2024, 8:33 AM
Unknown Object (File)
Apr 21 2024, 8:33 AM
Unknown Object (File)
Apr 21 2024, 8:33 AM
Unknown Object (File)
Apr 20 2024, 3:41 PM
Unknown Object (File)
Apr 19 2024, 7:12 PM
Unknown Object (File)
Mar 19 2024, 2:41 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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 25506
Build 24124: arc lint + arc unit