DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Build KNI module failed
@ 2021-04-27  9:42 Joakim Zhang
  2021-04-30 12:17 ` Juraj Linkeš
  2021-04-30 13:54 ` Juraj Linkeš
  0 siblings, 2 replies; 4+ messages in thread
From: Joakim Zhang @ 2021-04-27  9:42 UTC (permalink / raw)
  To: users, dev


Hi guys,

Is there anyone met gcc build error when build KNI module on Ubuntu to cross build ARM64?
I tried both gcc-linaro-6.5.0-2018.12-x86_64_aarch64-linux-gnu and gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu.

The error log as below, any comments would be appreciated! Thanks a lot! 
== Build kernel/linux/kni
  CC [M]  /home/zqq/dpdk/arm64-dpaa-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mstack-protector-guard=sysreg'; did you mean '-fstack-protector-strong'?
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mstack-protector-guard-reg=sp_el0'; did you mean '-fstack-protector-all'?
aarch64-linux-gnu-gcc: error: unrecognized command line option '-mstack-protector-guard-offset=1096'; did you mean '-fstack-protector-strong'?
scripts/Makefile.build:279: recipe for target '/home/zqq/dpdk/arm64-dpaa-linuxapp-gcc/build/kernel/linux/kni/kni_misc.o' failed

I search the source code, have not found these gcc command line options.

Best Regards,
Joakim Zhang


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-06  7:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27  9:42 [dpdk-dev] Build KNI module failed Joakim Zhang
2021-04-30 12:17 ` Juraj Linkeš
2021-04-30 13:54 ` Juraj Linkeš
2021-05-06  5:17   ` Joakim Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).