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
Segfault in np.power involving integers and fastmath #9554
Labels
Comments
aseyboldt
changed the title
Invalid code generation for np.power involving integers and fastmath
Segfault in np.power involving integers and fastmath
May 2, 2024
Hi @aseyboldt, Thanks for reporting the issue. I can confirm the same locally on a Could you please provide some additional information like the CPU info,OS version, libm version, whether SVML was installed or not along with the code/logical path that produces the said error. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code segfaults on my machine:
It generates the following llvm code:
Without the
fastmath
it uses@llvm.pow.f64
with no problems.The generated assembly calls
__powidf2
Maybe this is just a variant of this issue, but for some reason I see a segfault instead?
A user also reported seeing the missing symbol error in a related case.
I'm on arch linux, and I see the same problem both with numba from the numba conda channel and from numba installed systemwide from the arch package.
visible in the release notes
(https://numba.readthedocs.io/en/stable/release-notes-overview.html).
i.e. it's possible to run as 'python bug.py'.
The text was updated successfully, but these errors were encountered: