Current-Users archive

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

Re: userland build failure in libgomp



Hi all!

I confirm the peristent build failure, even if starting totally from scratch (clean obj dir) and no -u flag.
Built tools first, then distribution. Same error, on amd64

could it be that the combination
MKLLVM = no
HAVE_LLVM=no
MKLLVMRT = no

is not supported?

the error is:

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


so it looks clang is being executed, inside the tooldir freshly built!

Riccardo

Riccardo Mottola wrote:
Hi List!

Yesterday, I did a new CVS update. I did rebuild tools and userland.
I ad mit, to save some time, I used the "-u" update flag. The issue came up again however.

I will try today again, without an update build.




Home | Main Index | Thread Index | Old Index