DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] octeontx_ssovf build issue on clang 6.0
@ 2018-05-08  7:44 Andrew Rybchenko
  0 siblings, 0 replies; only message in thread
From: Andrew Rybchenko @ 2018-05-08  7:44 UTC (permalink / raw)
  To: Santosh Shukla, Jerin Jacob; +Cc: dev

Hi,

dpdk master build fails for me on Ubuntu 18.04 with clang installed. 
I've not tried to dig it.

/tmp/dpdk-next-net/x86_64-native-linuxapp-clang/lib/librte_pmd_octeontx_ssovf.a(timvf_worker.o): 
In functi
on `timvf_timer_cancel_burst':
timvf_worker.c:(.text+0x80): undefined reference to `__atomic_fetch_add_8'
/tmp/dpdk-next-net/x86_64-native-linuxapp-clang/lib/librte_pmd_octeontx_ssovf.a(timvf_worker.o): 
In functi
on `timvf_timer_arm_burst_sp':
timvf_worker.c:(.text+0x224): undefined reference to `__atomic_fetch_add_8'
timvf_worker.c:(.text+0x26f): undefined reference to `__atomic_store_2'
timvf_worker.c:(.text+0x2af): undefined reference to `__atomic_fetch_add_4'
timvf_worker.c:(.text+0x320): undefined reference to `__atomic_store_2'
/tmp/dpdk-next-net/x86_64-native-linuxapp-clang/lib/librte_pmd_octeontx_ssovf.a(timvf_worker.o): 
In functi
on `timvf_timer_arm_burst_mp':
timvf_worker.c:(.text+0x498): undefined reference to `__atomic_fetch_add_8'
timvf_worker.c:(.text+0x525): undefined reference to `__atomic_store_2'
timvf_worker.c:(.text+0x557): undefined reference to `__atomic_fetch_add_4'
timvf_worker.c:(.text+0x5de): undefined reference to `__atomic_store_2'
/tmp/dpdk-next-net/x86_64-native-linuxapp-clang/lib/librte_pmd_octeontx_ssovf.a(timvf_worker.o): 
In functi
on `timvf_timer_arm_tmo_brst':
timvf_worker.c:(.text+0x9ae): undefined reference to `__atomic_fetch_add_8'
timvf_worker.c:(.text+0xbc2): undefined reference to `__atomic_fetch_sub_2'
timvf_worker.c:(.text+0xcf7): undefined reference to `__atomic_fetch_sub_2'
timvf_worker.c:(.text+0xd04): undefined reference to `__atomic_fetch_add_4'
timvf_worker.c:(.text+0xecc): undefined reference to `__atomic_store_2'
timvf_worker.c:(.text+0xed9): undefined reference to `__atomic_fetch_add_4'
clang: fatal error: linker command failed with exit code 1 (use -v to 
see invocation)
make[3]: *** [dpdk-procinfo] Error 1
make[2]: *** [proc-info] Error 2
make[2]: *** Waiting for unfinished jobs....

$ clang --version
clang version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Andrew.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-08  7:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-08  7:44 [dpdk-dev] octeontx_ssovf build issue on clang 6.0 Andrew Rybchenko

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).