-
Notifications
You must be signed in to change notification settings - Fork 48
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
Help with compiling switchml P4 code:internal compile error #38
Comments
Hello, is this problem solved? I also encountered this problem. |
Hi all, I have the same problem when compiling the program with bf-sde-9.12.0. It seems that only the sde, which is 9.9.0, they're using can properly compile their program without errors, but I haven't tried running it on a real hardware switch unit. I don't know why, it's very strange. And here is my error message using bf-sde-9.12.0: $ make SwitchML 1 error, 28 warnings generated. Internal compiler error. Please submit a bug report with your code. |
I am currently compiling switchml.p4 on a programmable switch using the command "p4_build-9.x.y.sh switchml.p4". However, I encountered some issues while compiling the code. The console printed the following messages: The number of P4 compiler-proper Errors is 0, and the number of P4 compiler-proper WARNINGs is 28. The crucial part is that it shows "Internal compiler error. Please submit a bug with your code."
I searched online and found that this could be due to insufficient memory. However, I did not observe any lack of available memory during the actual compilation (e.g., available memory less than 1G). I would like to know how to resolve this issue. Could you please provide some assistance? I sincerely hope to receive your reply. Thanks in advance!@AmedeoSapio
My environment is:
Platform:X308P-T
Switch Unit: intel Tofino 1 BFN-T10-032D
SDE:9.7.4
GCC:debian 6.3.0-18+deb9u1
The text was updated successfully, but these errors were encountered: