Project

General

Profile

Actions

Bug #11480

closed

cw runs smatch before it is built

Added by Andy Fiddaman over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:

Description

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.

Actions #1

Updated by Electric Monk over 4 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 0 to 100

git commit 391889ecff3f697040bc0677f3fb4a002d562e31

commit  391889ecff3f697040bc0677f3fb4a002d562e31
Author: Andy Fiddaman <omnios@citrus-it.co.uk>
Date:   2019-07-26T08:22:14.000Z

    11480 cw runs smatch before it is built
    Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
    Reviewed by: Alexander Pyhalov <apyhalov@gmail.com>
    Reviewed by: Gergő Mihály Doma <domag02@gmail.com>
    Reviewed by: John Levon <john.levon@joyent.com>
    Reviewed by: Andrew Stormont <andyjstormont@gmail.com>
    Approved by: Dan McDonald <danmcd@joyent.com>

Actions

Also available in: Atom PDF