Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: x86 32-bit support? #32

Open
arthepsy opened this issue Jan 13, 2023 · 1 comment
Open

question: x86 32-bit support? #32

arthepsy opened this issue Jan 13, 2023 · 1 comment

Comments

@arthepsy
Copy link

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
@mzz2017
Copy link
Owner

mzz2017 commented Feb 10, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants