[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] coreutils: fix build with uClibc
From: |
Pádraig Brady |
Subject: |
Re: [PATCH] coreutils: fix build with uClibc |
Date: |
Tue, 14 Jan 2014 18:57:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 01/14/2014 06:53 PM, Baruch Siach wrote:
> Hi Pádraig,
>
> On Tue, Jan 14, 2014 at 05:46:50PM +0000, Pádraig Brady wrote:
>> I noticed this issue from:
>> http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/73294
>>
>> I've not tested the following on uclibc, but does the attached patch fix it?
>> (you just need to patch the m4/spawn_h.m4 file in coreutils to test this)
>
> I guess it should fix the problem, but it would be better to fix uClibc. The
> posix_spawn feature is not present yet in any released version of uClibc,
> only
> in the development tree. My proposed uClibc patch
> (http://article.gmane.org/gmane.comp.lib.uclibc.general/23700) moves
> posix_spawn to libc for compatibility with glibc.
OK great. I'll hold applying this so until the outcome of that is decided.
> The direct cause of build failure at
> http://autobuild.buildroot.net/results/ab1/ab1250c3d402ec3fbaf22eeffd07de218ffafb22/build-end.log
>
> though, is not the mis-detection of posix_spawn, but that for some reason the
> alternative gnulib implementation doesn't see the members of the
> posix_spawn_file_actions_t struct. I have not figured out how this happens.
thanks,
Pádraig.