diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-09-14 19:28:39 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-09-16 14:48:44 +0200 |
| commit | e3cdbf8656cad84675862071c60bc9442930fbb1 (patch) | |
| tree | f47044f730af99476bb21c61e66b8970f98b5a56 /sys/syz-sysgen | |
| parent | 07e953c105af057cb474bc086f68fb7ec5b241ec (diff) | |
sys/syz-extract: restore kvm const extraction for arm64/ppc64
Change #2755 disabled KVM for arm64/ppc64, but KVM is supported on these arches
and has extensive support. It's pity to lose that support.
The real root cause of the problem with arm64/ppc64 is that some severe compilation
errors terminated compilation and did not let compiler spew all error messages.
As the result we did not parse all of them and did not disable all of them.
Re-try compilation multiple times instead of just 2 to fix this.
Update #2754
Diffstat (limited to 'sys/syz-sysgen')
| -rw-r--r-- | sys/syz-sysgen/sysgen.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/syz-sysgen/sysgen.go b/sys/syz-sysgen/sysgen.go index dd64be8d4..35bea4f3b 100644 --- a/sys/syz-sysgen/sysgen.go +++ b/sys/syz-sysgen/sysgen.go @@ -117,8 +117,7 @@ func main() { if OS == targets.Linux && (job.Target.Arch == targets.ARM || job.Target.Arch == targets.RiscV64) { // Hack: KVM is not supported on ARM anymore. On riscv64 it // is not supported yet but might be in the future. - // Note: syz-extract ignores this file on all arches except - // i386 and amd64 (due to const extraction problems). + // Note: syz-extract also ignores this file for arm and riscv64. top = descriptions.Filter(func(n ast.Node) bool { pos, _, _ := n.Info() return !strings.HasSuffix(pos.File, "_kvm.txt") |
