On 27/06/18 18:41, Maxim Uvarov wrote:
> Ubuntu 14.04.5 which I run in container uses gcc 4.8 but on host I use more
> fresh Ubuntu kernel compiled with stack protector. That makes dpdk modules
> not compatible.  But it's not clear why dpdk modules inherit kernels
> compiler options. Is there any workaround for that?

- Check which gcc was used when compiling kernel
- Use that gcc version instead of default one.

Or:

- Disable IGB kernel module in DPDK .config

>   LD
> /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/built-in.o
>   CC [M]
> /root/dpdk/x86_64-native-linuxapp-gcc/build/lib/librte_eal/linuxapp/igb_uio/igb_uio.o
> gcc: error: unrecognized command line option '-fstack-protector-strong'
-- 
With best wishes
Dmitry

Reply via email to