Date: Sat, 14 Mar 2020 09:15:58 +0100 From: Dimitry Andric <dim@FreeBSD.org> To: Masachika ISHIZUKA <ish@amail.plala.or.jp> Cc: freebsd-current@freebsd.org Subject: Re: Build failed compiling ittnotify_static.pico Message-ID: <E47E5262-1911-4543-A6A3-4C56C5EFF8D8@FreeBSD.org> In-Reply-To: <20200314.125321.1799337201319868712.ish@amail.plala.or.jp> References: <D966E0E8-6208-4353-B9AE-A6F14EBF9D03@FreeBSD.org> <5606b11ff31f576b48458a15d224f8b1@waitman.net> <6973b60ef1e9ef142bf9b8fd8f2f3b41@waitman.net> <20200314.125321.1799337201319868712.ish@amail.plala.or.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_F00CCD9E-E011-4524-9B31-9C1B42DA4D9E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 14 Mar 2020, at 04:53, Masachika ISHIZUKA <ish@amail.plala.or.jp> = wrote: >=20 >>>>>>> cc: error: no such file or directory: >>>>>>> = '/usr/src/contrib/llvm-project/openmp/runtime/src/thirdparty/ittnotify/itt= notify_static.c' >>>>>>> cc: error: no input files >>>>>>> *** [ittnotify_static.pico] Error code 1 >>=20 >> '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. >=20 > 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 --Apple-Mail=_F00CCD9E-E011-4524-9B31-9C1B42DA4D9E Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXmySvgAKCRCwXqMKLiCW ozS3AJ9vXxhKGXVBnx+b7bnwnvAWDRAO/QCfWML731lufObcxR00qQl1B/suuoA= =YxWQ -----END PGP SIGNATURE----- --Apple-Mail=_F00CCD9E-E011-4524-9B31-9C1B42DA4D9E--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E47E5262-1911-4543-A6A3-4C56C5EFF8D8>