libffcall
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug #66089] On macos mprotect can't be PROT_WRITE and PROT_EXEC at


From: Lorenzo Daneo
Subject: Re: [bug #66089] On macos mprotect can't be PROT_WRITE and PROT_EXEC at the same time
Date: Wed, 14 Aug 2024 19:22:26 +0200

Hello Bruno,

I'm using version 2.4 of libffcal compiled locally with HAVE_MPROTECT_AFTER_MMAP_CAN_EXEC set to 1.
I don't know why, but the installation with brew was going in error at line 87 in trampoline.c, so I suspected I had to pass something to brew as a parameter, but I couldn't find it was that variable until I tried to compile the library locally.
Anyway, I'm on MacOS Sonoma 14.5 with an Apple Silicon M2 chip.

Is the CI running on an Intel chip? I read somewhere that this behaviour (PROT_WRITE and PROT_EXEC not usable together) is only on Apple Silicon.

I'm trying to extract the stacktrace as you asked.

Best regards,
Lorenzo


Il giorno mer 14 ago 2024 alle ore 19:08 Bruno Haible <INVALID.NOREPLY@gnu.org> ha scritto:
Follow-up Comment #2, bug #66089 (group libffcall):

Also:

Which version of libffcall are you using?

What exactly is the scenario (test program) that causes the SIGABRT on macOS?

I'm asking because my continuous integration of libffcall shows no problems on
macOS versions 12, 13, 14: https://github.com/gnu-libffcall/ci-check/actions


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66089>

{savane: Include the next line when replying by email.}
{savane: user = 362990; tracker = bugs; item = 66089}

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]