I've just updated to 11.0 from 9.0 under Linux (Debian 4.0)/intel64 and PCH support doesn't seem to work any longer. Even in the simplest example with an empty header file header.hpp and 2 files src1.cpp and src2.cpp including and containing an empty main() in src1.cpp and nothing else at all in src2.cpp I get this:
% icpc -pch-create src.pch -Wall -c -o src1.o src1.cpp && icpc -pch-use src.pch -Wall -c -o src2.o src2.cpp && icpc -o src src.o
"src1.cpp": creating precompiled header file "src.pch"
Warning #677: memory usage conflict with precompiled header file "src.pch"
And the PCH is not used. Does anybody know what does this "memory usage conflict" mean exactly and how to avoid it?
I've found an advice to remove the stack size limit (ulimit -s unlimited) to fix this but it doesn't change anything for me. Nor does using (or not) #pragma hdrstop nor using plain -pch nor doing just about anything else I could think about.
Am I doing something horribly wrong or is PCH support really broken in this compiler version?
Thanks in advance for any help!