From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=F6rg?= Krause Date: Wed, 08 Jul 2015 06:54:31 +0200 Subject: [Buildroot] [PATCH 2/2 v2] package/libtirpc: does not build with musl libc In-Reply-To: <20150614231725.6865e1a3@free-electrons.com> References: <20150614231725.6865e1a3@free-electrons.com> Message-ID: <1436331271.3691.4.camel@embedded.rocks> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Thomas, Yann, On So, 2015-06-14 at 23:17 +0200, Thomas Petazzoni wrote: > Dear Yann E. MORIN, > > On Sun, 14 Jun 2015 16:29:06 +0200, Yann E. MORIN wrote: > > Previously-packaged libtirpc version, 0.2.4, did not build with > > musl on > > ARM (see build failures, below) because of missing header > > sys/cdefs.h > > > > Newly-packaged version, 0.3.1, does not build on musl, on ARM for > > the > > same reason as 0.2.4, and on whatever the architecture (ARM > > included) > > because of the extra-missing header sys/queue.h . > > At > http://git.free-electrons.com/users/thomas > -petazzoni/buildroot/log/?h=libtirpc-musl-fix, > I have a patch that makes libtirpc 0.2.4 build fine with musl. > Unfortunately, it breaks glibc build :) > > I think the patch set can be simplified on top of libtirpc 0.3.1, > because: > > * the cdefs.h issue is fixed upstream already: > http://git.linux > -nfs.org/?p=cel/libtirpc.git;a=commit;h=7228a9482b92ff0305f7e7ccd0276 > c638bee1884 > > * the IPPORT_RESERVED issue is also fixed upstream: > http://git.linux > -nfs.org/?p=cel/libtirpc.git;a=commit;h=4d3263ca3b64de8acdcaf71d36bfb > 0eda06b8710 > > So maybe that leaves only the sys/queue.h issue, for which my patch > contains a proposal. > I submitted a patchset for libtirpc 0.2.4 too: http://patchwork.ozlabs.org/patch/468161/ I tested this patchset with eglibc and uClibc. Note there is also another patch for libtirpc in the queue: http://patchwork.ozlabs.org/patch/468160/ Best regards J?rg Krause