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

Compiling for 32bit architecture #27

Open
mozey opened this issue Mar 23, 2021 · 1 comment
Open

Compiling for 32bit architecture #27

mozey opened this issue Mar 23, 2021 · 1 comment

Comments

@mozey
Copy link

mozey commented Mar 23, 2021

When I try to compile for GOARCH=386, I get the compile errors below. For now I'll just use amd64 instead. Is it possible to also support 386?

# github.com/blastrain/vitess-sqlparser/tidbparser/dependency/mysql
vendor/github.com/blastrain/vitess-sqlparser/tidbparser/dependency/mysql/const.go:503:2: constant 2147483648 overflows SQLMode
vendor/github.com/blastrain/vitess-sqlparser/tidbparser/dependency/mysql/const.go:504:2: constant 4294967296 overflows SQLMode
vendor/github.com/blastrain/vitess-sqlparser/tidbparser/dependency/mysql/util.go:44:19: constant 4294967295 overflows int
vendor/github.com/blastrain/vitess-sqlparser/tidbparser/dependency/mysql/util.go:45:19: constant 4294967295 overflows int
@mozey mozey changed the title Compiling for Compiling for 32bit architecture Mar 23, 2021
@mozey
Copy link
Author

mozey commented Mar 23, 2021

Fixing this probably requires changing int to int64 in a couple of places?

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

1 participant