[pcre-dev] [Bug 2769] r1315: apple_update_wx_flags() calls …

Top Page
Delete this message
Author: admin
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 2769] r1315: apple_update_wx_flags() calls unavailable API when compiling to deploy on older macOS
https://bugs.exim.org/show_bug.cgi?id=2769

Carlo Marcelo Arenas Belón <carenas@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|Philip.Hazel@???      |carenas@???
             Status|NEW                         |ASSIGNED


--- Comment #3 from Carlo Marcelo Arenas Belón <carenas@???> ---
(In reply to Rich Siegel from comment #2)
> Calling an unavailable API is never a NOP.


Apologies; I didn't meant it will become a NOP at runtime, but that it wouldn't
even be in the binary as it will be compiled out unless the target was arm64
(with macOS 11 or later being the only option).

I see though that you get a broken binary if passing a (never released) target
of arm64-*-macos10.* to clang, but it shouldn't be a problem if using instead
the correct target for BigSur (at least for arm64) as part of building your fat
binary.

eitherway, your suggestion makes sense and will make sure it gets included in
sljit upstream and therefore in the next version of PCRE. Testing will be
appreciated if you have access to older versions of macOS.

--
You are receiving this mail because:
You are on the CC list for the bug.