Re: llvm 10 libomp build error

From: Kristof Provost <kp_at_FreeBSD.org>
Date: Thu, 12 Mar 2020 19:38:05 +0900
On 12 Mar 2020, at 16:58, Ronald Klop wrote:
> Hi,
>
> Clean build after svn update gives:
>
> cc: error: no such file or directory: 
> '/data/src/freebsd-current/contrib/llvm-pr
> oject/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c'
> cc: error: no input files
> *** [ittnotify_static.pico] Error code 1
>
> make[5]: stopped in /data/src/freebsd-current/lib/libomp
>
> The file ittnotify_static.c does indeed not exist. A .cpp version does 
> exist.
>
>
> [builder_at_sjakie ~]$ more /etc/src.conf
> KERNCONF?=GENERIC-NODEBUG
> # Don't build these
> WITHOUT_LLVM_TARGET_ALL=true
> WITHOUT_LPR=true
> WITHOUT_PROFILE=true
> WITHOUT_SENDMAIL=true
> WITHOUT_TESTS=true
>
>
> What is the advice? Currently rebuilding with -j 1, but that will 
> hours for building the new clang again.
>
Try removing /usr/obj/* (or whatever your object directory is) and 
rebuilding.
That worked for me.

Best,
Kristof
Received on Thu Mar 12 2020 - 09:38:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC