On 07 Oct 15:06, Jakub Jelinek wrote:
> Still have issues with the non-installed testing.

The idea was that the offload compiler should be installed.

> If I add
> -B /usr/src/gcc-git/objinst/usr/local/lib/gcc/x86_64-pc-linux-gnu/5.0.0/ \
> -B /usr/src/gcc-git/objinst/usr/local/libexec/gcc/x86_64-pc-linux-gnu/5.0.0/

Yes, since lto-wrapper uses COMPILER_PATH + "/accel/<target>/" to find
mkoffload, it requires that the offload compiler with mkoffload are installed.
Probably, it can be extended to search in the build paths, specified by
--enable-offload-targets option.

> to the command line so it at least finds mkoffload, it then can't find for
> some reason the offload compiler:

mkoffload itself also wants the offload compiler with correct name
(<host>-accel-<target>-gcc).  It can be extended to use xgcc.  But I don't know,
how to construct all paths for it (-B, -I, -L)?

> So, what exactly should be added (by libgomp.exp) so that the testing 
> succeeds in
> the case of non-installed offload and non-installed host compilers?

Looks like, that non-installed offload compiler requires some complications.
Is this really necessary?

Thanks,
  -- Ilya

Reply via email to