Hi Jakub,
Am 09.03.2018 um 08:44 schrieb Jakub Jelinek:
On Fri, Mar 09, 2018 at 07:56:38AM +0100, Siegmar Gross wrote:
some days ago I've installed gcc-8-20180225 with accelerator support on my
"SUSE Linux Enterprise Server 12.3 (x86_64)" with gcc-6.4.0. Yesterday I
tried to add the languages objc, obj-c++, and go to my installation.
Unfortunately, I lost the OpenMP support. Adding the languages
step-by-step, I found out that "go" is responsible for the problem.
Why are you doing it at all?
In the OpenMP/OpenACC offloading compiler, you only need the LTO "frontend",
and libraries built for C, C++ and Fortran as those are the languages
supported by OpenMP/OpenACC. You don't need anything else. And, Go doesn't
support NVPTX at all. Ada probably doesn't either.
You are right. I'm using C and OpenMP/OpenACC for CPUs and accelerators, but a
colleague of mine wants to use the other languages, so that I tried to build
them as well.
Kind regards
Siegmar