Hello
I've a static lib bult with -xAVX. In runtime if CPU has no avx the lib is unused. However this lib presence forces my app to crash. In Link Map file I see ICC generates same mangled name for std calls, but code is different with/without.avx. For example for std::numeric_limits<float>::infinity() the name is __ZNSt14numeric_limitsIfE8infinityEv but it's built with avx instructions. So crash when it's called from non-avx code.
How to solve?
Thx