From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f175.google.com (mail-ob0-f175.google.com [209.85.214.175]) by dpdk.org (Postfix) with ESMTP id 93A59CD2A for ; Fri, 1 May 2015 02:15:32 +0200 (CEST) Received: by obcux3 with SMTP id ux3so56615896obc.2 for ; Thu, 30 Apr 2015 17:15:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=h1hxRwpFomxXp09m3/WD7DGCEDWNQEYTx8LbVUNxgl8=; b=iQrSsQj6vKKlNcQaByxNS2ppkpc+eeg923dXRgwH5+vZfee8+JceOR229bRLPD64r6 Z6jiyiN2u9KNT9ppv1MrWAPG/B0lD69KtjwvqWI68Igt/DCtovwuXKWqN8drdeDqRksV DOkfi63UfFG3kM8cYjxVp+m1Xkv5VHxst2XfOmKGmrKhxXYRpWHobrOm2TlwnS/v7IST z2yJmuqLMfe254JJsM2Rxau2B4CA1vnWrrzjIO3ZyF+P1B00xkyfj+nOw7tT7N+1FiYQ rVl1aghlIWs2EIfU84LoF3K+oHWblfMfIMnM5TcCxAhlVyI9WK3fTRjd8uWsqBzdyrah nnvA== MIME-Version: 1.0 X-Received: by 10.182.213.98 with SMTP id nr2mr5626114obc.76.1430439331865; Thu, 30 Apr 2015 17:15:31 -0700 (PDT) Received: by 10.202.179.195 with HTTP; Thu, 30 Apr 2015 17:15:31 -0700 (PDT) In-Reply-To: <20150430160038.GA5462@hmsreliant.think-freely.org> 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> Date: Thu, 30 Apr 2015 17:15:31 -0700 Message-ID: From: Ravi Kerur To: Neil Horman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v7 1/6] Move common functions in eal_thread.c X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2015 00:15:33 -0000 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 > > > > > > >