Before I dig myself into a hole trying to debug this, hoping someone has a
simple resolution, as in, "You're an idiot, here's what you're doing wrong."
Scenario: WR LTS19 (effectively "zeus" in most respects), someone asked me
to just add "dpdk" to the build, so I whitelisted the meta-dpdk layer that
comes with LTS19, and added the necessary "dpdk_%.bbappend" file to set:
COMPATIBLE_MACHINE = "re-64b" [64-bit Intel variation]
at which point, I just took a shot:
$ bitbake dpdk
to see what would happen (I know *nothing* about dpdk, I was just trying to
satisfy the request to add the basic recipe to the build and see if it
compiled.)
The version that comes with LTS19 is dpdk_18.11.2, and after a bit of
chugging away, I get a compile error (actually, several examples of):
... SNIP ...
|
/builds/rday/builds/wrl19/build/tmp/work/re_64b-poky-linux/dpdk/18.11.2-r0/recipe-sysroot-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/9.2.0/include/smmintrin.h:67:1: error: inlining failed in call to always_inline '_mm_testz_si128': target specific option
mismatch
| 67 | _mm_testz_si128 (__m128i __M, __m128i __V)
| | ^~~~~~~~~~~~~~~
|
/builds/rday/builds/wrl19/build/tmp/work/re_64b-poky-linux/dpdk/18.11.2-r0/git/lib/librte_hash/rte_cmp_x86.h:15:10: note: called from
here
| 15 | return !_mm_test_all_zeros(x, x);
| | ^~~~~~~~~~~~~~~~~~
|
/builds/rday/builds/wrl19/build/tmp/work/re_64b-poky-linux/dpdk/18.11.2-r0/recipe-sysroot-native/usr/lib/x86_64-poky-linux/gcc/x86_64-poky-linux/9.2.0/include/smmintrin.h:67:1: error: inlining failed in call to always_inline '_mm_testz_si128': target specific option
mismatch
| 67 | _mm_testz_si128 (__m128i __M, __m128i __V)
| | ^~~~~~~~~~~~~~~
|
/builds/rday/builds/wrl19/build/tmp/work/re_64b-poky-linux/dpdk/18.11.2-r0/git/lib/librte_hash/rte_cmp_x86.h:15:10: note: called from
here
| 15 | return !_mm_test_all_zeros(x, x);
| | ^~~~~~~~~~~~~~~~~~
|
/builds/rday/builds/wrl19/build/tmp/work/re_64b-poky-linux/dpdk/18.11.2-r0/git/mk/internal/rte.compile-pre.mk:114: recipe for target 'rte_cuckoo_hash.o'
failed
| make[4]: *** [rte_cuckoo_hash.o] Error 1
... SNIP ...
The build system is Ubuntu 16.04.6 LTS, for what it's worth. I have no
idea at the moment what the above represents, and I'm about to start
digging around, unless someone wants to rescue me.
I'm free to upgrade the version of dpdk to whatever I can get off the
current master branch (appears to be dpdk_19.11.5) if that would solve the
problem. In the meantime, I am open to suggestions.
rday
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6850):
https://lists.yoctoproject.org/g/meta-intel/message/6850
Mute This Topic: https://lists.yoctoproject.org/mt/79102522/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-