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

Workaround for Linux 32-bit build #173

Merged
merged 1 commit into from
Sep 24, 2019

Conversation

michilu
Copy link
Contributor

@michilu michilu commented Sep 20, 2019

fixes #145

The maximum capacity of the following two slices is limited to (2^29)-1 to remain compatible with 32-bit platforms. The size of a *C.char (a pointer) is 4 Byte on a 32-bit system and (2^29)*4 == math.MaxInt32 + 1.

refs:

@tecbot tecbot merged commit f3d486e into tecbot:master Sep 24, 2019
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

Successfully merging this pull request may close these issues.

Build error on 32-bit ARM (armhf): Ctype_char larger than address space
2 participants