> On May 25, 2015, at 6:01 PM, Andy Polyakov <[email protected]> wrote:
> 
>> Yes, I added a new target "linux-mic" into Configure, which is slightly 
>> modified from "linux-generic64".
>> 
>> From the original patch:
>> 
>> (...)
>> "linux-generic64","gcc:-DTERMIO -O3 
>> -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT 
>> DES_UNROLL 
>> BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>> +"linux-mic","icc:-mmic -DTERMIO -O3 
>> -Wall::-D_REENTRANT::-ldl:SIXTY_FOUR_BIT_LONG RC4_CHAR RC4_CHUNK DES_INT 
>> DES_UNROLL 
>> BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
>> (...)
> 
> But what prevents you from 'env CC=icc ./Configure linux-generic64
> -mmic'? Or same with linux-x86_64? Can you confirm if './Configure
> linux-x86_64-icc -mmic' works in 1.0.2?

'CC="icc -mmic" ./Configure shared linux-generic64' works in 1.0.0. It's better 
than modifying Configure. I just didn't think of it. 

But it doesn't work in 1.0.2, getting some link error:
../libcrypto.so: undefined reference to `rc4_md5_enc'

And linux-x86_64 won't work here, since it uses some instructions not supported 
by MIC. 


Lei

_______________________________________________
openssl-dev mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev

Reply via email to