Commit 3dc0de9
committed
pkg/aflow/action/kernel/build: log build errors
Currently, when the kernel build fails, syz-aflow prints something along
the line of:
failed to run ["make" "KERNELVERSION=syzkaller" "KERNELRELEASE=syzkaller" "LOCALVERSION=-syzkaller" "-j" "36"
"ARCH=x86_64" "CC=ccache clang" "LD=ld.lld" "O=workdir/cache/build/1c6c481ef478edbb8bf3afb9d73e9ff157b1a204"
"bzImage" "compile_commands.json"]: exit status 2
Which is not particularly helpful, especially because the build
directory gets immediately wiped out and the source directory does not
contain the extracted .config which makes reproduction especially
annoying.
The -s flag makes make "silent", meaning that it only prints errors and
not all successfully built compilation units, which keeps the logs more
concise.1 parent 31d0cb6 commit 3dc0de9
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments