Re: [PATCH 2/2] test: replace use of gdb with LD_PRELOAD shims in

Subject: Re: [PATCH 2/2] test: replace use of gdb with LD_PRELOAD shims in

Date: Mon, 24 Jun 2019 14:22:11 -0400

To: David Bremner, Ralph Seichter,


From: Daniel Kahn Gillmor

On Fri 2019-06-14 08:16:14 -0300, David Bremner wrote:
> Ralph Seichter <> writes:
>> * Daniel Kahn Gillmor:
>>> Perhaps Ralph Seichter (explicitly cc'ed above) could comment on how
>>> it'll affect homebrew?
>> MacPorts, actually. ;-) I have not yet been able to look into this patch
>> series, but I hope to be able to do so soonish.
>> -Ralph
> Supposedly DYLD_INSERT_LIBRARIES does (did?) the same job as LD_PRELOAD,
> but there seems to some macOS specific complications.

Do you think we could go ahead and apply these patches on master now
anyway, and fix them up subsequently to make sure they apply to MacOS?
I don't know what the "MacOS specific complications" are.  Can they be
spelled out in more detail?  I note that
suggests that DYLD_INSERT_LIBRARIES won't work with signed binaries, but
i don't think the binaries tested during the test suite are signed
binaries, are they?

Alternately if DYLD_INSERT_LIBRARIES doesn't work, should we just skip
this test on MacOS?  or have it fall back to gdb?

I'd really like to see this test suite speedup merged.

notmuch mailing list