This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] PR jit/87808: Allow libgccjit to work without an external gcc driver
- From: David Malcolm <dmalcolm at redhat dot com>
- To: Matthias Klose <doko at ubuntu dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, jit at gcc dot gnu dot org
- Date: Fri, 22 Mar 2019 18:00:46 -0400
- Subject: Re: [patch] PR jit/87808: Allow libgccjit to work without an external gcc driver
- References: <c35cf6d3-0eab-92fa-458d-2a544b7f9e66@ubuntu.com>
On Thu, 2019-03-21 at 12:26 +0100, Matthias Klose wrote:
> Fix PR jit/87808, the embedded driver still needing the external gcc
> driver to
> find the gcc_lib_dir. This can happen in a packaging context when
> libgccjit
> doesn't depend on the gcc package, but just on binutils and libgcc-
> dev packages.
> libgccjit probably could use /proc/self/maps to find the gcc_lib_dir,
> but that
> doesn't seem to be very portable.
>
> Ok for the trunk and the branches?
>
> Matthias
[CCing the jit list]
I've been trying to reproduce this bug in a working copy, and failing.
Matthias, do you have a recipe you've been using to reproduce this?
Thanks
Dave