From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id AC5281B108 for ; Thu, 4 Oct 2018 11:15:30 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Oct 2018 02:15:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,338,1534834800"; d="scan'208";a="78398980" Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.237.220.113]) ([10.237.220.113]) by orsmga007.jf.intel.com with ESMTP; 04 Oct 2018 02:15:16 -0700 To: Thomas Monjalon Cc: dev@dpdk.org, Bruce Richardson , dpdk@stormmq.com References: <20180928152542.GA13528@bricha3-MOBL.ger.corp.intel.com> <4554492.8HEKYBzYmn@xps> From: "Burakov, Anatoly" Message-ID: <0ee1b3da-ae21-5878-68ee-bc6ecdc13bc8@intel.com> Date: Thu, 4 Oct 2018 10:15:15 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <4554492.8HEKYBzYmn@xps> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 0/7] Improve core EAL musl compatibility X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Oct 2018 09:15:31 -0000 On 03-Oct-18 11:56 PM, Thomas Monjalon wrote: > 28/09/2018 17:25, Bruce Richardson: >> On Wed, Aug 29, 2018 at 12:56:14PM +0100, Anatoly Burakov wrote: >>> This patchset fixes numerous issues with musl compatibility >>> in the core EAL libraries. It does not fix anything beyond >>> core EAL (so, PCI driver is still broken, so are a few other >>> drivers), but it's a good start. >>> >>> Tested on container with Alpine Linux. Alpine dependencies: >>> >>> build-base bsd-compat-headers libexecinfo-dev linux-headers numactl-dev >>> >>> For numactl-dev, testing repository needs to be enabled: >>> >>> echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories >>> >>> If successful (using a very broad definition of "success"), >>> the build should fail somewhere in PCI bus driver in UIO. >>> >> >> Disabling the kernel drivers, I get a build of EAL and the other libraries >> to compile as static libraries. However, shared library builds - and >> therefore meson builds fail due to missing backtrace function when linking. >> There is still work to do here, but this does fix a number of build errors >> on alpine. >> >> Acked-by: Bruce Richardson > > I see this error with meson GCC-8.2 static: > examples/ip_pipeline/conn.c:11: error: "__USE_GNU" redefined > Why are we defining these? __USE_GNU is defined by and isn't supposed to be defined/undefined by the user in the first place. -- Thanks, Anatoly