mnemosyne-gcc icon indicating copy to clipboard operation
mnemosyne-gcc copied to clipboard

-O3 triggers undefined reference to `_ITM_WM256'

Open pramalhe opened this issue 6 years ago • 3 comments

Hi, Is the -O3 compilation flag supported for building examples and user programs with Mnemosyne? On g++-7.2 when I turn on -O3 I get this compilation error: undefined reference to `_ITM_WM256'

-O0 works fine.

pramalhe avatar Nov 15 '17 14:11 pramalhe

hmm, when we originally developed the Mnemosyne TM runtime for the Intel Compiler, I don't recall whether the compiler ABI defined this method (_ITM_WM256). Looks like the ABI has been extended to include barriers for 256bit word sizes.

hvolos avatar Nov 15 '17 16:11 hvolos

I have not seen this method before.

snalli avatar Nov 16 '17 14:11 snalli

Commit 0aba64635de71b47e786286bfffa64a67eee1948 adds support for AVX 256-bit type __m256

hvolos avatar Nov 16 '17 23:11 hvolos