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

--- Comment #2 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
playback::context::invoke_driver builds the command line for the driver.

Does it work with each of these: 
  gcc_jit_context_set_bool_use_external_driver (ctxt, 1);

  gcc_jit_context_set_bool_use_external_driver (ctxt, 0);

If you call:
  gcc_jit_context_set_logfile (ctxt, stderr, 0, 0);
a verbose log will be written to stderr.  See e.g.:
https://gcc.gnu.org/onlinedocs/jit/internals/index.html#example-of-log-file

In particular, the log for gcc::jit::playback::context::invoke_driver will show
the arguments that the driver is being called with.

Does it successfully link if you manually invoke the driver with those
arguments?

Reply via email to