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

Fix build for ARM 32 bit #3129

Merged
merged 2 commits into from
Sep 10, 2019
Merged

Fix build for ARM 32 bit #3129

merged 2 commits into from
Sep 10, 2019

Conversation

juagargi
Copy link
Contributor

@juagargi juagargi commented Sep 10, 2019

ANTLR had a problem with ARM 32:
antlr/antlr4#1858

So we take v4.7.2 of ANTLR which fixes the issue.

Also use AS and ISD types for Max constants.


This change is Reviewable

Antl had a problem with ARM 32:
antlr/antlr4#1858

So picking the commit of antlr where the PR scionproto#1990 was merged.

Also casting a constant to uint64 (see default type of an untyped constant
https://golang.org/ref/spec#Constants ).
Copy link
Collaborator

@lukedirtwalker lukedirtwalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved

@lukedirtwalker lukedirtwalker changed the title Patch for ARM 32 build. Fix build for ARM 32 bit Sep 10, 2019
@lukedirtwalker lukedirtwalker merged commit 49267ac into scionproto:master Sep 10, 2019
@juagargi juagargi deleted the arm32 branch September 10, 2019 13:59
juagargi added a commit to netsec-ethz/scion that referenced this pull request Sep 10, 2019
ANTLR had a problem with ARM 32:
antlr/antlr4#1858

So we take v4.7.2 of ANTLR which fixes the issue.

Also use AS and ISD types for Max constants.
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.

2 participants