11480 cw runs smatch before it is built
Review Request #2194 — Created July 18, 2019 and submitted
Information | |
---|---|
citrus | |
illumos-gate | |
master | |
11480 | |
ed637bd... | |
Reviewers | |
general | |
11480 cw runs smatch before it is built
Tested building gate from a clean tree. Now all of
cw
,smatch
,install.bin
andctf
are built first, before the build environment is reported.
Change Summary:
Update usr/src/tools/Makefile comment
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+14 -20) |
-
This doesn't seem to work properly. Yes, it solves the problem of the build trying to report the smatch version before it's built, but I get a large amount of build noise reported in my mail_msg.
Looking at it, the output from this build ends up as build noise for me. So I see errors for smatch itself, as well as the build output for install.bin and ctf. (Those latter 2 don't contain any errors, as far as I can tell, I just get the whole build output.)
In terms of the change, it appears to go beyond the stated problem of smatch not being built early enough and extends it to install.bin and ctf. Is that extension necessary?
However, I wonder if we're solving the wrong problem. We report the compiler versions because we need to know what a user has chosen as they're external to the gate. We have less need to know the version of smatch, as that's shipped in the gate itself.
Change Summary:
Restructure so that bootstrap noise does not end up in mail_msg
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+36 -24) |
-
-
usr/src/tools/scripts/nightly.sh (Diff revision 4) This will never evaluate to true because tee will always exit with 0.
Change Summary:
Remove unecessary exit status check.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 5 (+35 -24) |
-
I think this change deserves a flag day -- I just tried to build a bit older older gate contents on a system updated with this, and using the nightly from onbld now fails:
==== Bootstrap build errors ==== dmake: Warning: Don't know how to make target `bootstrap' dmake: Warning: Target `bootstrap' not remade because of errors ==== Nightly build noise ==== nightly: Error: could not bootstrap tools