-
Notifications
You must be signed in to change notification settings - Fork 245
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
Valgrind reports unhandled instruction #1677
Comments
I'm bad at valgrind -- do I understand it correctly that the unrecognized instruction is in |
What CFLAGS were used when you compiled it with 3.0.1, and what CFLAGS are being used now? Are they the same or not? |
Yes, it pritnt a backtrace of calls, the top line is the inner call in the stack |
Unless @langefa changed something, it is should be by default, and the flags should be the same. We only pass paths to gmp and mpfr |
Okay, so the default CFLAGS where changes some time after that. We increased the optimization level from |
Is there any recomended way to force specific CFLAGS? I will force their usage in FUEL, so that @langefa can retry (I have not seen the error message) |
Assuming you are using Make to build FLINT, yes. For instance,
will set CFLAGS to |
@albinahlback , thank ypu |
The CFLAGS are indeed the culprit. |
What is the resolution then? Nothing wrong here in flint, the issue can be closed? |
This is a common problem with valgrind. Before closing the issue, we should add a section to the FLINT docs on using |
I see, then it's good we reported it. |
The system you built this for, does it support AVX512? I seem to disassemble the instruction to |
Yes, it does. Thanks for digging into this! |
Superseded by #2092. |
When running Valgrind on an example for the FUEL library (https://gitlab.com/feynmanintegrals/fuel), it encounters an unhandled instruction:
This did not happen with v3.0.1. However, to fix #1652, FUEL was updated to commit 3ef8253. I checked that the problem persists with the most recent commit 2318e1b in trunk.
I noticed this in the context of looking into a memory leak in FUEL, see https://gitlab.com/feynmanintegrals/fuel/-/issues/1 and #1676.
The text was updated successfully, but these errors were encountered: