Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
9 Views

xopintrin.h and fma4intrin.h linker error

Jump to solution

I'm getting a long range of udefined identifier errors:

/usr/lib/gcc/x86_64-linux-gnu/4.9/include/xopintrin.h(444): error: identifier "__builtin_ia32_vpcomleud" is undefined
    return (__m128i) __builtin_ia32_vpcomleud ((__v4si)__A, (__v4si)__B);

All the errors are related to either xopintrin.h or fma4intrin.h and all are of the pattern "__builtin_ia32_XXXXX" is undefined

gcc4.9, gcc4.8 and clang3.4 compiles the codebase just fine. icpc also works on a simple HelloWorld test and some basic sin/log ops.

I'm using icpc v14 trial edition on Ubuntu v14.04. My build system is cmake2.8.12.

0 Kudos

Accepted Solutions
Highlighted
Black Belt
9 Views
I've noticed that icpc isn't compatible with g++ 4.9. If that's the problem you're running into, you should make g++ 4.8 or 4.7 active when building or running with icpc.

View solution in original post

0 Kudos
2 Replies
Highlighted
Black Belt
10 Views
I've noticed that icpc isn't compatible with g++ 4.9. If that's the problem you're running into, you should make g++ 4.8 or 4.7 active when building or running with icpc.

View solution in original post

0 Kudos
Highlighted
Beginner
9 Views

changed the gcc/g++ symbolic links from gcc-4.9 to gcc-4.8 and now it seems to work. thank you!

0 Kudos