https://bugs.kde.org/show_bug.cgi?id=517304

--- Comment #6 from Paul Floyd <[email protected]> ---
After a day or two of fighting with this I've come to the conclusion that this
is a macOS bug.

It looks like dyld strips certain env vars (it strips DYLD_INSERT_LIBRARIES and
DYLD_SHARED_REGION but it does not strip DYLD_PRINT_SEARCHING, so it looks like
it strips ones that have a functional effect, not ones that are for
debug/trace.

So, this script

#!/bin/ksh

export
DYLD_INSERT_LIBRARIES=/Users/paulf/scratch/valgrind/none/tests/darwin/../../../.in_place/vgpreload_core-amd64-darwin.so
export DYLD_SHARED_REGION=use
export DYLD_PRINT_SEARCHING=1

./apple-main-arg

fails

I've checked that on macOS 12 and macOS 13.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to