Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6759 Discussions

Issues using ipp crypto 2018 update 1 with linux gcc

wilson__mike
Beginner
777 Views

Using the following:

gcc --version
gcc (Debian 6.3.0-18) 6.3.0 20170516

Have been able to build and run ipp apps with no problem.

Using the crypto standalone product, trying to build the ippcp getting started app: https://software.intel.com/en-us/ipp-crypto-dev-guide-building-intel-ipp-cryptography-applications

command line:

gcc -I /opt/intel/ippcp/include -L /opt/intel/ippcp/lib/intel64 -lippcp -o testippcp ippcp.cc

Results in in segmentation fault. Please advise.

Gdb:

$ gdb ./testippcp 
...
(gdb) run
Starting program: /home/mike/src/ipptest/testippcp 

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7de886a in call_init (l=0x2020800, argc=argc@entry=1, argv=argv@entry=0x7fffffffe108, 
    env=env@entry=0x7fffffffe118) at dl-init.c:58
58	dl-init.c: No such file or directory.

Strace:

$ strace ./testippcp
...
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb18f6e1000
arch_prctl(ARCH_SET_FS, 0x7fb18f6e1b40) = 0
mprotect(0x7fb18f2b0000, 16384, PROT_READ) = 0
mprotect(0x7fb18ed0d000, 4096, PROT_READ) = 0
mprotect(0x7fb18ef15000, 4096, PROT_READ) = 0
mprotect(0x7fb18f4d1000, 4096, PROT_READ) = 0
mprotect(0x55661e4bb000, 4096, PROT_READ) = 0
mprotect(0x7fb18f6fe000, 4096, PROT_READ) = 0
munmap(0x7fb18f6e3000, 107741)          = 0
brk(NULL)                               = 0x55661f0d1000
brk(0x55661f0f2000)                     = 0x55661f0f2000
open("/opt/intel/ippcp/lib/intel64/libippcpe9.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\272\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=2161405, ...}) = 0
mmap(NULL, 4118064, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb18e61b000
mprotect(0x7fb18e805000, 2097152, PROT_NONE) = 0
mmap(0x7fb18ea05000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1ea000) = 0x7fb18ea05000
close(3)                                = 0
mprotect(0x7fb18ea05000, 4096, PROT_READ) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1020908} ---
+++ killed by SIGSEGV +++
Segmentation fault

 

 

 

 

0 Kudos
3 Replies
Chao_Y_Intel
Moderator
777 Views

HI, Mike, 
What's your processor in your test system? 

Regards,
Chao

0 Kudos
wilson__mike
Beginner
777 Views

Hi Chao, using AMD FX(tm)-4300 Quad-Core Processor

Don't worry I this is just a test system, we use only genuine Intel for production :)

The IPP 2018 update 1 seems to be compatible with this processor. Also earlier versions of IPP + crypto have worked.

Thanks,

--Mike

0 Kudos
Chao_Y_Intel
Moderator
777 Views

thanks, Mike.  We will have some further check on this. 

0 Kudos
Reply