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

--- Comment #7 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
(In reply to howarth from comment #6)
> I don't believe this can be an issue on darwin as we always default to
> producing PIC oode.
Ah, ok.

Thanks for filing this bug.

I'm wondering what other problems libgccjit has on darwin.  If you hack in the
required options into jit/Makefile.in, to what extent do "make" and "make
check-jit" work?

I notice this blog post from a couple of months ago:
  http://adek.io/2014/10/04/gcc-jit-on-osx/
which talks about an issue with:
  dyld: Library not loaded: libgccjit.so.0

Perhaps on darwin we need to be setting DYLD_LIBRARY_PATH in the various places
where we're currently setting LD_LIBRARY_PATH?  (perhaps that should be a
separate bug, perhaps under a "libgccjit on darwin" tracker bug?).

Reply via email to