fastlib / fCWT

The fast Continuous Wavelet Transform (fCWT) is a library for fast calculation of CWT.
Apache License 2.0
283 stars 55 forks source link

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

Closed lschneiderbauer closed 1 year ago

lschneiderbauer commented 2 years ago

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?