On 14 Mar 2020, at 04:53, Masachika ISHIZUKA <ish_at_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. Assuming amd64 and the default /usr/src and /usr/obj setup, all the fix has to do is to remove the file /usr/obj/usr/src/amd64.amd64/lib/libomp/.depend.ittnotify_static.pico, since that will have a "stale" dependency on the old ittnotify_static.c file in it. It would still have been interesting to see why it did not work correctly for the original posters. -Dimitry
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC