Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Mar 2020 19:38:05 +0900
From:      "Kristof Provost" <kp@FreeBSD.org>
To:        "Ronald Klop" <ronald-lists@klop.ws>
Cc:        freebsd-current@freebsd.org
Subject:   Re: llvm 10 libomp build error
Message-ID:  <28152202-B38B-4944-95B7-FFA0AA71E462@FreeBSD.org>
In-Reply-To: <op.0hcwe1flkndu52@sjakie>
References:  <op.0hcwe1flkndu52@sjakie>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?28152202-B38B-4944-95B7-FFA0AA71E462>