Problem build gcc 5.1 with openacc support for nvptx

KESTENER Pierre pierre.kestener@cea.fr
Thu May 28 13:50:00 GMT 2015


To anyone interested:
I finally suceeded in having gcc 5.1 with openacc offload functionnal.

Beside official wiki web page, I found the following website usefull:
http://scelementary.com/2015/04/25/openacc-in-gcc.html

with the only modification found by a collegue of mine (thanks Alex)
I had to set env variable COMPILER_PATH to make sure that mkoffload is found by lto-wrapper
(just remove "/accel/<target>/" at the end of the path where mkoffload is).

Pierre.

________________________________________
De : KESTENER Pierre
Envoyé : vendredi 22 mai 2015 08:59
À : gcc-help@gcc.gnu.org
Objet : Problem build gcc 5.1 with openacc support for nvptx

Hello,

I'm following instructions from
https://gcc.gnu.org/wiki/Offloading

I'm using the configure line for Nvidia ptx.

the build stops in configuring nvptx-none/libgfortran
with error:

checking whether symbol versioning is supported... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.


My host OS is CentOS 6.5. I'm using gcc 4.7 (built with system gcc 4.4) to build gcc 5.1

Can someone give me hint to look where the problem could come from ?

Thanks.

Pierre.



More information about the Gcc-help mailing list