Current-Users archive

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

userland build failure in libgomp



Hi,

I updated again, did a new build of userland and now get an error in a different place. Seems the compiler doesn't like an attribute. It seems the compiler used is clang?

But I have:

MKLLVM = no
HAVE_LLVM=no
MKLLVMRT = no


Riccardo

#   compile  libgomp/oacc-init.o
/usr/src/obj/tooldir.NetBSD-9.99.34-amd64/bin/x86_64--netbsd-clang -O2 -march=core2 -pthread -std=gnu99 -Wno-sign-compare -Wno-pointer-sign -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Werror -Wno-conversion -fPIE -Wno-stack-protector -Wno-missing-prototypes --sysroot=/usr/src/obj/destdir.amd64 -DHAVE_CONFIG_H -I/usr/src/external/gpl3/gcc/dist/libgomp -I/usr/src/external/gpl3/gcc/dist/libgomp/config/posix -I/usr/src/external/gpl3/gcc/dist/libgcc -I/usr/src/external/gpl3/gcc/dist/include -I/usr/src/external/gpl3/gcc/lib/libgomp/arch/x86_64 -c /usr/src/external/gpl3/gcc/dist/libgomp/oacc-init.c -o oacc-init.o /usr/src/external/gpl3/gcc/dist/libgomp/oacc-init.c:632:21: error: unknown attribute '__optimize__' ignored
      [-Werror,-Wunknown-attributes]
int __attribute__ ((__optimize__ ("O2")))
                    ^
/usr/src/external/gpl3/gcc/dist/libgomp/oacc-init.c:635:10: error: use of unknown builtin '__builtin_acc_on_device'
      [-Wimplicit-function-declaration]
  return __builtin_acc_on_device (dev);
         ^
2 errors generated.

*** Failed target:  oacc-init.o


Home | Main Index | Thread Index | Old Index