https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257

--- Comment #9 from Iain Sandoe <iains at gcc dot gnu.org> ---
(In reply to Eric Gallager from comment #8)
> the MacPorts project applies the following patch to work around this issue:
> https://github.com/macports/macports-ports/commit/
> 0641e588e989b7b3e5049ca79e354339ccb403ca

Well, that disables the use of DYLD_LIBRARY_PATH, but does not provide a
replacement (i.e. it's a workaround only).

---

I have patches that resolve this by using @rpath for libraries on macOS
versions that support it - and switch off the use of DYLD_LIBRARY_PATH there
(which isn't acted on).  This solution also restores the ability to test the
compiler without first installing it.

The patches are on trial branches (they are needed on the arm64 port) - and
AFAIK the build problems with a couple of packages were resolved.  It remains
to tidy them up for application / posting as needed.

Reply via email to