GOARM=7 GOOS=linux GOARCH=arm go build -ldflags “-R 65536” cat.go
Set address rounding quantum.
So seems it’s just a work around. In fact, the page size is still 4K and the over bound will not trigger exception since the boundary is 64K aligned.
GOROOT_BOOTSTRAP=~/go/ GOARM=7 GOOS=linux GOARCH=arm ./bootstrap.bash
The above generated go binary which still can’t work in 64K page wd my cloud device even set Pagesize=64K in go source code (There must be something missed)
OK. Wrap up the work and wait util the upstream to fix it…