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

Bison 3.7 fails #290

Open
certik opened this issue Aug 15, 2022 · 4 comments
Open

Bison 3.7 fails #290

certik opened this issue Aug 15, 2022 · 4 comments

Comments

@certik
Copy link
Contributor

certik commented Aug 15, 2022

Original issue: https://gitlab.com/lfortran/lfortran/-/issues/259

For some reason, Bison 3.7 fails to build our parser:

+ bison -Wall -d -r all parser.yy
time limit exceeded: 6.000000
time limit exceeded: 6.000000
time limit exceeded: 6.000000
time limit exceeded: 6.000000
time limit exceeded: 6.000000
time limit exceeded: 6.000000
time limit exceeded: 6.000000
^C

The last version that is known to work is Bison 3.4.

@thierry-FreeBSD
Copy link
Contributor

Same with bison 3.8.2.

@certik
Copy link
Contributor Author

certik commented Oct 31, 2022

@thierry-FreeBSD I have no idea why it does it. To debug it, we can simply use "bisection" to manually figure out the smallest Bison file that still fails and then we should report it to Bison as a bug, assuming it's a bug in Bison.

If there is any work around that we could use, that would be great.

@thierry-FreeBSD
Copy link
Contributor

@certik Fortunately, with bison 3.8.2 it is only a warning, and the build continues.

Everything seems OK, but one test fails with an error very similar to #509 .

@certik
Copy link
Contributor Author

certik commented Nov 1, 2022

Are you on FreeBSD? Guessing from your handle. :)

I think FreeBSD might have similar issues as OpenBSD, so we can do similar fixes.

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