cw runs smatch before it is built
tools - gate/build tools
When starting a build from a clean tree (after
git clean -fdx for example), and enabling smatch as a shadow compiler, the nightly log and mail_msg end up with this:
==== Build environment ==== /usr/bin/uname SunOS bloody 5.11 omnios-master-0281f54eb3 i86pc i386 i86pc /opt/onbld/bin/i386/dmake dmake: illumos make number of concurrent jobs = 18 cw version 4.0 primary: /opt/gcc-7/bin/gcc gcc (OmniOS 151031/7.4.0-il-2) 7.4.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. shadow: /opt/gcc-4.4.4/bin/gcc gcc (GCC) 4.4.4 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. shadow: /data/omnios-build/omniosorg/bloody/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch cw: couldn't run /data/omnios-build/omniosorg/bloody/illumos/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: No such file or directory ...
This is because smatch is not bootstrapped early as cw is.
Updated by Electric Monk 23 days ago
- % Done changed from 0 to 100
- Status changed from In Progress to Closed
commit 391889ecff3f697040bc0677f3fb4a002d562e31 Author: Andy Fiddaman <email@example.com> Date: 2019-07-26T08:22:14.000Z 11480 cw runs smatch before it is built Reviewed by: Yuri Pankov <firstname.lastname@example.org> Reviewed by: Alexander Pyhalov <email@example.com> Reviewed by: Gergő Mihály Doma <firstname.lastname@example.org> Reviewed by: John Levon <email@example.com> Reviewed by: Andrew Stormont <firstname.lastname@example.org> Approved by: Dan McDonald <email@example.com>