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

Compilation of 5G NR Software

MNaga17
Beginner
826 Views

Hi 

When executing l1 Application after compilation of 5GNR Software with ICC compiler. I am getting core dump(Illegal Instruction) error. 
./l1.sh: line 111: 9280 Illegal instruction (core dumped) ./l1app table 0 1 --cfgfile=phycfg_timer.xml

Please find the output of l1.sh script :

root@KNode2:/home/techm/Desktop/5G_FlexRAN/bin/nr5g/gnb/l1# ./l1.sh

AnonHugePages:        0 kB

ShmemHugePages:       0 kB

HugePages_Total:      0

HugePages_Free:       0

HugePages_Rsvd:       0

HugePages_Surp:       0

Hugepagesize:      2048 kB

none on /mnt/huge type hugetlbfs (rw,relatime,mode=777,pagesize=2M)

9255

kernel.sched_rt_runtime_us = -1

kernel.shmmax = 2147483648

kernel.shmall = 2147483648

TIMER / UE Emulator Mode

Command String =

using configuration file phycfg_timer.xml

>> Running... ./l1app table 0 1 --cfgfile=phycfg_timer.xml

./l1.sh: line 111: 9280 Illegal instruction    (core dumped) ./l1app table 0 1 --cfgfile=phycfg_timer.xml

Cleanup after [PID] 9255

rm: cannot remove '/mnt/huge/*': No such file or directory

 

 

 

t

 lscpu

Architecture:     x86_64

CPU op-mode(s):    32-bit, 64-bit

Byte Order:      Little Endian

CPU(s):        4

On-line CPU(s) list: 0-3

Thread(s) per core:  1

Core(s) per socket:  4

Socket(s):      1

NUMA node(s):     1

Vendor ID:      GenuineIntel

CPU family:      6

Model:        60

Model name:      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz

Stepping:       3

CPU MHz:       1995.582

CPU max MHz:     3000.0000

CPU min MHz:     800.0000

BogoMIPS:       3991.16

Virtualization:    VT-x

L1d cache:      32K

L1i cache:      32K

L2 cache:       256K

L3 cache:       6144K

NUMA node0 CPU(s):  0-3

Flags:        fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts flush_l1d

 

dmesg output:

[ 884.946811] do_trap: 18 callbacks suppressed

[ 884.946813] traps: l1app[3659] trap invalid opcode ip:435c08

sp:7ffe5f010e80 error:0 in l1app[400000+518000]

 

gdb output:

$gdb node core.9280

GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.5) 7.11.1

Copyright (C) 2016 Free Software Foundation, Inc.

License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. Type "show copying"

and "show warranty" for details.

This GDB was configured as "x86_64-linux-gnu".

Type "show configuration" for configuration details.

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>.

Find the GDB manual and other documentation resources online at:

<http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".

Type "apropos word" to search for commands related to "word"...

node: No such file or directory.

[New LWP 9280]

Core was generated by `./l1app table 0 1 --cfgfile=phycfg_timer.xml'.

Program terminated with signal SIGILL, Illegal instruction.

#0 0x0000000000435c08 in ?? ()

 

 >thread apply all backtrace

 

Thread 1 (LWP 9280):

#0 0x0000000000435c08 in ?? ()

#1 0x0000000000000084 in ?? ()

#2 0x0000000000407200 in ?? ()

#3 0x0000000000b197c0 in ?? ()

#4 0x00007efd265fd299 in ?? ()

#5 0x0000000000000052 in ?? ()

#6 0x0000000000000084 in ?? ()

#7 0x0000000000000084 in ?? ()

#8 0x00000000007406dd in ?? ()

#9 0x0000000000000000 in ?? ()

 

0 Kudos
1 Reply
Viet_H_Intel
Moderator
826 Views

Looks like the application has instructions which aren't supported on this processor.  

0 Kudos
Reply