Thanks, Kefu, for pointing me to patch-dpdk-conf.sh. So I'm satisfied
that DPDK is not built with -march=native.
Regarding your suggestion to drop "-march=native" from common_async_dpdk
- I don't know the answer to that because it looks to me that
common_async_dpdk is only built if WITH_DPDK is set (it's off by default).
Anyway, I found that it's SPDK, not DPDK, that is getting built with
-march=native, but if I simply drop that bit, the DPDK build (which is
undertaken as a dependency of SPDK) fails with the error shown at
https://github.com/ceph/ceph/pull/23076#issuecomment-405349066
However, we found that the DPDK build succeeds if SPDK is built with
"-march=core2" so I opened a PR with that as a proposed fix:
https://github.com/ceph/ceph/pull/23078
Reviews welcome (it passes "make check").
Thanks again!
Nathan
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html