Skip to content
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

_mm256_mul_ps segfaults w/ linker options -Wl,-O1 -Wl,--as-needed #11

Closed
lschneiderbauer opened this issue Nov 13, 2022 · 0 comments · Fixed by #14
Closed

_mm256_mul_ps segfaults w/ linker options -Wl,-O1 -Wl,--as-needed #11

lschneiderbauer opened this issue Nov 13, 2022 · 0 comments · Fixed by #14

Comments

@lschneiderbauer
Copy link
Contributor

lschneiderbauer commented Nov 13, 2022

Hi,

I have no idea why this is happening, but when compiling your code w/ the linker options -Wl,-O1 -Wl,--as-needed the program segfaults when executing line 85 in fcwt.cpp:
O8[q4] = _mm256_mul_ps(I8[q4],tmp[0]);.

When omitting those options the code runs fine.

I am on linux 5.15, using gcc 12.2; fftw version 3.3.10.
Any idea what's going on here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant