I wish I had a small bit of code to demonstrate this, but unfortunately I don't. Wondering if anyone else has run into something similar, though.
Upon compiling with icpc I'm getting many "note" messages and can not see the error.
Is it possible to disable "note" messages ?
I recently tried to build one of my projects (SIMDe) with ICC, and it failed due to __builtin_shuffle not being supported. There are ifdefs around the code in question which use __GNUC__ and __GNUC_MINOR__ to check for GCC ≥ 4.7 before using __builtin_shuffle, but ICC 18.0 masquerades as GCC 7 so the code was enabled.
I'm trying to compile my project for Intel Edison (running Yocto) again on my new computer (MacBook pro - High Sierra). However without success so far. I've tried 2 different things based on this tutorial: https://software.intel.com/en-us/intel-system-studio-iot-edition-guide-f...
"icc18.0.1 -static-intel" links libiomp5 dynamically on Linux x86_64. Work around is to link with explicit path libiomp5.a instead of "-qstatic" linker flag, Unfortunately it breaks the implicitness of our deployment scripts.
In my linux host I have a g++ compiler created with crosstool-ng
This is the g++ I want icpc to use, not the default one.
So I ran:
export SYSROOT= /my_toolchain/release/x86_64-unknown-linux-gnu/sysroot
The GXX_ROOT contains the g++ compiler: x86_64-unknown-linux-gnu-g++