You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make main.go file on 32-bit architecture(such as i386, i686)
package main
import (
_ "github.com/coreos/go-tspi/tspi"
)
funcmain() {
}
And run below command.
$ go run main.go
# github.com/coreos/go-tspi/tspi
../../coreos/go-tspi/tspi/tpm.go:92: type [1073741824]C.struct_tdTSS_PCR_EVENT larger than address space
../../coreos/go-tspi/tspi/tpm.go:92: type [1073741824]C.struct_tdTSS_PCR_EVENT too large
Environment
Debian GNU/Linux Sid i686
$ uname -a
Linux debian-vm-tsr 4.8.0-2-686 #1 SMP Debian 4.8.11-1 (2016-12-02) i686 GNU/Linux
The target host is a 32-bit Debian 9 on Armv7 Cortex-A7 dual-core 1 GHz using the official golang v.14 ARMv6l build. Anything over 26 was giving issue google#9. Was able to compile fine, however since I don't have access to a TPM1.2 device but a TPM2.0, the file /sys/kernel/security/tpm0/binary_bios_measurements does not exist for me.
How to reproduce
Make main.go file on 32-bit architecture(such as i386, i686)
And run below command.
Environment
Debian GNU/Linux Sid i686
This problem is related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=849665
Thanks
The text was updated successfully, but these errors were encountered: