Re: libgomp build: undeclared openacc stuff

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

On Wed, 20 May 2015 12:36:08 -0400, Tim Prince <n8tm@xxxxxxx> wrote:
> attempting to build from current trunk (configured with --disable-werror)
> Shouldn't the openacc stuff in libgomp be disabled automatically (or by
> some other means) for targets where it isn't supported?

OpenACC generally is supported -- it's "just" the offloading aspect of it
that needs specific support at run-time.

> ../libgomp/oacc-init.c  -DDLL_EXPORT -DPIC -o .libs/oacc-init.o
> ../../../libgomp/oacc-init.c: In function ‘acc_on_device’:
> ../../../libgomp/oacc-init.c:587:3: error: implicit declaration of
> function ‘__builtin_acc_on_device’ [-Werror=implicit-function-declaration]
>    return __builtin_acc_on_device (dev);
>    ^

What is your specific build configuration?


Grüße,
 Thomas

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux