-
Notifications
You must be signed in to change notification settings - Fork 918
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
Why the default optimization level of f-stack is O0? #711
Comments
I don't meet the error with O2. |
Are you sure that you are setting the optimization level of dpdk library instead of the application code? When I change the optimization level in libs/Makefile, there would be crashes. |
Sorry, I can't meet any error in running. But I meet many errors in the compiler procedure. I change some compiler's options and some src code. And make it compile successfully. |
I also encounter compiiler errors and need to change the codes when using O2. By the way, did you comment out "FF_INET6=1"? Could you kindly share one fork of the f-stack codes with O2 enabled? Thanks! |
After some changes to the sources of f-stack, currently I can also avoid errors in runtime. |
Because release 1.22 and after not stable enough now, may need frequent debugging,so enable -O0 by default. And it's enable -O2 by default in release 1.21(LTS).When the latest version is stable, it will be modified to -O2 by default. You can comment out this line in |
Will there be any bugs if using higher optimization level?
The text was updated successfully, but these errors were encountered: