(type *PTE has no field or method SetSuper)

19 views
Skip to first unread message

Kobe Kobe

unread,
Jan 5, 2021, 9:44:03 PMJan 5
to gVisor Users [Public]
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:121:14: pudEntry.SetSuper undefined (type *PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:132:22: pudEntry.IsSuper undefined (type *PTE has no field or method IsSuper)
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:138:24: pmdEntries[index].SetSuper undefined (type PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:175:15: pmdEntry.SetSuper undefined (type *PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:186:23: pmdEntry.IsSuper undefined (type *PTE has no field or method IsSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:121:14: pudEntry.SetSuper undefined (type *PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:132:22: pudEntry.IsSuper undefined (type *PTE has no field or method IsSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:138:24: pmdEntries[index].SetSuper undefined (type PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:175:15: pmdEntry.SetSuper undefined (type *PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:186:23: pmdEntry.IsSuper undefined (type *PTE has no field or method IsSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:186:23: too many errors

Kevin Krakauer

unread,
Jan 6, 2021, 2:18:18 PMJan 6
to Kobe Kobe, gVisor Users [Public]
Hi Kobe,

Can you help by adding some context, such as what you were building and what git commit you are building with?

--
You received this message because you are subscribed to the Google Groups "gVisor Users [Public]" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gvisor-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gvisor-users/670e70fb-eb4f-41cd-9a12-90aa4347bda2n%40googlegroups.com.

Kobe Kobe

unread,
Jan 7, 2021, 3:28:51 AMJan 7
to gVisor Users [Public]

1、 I only git check out remotes/origin/go , the givisor directory is like :  
root@cloud:~/gvisor# ls
AUTHORS  go.mod  go.sum  LICENSE  pkg  README.md  runsc  shim  webhook

2、 cd runsc
3、root@cloud:~/gvisor/runsc# go build
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:121:14: pudEntry.SetSuper undefined (type *PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:132:22: pudEntry.IsSuper undefined (type *PTE has no field or method IsSuper)
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:138:24: pmdEntries[index].SetSuper undefined (type PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:175:15: pmdEntry.SetSuper undefined (type *PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_empty.go:186:23: pmdEntry.IsSuper undefined (type *PTE has no field or method IsSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:121:14: pudEntry.SetSuper undefined (type *PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:132:22: pudEntry.IsSuper undefined (type *PTE has no field or method IsSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:138:24: pmdEntries[index].SetSuper undefined (type PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:175:15: pmdEntry.SetSuper undefined (type *PTE has no field or method SetSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:186:23: pmdEntry.IsSuper undefined (type *PTE has no field or method IsSuper)
../pkg/sentry/platform/ring0/pagetables/walker_lookup.go:186:23: too many errors

Kobe Kobe

unread,
Jan 7, 2021, 4:18:08 AMJan 7
to gVisor Users [Public]
root@cloud:~/gvisor# git log -1
commit 5c21c7c3bd1552f4d5f87ef588fc213e2a2278ef (HEAD -> remotes/origin/go, origin/go)
Merge: b0f23fb7e 3ff7324df
Author: gVisor bot <gviso...@google.com>
Date:   Mon Dec 28 22:05:49 2020 +0000

    Merge release-20201208.0-89-g3ff7324df (automated)

Michael Pratt

unread,
Jan 7, 2021, 9:34:14 AMJan 7
to Kobe Kobe, gVisor Users [Public]
Hi Kobe,

Are you trying to build for arm64? It seems like that may be broken on
the 'go' branch, which is tracked by gvisor.dev/issue/5178.
> To view this discussion on the web visit https://groups.google.com/d/msgid/gvisor-users/75292c1e-f002-4c41-abb8-a3b616036339n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages