Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

icc -mmic: Error: `xxx' is not supported on `k1om'

sun_l_
New Contributor I
505 Views

I compile a app with "icc -mmic", and it needs openssl library. So I compile ssl with "icc -mmic", then faild. Maybe it's the problem with perl? I don't know how to do with it, any advise? Thanks!

-------------------------------------

......
icc -I. -I.. -I../include -mmic  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM   -c -o o_init.o o_init.c
icc -I. -I.. -I../include -mmic  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM   -c -o fips_err.o fips_err.c

/usr/bin/perl x86_64cpuid.pl x86_64cpuid.s
icc -I. -I.. -I../include -mmic  -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wall -DMD32_REG_T=int -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -c  -o x86_64cpuid.o x86_64cpuid.s
x86_64cpuid.s: Assembler messages:
x86_64cpuid.s:20: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:21: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:22: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:23: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:24: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:25: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:26: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:27: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:28: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:29: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:30: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:31: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:32: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:33: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:34: Error: `pxor' is not supported on `k1om'
x86_64cpuid.s:35: Error: `pxor' is not supported on `k1om'
make[1]: *** [x86_64cpuid.o] Error 1
make[1]: Leaving directory `/tmp/pkgs/libs/ssl/src/crypto'
make: *** [build_crypto] Error 1

 

0 Kudos
1 Reply
TimP
Honored Contributor III
505 Views

It looks like -mmic was not set when making this .s file, if it was made from architecture neutral source.

note that Michael Hebenstreit  discussed ssl build in his cluster configuration article 2 years ago.

0 Kudos
Reply