[Bug testsuite/81626] Need effective target omp_target

tschwinge at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jul 31 19:30:00 GMT 2017


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

--- Comment #5 from Thomas Schwinge <tschwinge at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #4)
> (In reply to Thomas Schwinge from comment #3)
> > Yeah, I suppose you just need to remove a "--disable-multilib" from your
> > nvptx offloading GCC build configuration, so that the "mgomp" multilib gets
> > built in addition to the "default" one?
> 
> It would be great if it is that simple.

It is (at least in my build scripts).

> Have you ever tried that?

Have been using that ever since the OpenMP nvptx offloading got committed to
GCC trunk, which added the "mgomp" multilib, r242503 "nvptx backend
prerequisites for OpenMP offloading".

> I see you're the one who's added the "--disable-multilib" in our nvptx
> offloading GCC build configuration (which is what I'm using).

Which exactly?

> What was the
> reason for that?

Off-hand I can only remember using "--disable-multilib" for the target GCC
build configuration, for we're not supporting offloading in 32-bit
configurations, and are thus interested only in 64-bit x86_64 but not 32-bit
i686, which also gets built by default for x86_64-pc-linux-gnu.


More information about the Gcc-bugs mailing list