Another issue. Segfaulting binaries

I’m getting a segfault which is occuring before _init when I build with release-20.03.
I’m not getting those segfaults when building with release-20.09.

Last time I saw this it appeared to be the elf interpreter issue. Is this familiar?

This seems to be related to the rpath.

Definitely the RPATH.

When I remove the rpath using patch elf, no problem.

I can’t do the usual thing of the default fixup using patchelf in a batch. Enclaves are completely different from other binaries and must not be touched. But they have a .so suffix, so just a blanket script is also a non-starter