From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ravi Kerur Subject: Re: [PATCH v7 1/6] Move common functions in eal_thread.c Date: Thu, 30 Apr 2015 17:15:31 -0700 Message-ID: References: <20150425123241.GB26734@neilslaptop.think-freely.org> <20150425130214.GA28043@neilslaptop.think-freely.org> <20150427134435.GD17179@hmsreliant.think-freely.org> <20150428193516.GB26098@hmsreliant.think-freely.org> <20150429100401.GA32154@hmsreliant.think-freely.org> <20150430160038.GA5462@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Cc: "dev-VfR2kkLFssw@public.gmane.org" To: Neil Horman Return-path: In-Reply-To: <20150430160038.GA5462-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Thu, Apr 30, 2015 at 9:00 AM, Neil Horman wrote: > On Wed, Apr 29, 2015 at 10:47:04AM -0700, Ravi Kerur wrote: > > > > I tried to run validate-abi.sh on BSD but ran into errors. If there > is a > > > > way to check against BSD please let me know. > > > > > > > The ABI checker should work on BSD as far as I know, since it only > relies > > > on > > > dwarf information in the output binary. What errors are you seeing? > > > > > > > dpdk-bsd:/home/rkerur/dpdk-validate-abi-1/dpdk # sh > > ./scripts/validate-abi.sh v2.0.0-rc3 v2.0.0-abi > x86_64-native-bsdapp-clang > > mktemp: illegal option -- p > Ah, bsd mktemp doesn't support the -p option. I'll see if I can fix that. > I think there are couple of other issues I found freeBSD sed is different from Linux (GNU sed) and I get following errors with the script "sed 1 command c expects \ followed by text". I have to use gsed (GNU sed) in freeBSD to get rid of that error and similarly freeBSD uses gmake instead of make. I have made those minor changes and sending them with this email as an attachment. > > usage: mktemp [-d] [-q] [-t prefix] [-u] template ... > > mktemp [-d] [-q] [-u] -t prefix > > Cant find abi-compliance-checker utility > > > > abi-compliance-checker is installed as shown below. > > > > dpdk-bsd:/home/rkerur/dpdk-validate-abi-1/dpdk # pkg install > > devel/abi-compliance-checker > > Updating FreeBSD repository catalogue... > > FreeBSD repository is up-to-date. > > All repositories are up-to-date. > > Checking integrity... done (0 conflicting) > > The most recent version of packages are already installed > > > > Whats the path for abi-compliance checker there? It would seem that the > binary > isn't in your path, as which isn't locating it. > I am using regular freeBSD port install which doesn't install in any /usr/bin or /usr/local/bin. I finally decided to install both abi-dumper and abi-compliance-checker from source, compile and install it in correct directory. Above error is fixed after that, however, abi utilities use "eu-readelf" and I can't find that utility to install in freeBSD. I get following errors ERROR: can't find "eu-readelf" command freeBSD has only readelf. Please let me know if there is a way to get rid of this error. Thanks, Ravi > > > > > > > Neil > > > > > > >