Re: [dpdk-dev] Building without AVX2 support, with Clang 11, on Ubuntu 20.04.1

2020-10-20 Thread Bruce Richardson
On Tue, Oct 20, 2020 at 06:49:10PM +0300, Ivan Serdyuk wrote: >It was compiled - but I can't make it run: > > ~/dpdk-20.08/build-clang/app$ ./dpdk-pdump > Illegal instruction (core dumped) > ~/dpdk-20.08/build-clang/app$ ./dpdk-proc-info > Illegal instruction (core dumped)

Re: [dpdk-dev] Building without AVX2 support, with Clang 11, on Ubuntu 20.04.1

2020-10-20 Thread Ivan Serdyuk
It was compiled - but I can't make it run: ~/dpdk-20.08/build-clang/app$ ./dpdk-pdump > Illegal instruction (core dumped) > ~/dpdk-20.08/build-clang/app$ ./dpdk-proc-info > Illegal instruction (core dumped) > ~/dpdk-20.08/build-clang/app$ ./dpdk-test-acl > Illegal instruction (core dumped) > ~/dpd

Re: [dpdk-dev] Building without AVX2 support, with Clang 11, on Ubuntu 20.04.1

2020-10-20 Thread Ivan Serdyuk
On Mon, Oct 19, 2020 at 4:34 PM Bruce Richardson wrote: > On Mon, Oct 19, 2020 at 04:17:36PM +0300, Ivan Serdyuk wrote: > Hi Ivan > Hello, Bruce. > Why are you exporting these CPP and CXX flags? The CXX flags will have no > effect on the DPDK build as it does not use c++ code. > Probably my m

Re: [dpdk-dev] Building without AVX2 support, with Clang 11, on Ubuntu 20.04.1

2020-10-19 Thread Bruce Richardson
On Mon, Oct 19, 2020 at 04:17:36PM +0300, Ivan Serdyuk wrote: > Hi there. > I tried the following: > > export CPPFLAGS=' -stdlib=libc++ ' CXXFLAGS=' -stdlib=libc++ ' > > meson build-clang > > cd build-clang > > ninja -j 4 > > > Hi Ivan Why are you exporting these CPP and CXX flags? The CXX flags