[dpdk-dev] Compiling DPDK 17.02 using musl instead of glibc

2017-03-14 Thread Raphael Cohn
Hi, I've managed to compile DPDK 17.02 for musl instead of glibc. In essence, I had to change a number of files. I've not prepared a patch at this stage, but I wanted to share my changes with the list so that others can benefit. Firstly, I apply the following minor sed edits:- # Assumes glib

[dpdk-dev] Changes to DPDK 17.02 to cross compile for Linux on Mac OS X

2017-03-14 Thread Raphael Cohn
Hi, If anyone's interested, there are a few small changes needed to pmdinfogen to get it to cross-compile using Homebrew on Mac OS X. These aren't really patch worthy, as my changes will break it for other BSD-based systems. Firstly local libelfPrefix="$(brew --prefix libelf)" loc

[dpdk-dev] Compiling DPDK 17.02 with a Busybox-based tar

2017-03-14 Thread Raphael Cohn
Hi, To compile DPDK on a system with Busybox tar installed, it's necessary to make a small change to the build system:- sed -i -e '/--keep-newer-files/d' mk/rte.sdkinstall.mk sed -i -e 's;--strip-components=1 \\;--strip-components=1;g' mk/ rte.sdkinstall.mk I'm not sure whether the impac

Re: [dpdk-dev] Compiling DPDK 17.02 with a Busybox-based tar

2017-03-14 Thread Raphael Cohn
minimal. Likewise, Aboriginal Linux uses Busybox (and, shortly, Toybox), for similar reasons. It also means users of my rust crate can work in a wider range of systems than RHEL / Ubuntu. On 14 March 2017 at 09:39, Thomas Monjalon wrote: > 2017-03-14 07:58, Raphael Cohn: > > Hi, > >

[dpdk-dev] Cross-compile bug: buildtools/check-experimental-syms.sh

2018-03-30 Thread Raphael Cohn
Hi, I'm getting back into using DPDK after a break of about a year, and have tried to compile it again to run on Linux with the musl libc; I'm cross-compiling using a Mac and and a suitable cross toolchain (that works find for lots of other libraries; eg libverbs, rdma-core, etc). One of the firs