Nvptx GPU offloading using OpenMP4 and GCC 7.2

Caspar van Leeuwen caspar.vanleeuwen@surfsara.nl
Thu Sep 7 08:05:00 GMT 2017


> - I did have a newer version of binutils already installed, so I prepended the ../bin and ../lib of this binutils to my PATH and LD_LIBRARY_PATH, respectively. Considering your remark that the old binutils doesn't support plugins, I think this is exactly what the warning I got earlier pointed to.
> - I removed the --disable-multilib option from the nvptx GCC configuration step.
> - I added the --enable-plugins to the host GCC configure options (I couldn't find this as a configure option though on https://gcc.gnu.org/install/configure.html, nor on the instructions in https://gcc.gnu.org/wiki/Offloading ?)
> - I compiled my test program with the new gcc, making sure the new binutils ../bin and ../lib are still in my PATH and LD_LIBRARY_PATH, respectively.

Ok, that might have been slightly unclear, just to clarify: I did step 1-3 (below), then recompiled GCC with my (adapted) compilation script. Then I did step 4.



More information about the Gcc-help mailing list