On Sat, Mar 14, 2020 at 1:16 AM Dimitry Andric <d...@freebsd.org> wrote: > > On 14 Mar 2020, at 04:53, Masachika ISHIZUKA <i...@amail.plala.or.jp> wrote: > > > >>>>>>> cc: error: no such file or directory: > >>>>>>> '/usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c' > >>>>>>> cc: error: no input files > >>>>>>> *** [ittnotify_static.pico] Error code 1 > >> > >> 'make cleanworld' solved it, build without error. > >> I used to always delete obj for years, but I've not done that for a > >> couple of years without any problems I've noticed. > > > > Thank you for information. > > I'll try it. > > Obviously, cleaning up your /usr/obj will always help, but that is not > the point of the fix. It should always be possible to do an incremental > buildworld, but there is a deficiency in our dependency tracking system. > When a file changes extension, but its basename stays the same, the > tracking does not notice it.
0. rm -rf the obj directory contents 1. buildworld using r358851 (just prior to the llvm/clang commit) this completed. Note I do use MAKEOBJDIRPREFIX when building 2. update to r359007 and buildworld fails with: cc: error: no such file or directory: '/usr/home/ctuffli/dev/freebsd/freebsd.hg/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c' cc: error: no input files *** [ittnotify_static.pico] Error code 1 The build log does not show "Removing stale dependencies" The first two lines of the amd64 depend are: $ head -2 ../obj/usr/home/ctuffli/dev/freebsd/freebsd.hg/amd64.amd64/lib/libomp/.depend.ittnotify_static.pico ittnotify_static.pico: \ /usr/home/ctuffli/dev/freebsd/freebsd.hg/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c \ The first two lines of the 32-bit depend are: $ head -2 ../obj/usr/home/ctuffli/dev/freebsd/freebsd.hg/amd64.amd64/obj-lib32/lib/libomp/.depend.ittnotify_static.pico ittnotify_static.pico: \ /usr/home/ctuffli/dev/freebsd/freebsd.hg/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/ittnotify_static.c \ --chuck _______________________________________________ freebsd-current@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"