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
Verilator fails to build with flex-2.6.2 #1103
Comments
Original Redmine Comment Looks like this is a known Flex bug: |
Original Redmine Comment
|
Original Redmine Comment The Flex team seems to have terrible regression process, as they break something obvious every few years. Anyhow there's a few dozen comments like that in the two .l files, verilog.l and V3PreLex.l. Can you confirm it works if you remove the comments which match "//.*'"? |
Original Redmine Comment I speculate there's only two places that hit their bug, try this patch. |
Original Redmine Comment flex-2.6.2 seems to have other issues besides // comment parsing, I suggest giving up on trying to get it to work and waiting for the upstream to fix this. If there's a way to blacklist flex-2.6.2 in the configure script that would be nice. |
Original Redmine Comment Unfortunately I've already reverted flex to 2.6.1 system-wide, Do you really think replacing all // comments with /**/ is the way to go? |
Original Redmine Comment I'll speculate it's those two lines and commit that, besides I expect the flex team will fix it soon. Please reopen if you or anyone try 2.6.2 again. Fixed in git towards 3.889. |
Original Redmine Comment In 3.890. |
Author Name: Sergey Kvachonok (@ravenexp)
Original Redmine Issue: 1103 from https://www.veripool.org
The text was updated successfully, but these errors were encountered: