Yes, I believe that is the right fix. The version in libgomp/config/accel/ should then override the version in libgomp/ for accelerator targets.

I'll do a quick check that this works as expected and push it ASAP. Sorry for breaking the build for so many targets!

Kwok

On 07/11/2023 9:51 pm, Jakub Jelinek wrote:
On Tue, Nov 07, 2023 at 09:37:22PM +0000, Joseph Myers wrote:
This looks like targets that libgomp/configure.tgt does *not* have any
special handling for, and so never adds "linux" to config_path for.

Indeed, I don't really see anything linux specific about the
libgomp/config/linux/target-indirect.c
so wonder if the right fix isn't
git mv libgomp/{config/linux/,}target-indirect.c

        Jakub

Reply via email to