Friday, March 17, 2023
HomeGolangX/sys: does it assist linux/sparc64? - Technical Dialogue

X/sys: does it assist linux/sparc64? – Technical Dialogue


Howdy all!

I’ve include a query. At any time when I strive constructing x/sys on linux/sparc64 (with gccgo-12 ofc, as that’s the one supported compiler) I get this error:

golang.org/x/sys/cpu
golang.org/x/sys/unix
# golang.org/x/sys/cpu
/root/go/pkg/mod/golang.org/x/sys@v0.0.0-20200615200032-f1bc736245b1/cpu/cpu.go:17:30: error: reference to undefined identify ‘cacheLineSize’
   17 | kind CacheLinePad struct{ _ [cacheLineSize]byte }
      |                              ^
github.com/matrix-org/dendrite/cmd/kafka-producer
# golang.org/x/sys/unix
/root/go/pkg/mod/golang.org/x/sys@v0.0.0-20200615200032-f1bc736245b1/unix/dirent.go:16:12: error: reference to undefined identify ‘isBigEndian’
   16 |         if isBigEndian {
      |            ^

Wanting by means of the supply for x/sys, I see a number of mentions of sparc. Nevertheless, there are recordsdata for different arches that aren’t there for sparc.

So, what’s inflicting the problem? Is it as a result of x/sys doesn’t assist sparc64? Is it WIP? If that’s the case, what might I do to assist x/sys get full sparc assist?

Or, is that this some drawback with gccgo(which is behind on options in comparison with gc) or one thing wonk with my system?

I recognize your time :^D


This matter was routinely closed 90 days after the final reply. New replies are now not allowed.

RELATED ARTICLES

Most Popular

Recent Comments