# 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);
^