mzz2017/gg

question: x86 32-bit support?

Opened this issue · 1 comments

Hey. Is 32-bit support planned?

Currently, I get this output (see below), when building. Looks like it's due to missing 32-bit syscall implemetation.

# GOARCH=386 go build
# github.com/mzz2017/gg/tracer
tracer/stop_handler.go:31:10: undefined: inst
tracer/stop_handler.go:33:15: undefined: syscall.SYS_SOCKET
tracer/stop_handler.go:40:16: undefined: returnValueInt
tracer/stop_handler.go:73:19: undefined: returnValueInt
tracer/stop_handler.go:93:10: undefined: arguments
tracer/stop_handler.go:94:9: undefined: inst
tracer/stop_handler.go:102:15: undefined: syscall.SYS_SOCKET
tracer/stop_handler.go:104:31: undefined: inst
tracer/stop_handler.go:105:15: undefined: syscall.SYS_CONNECT
tracer/stop_handler.go:105:36: undefined: syscall.SYS_SENDTO
tracer/stop_handler.go:105:36: too many errors

Unfortunately, x86 32-bit may have some register or instruction compatibility problem.