[PATCH 05/10] Remove __need macros from errno.h (__need_Emath, __need_error_t).

Florian Weimer fweimer@redhat.com
Thu May 11 14:48:00 GMT 2017


On 05/11/2017 02:15 PM, Zack Weinberg wrote:
> On Wed, May 10, 2017 at 8:03 AM, Florian Weimer <fweimer@redhat.com> wrote:
>> However, I still think that the NaCl port should be aligned with the rest of
>> glibc in this regard, and that Zack's cleanup should not introduce a new
>> extension point for it.  Particularly since we don't have a working port
>> right now which would exercise this functionality, so it's likely to be
>> broken anyway.
> 
> What would you have me do with sysdeps/nacl/errnos.awk, then?

Maybe add a comment that this needs adjustment?

I expect that there is probably similar bit rot within the NaCl port 
elsewhere.

> (If the NaCl port doesn't work, should we just discard it altogether?
> I see value in keeping a non-Linux port around, but there are rumors
> to the effect that Google has abandoned NaCl[1] so maybe not _this_
> one...)
> [1] https://bugs.chromium.org/p/chromium/issues/detail?id=239656#c160
> "Pepper and NaCl are destaffed."

They still ship a NaCl SDK for Chrome, but it's Clang-based now, so it 
can't be used to compile glibc.  The NaCl GCC port has never been 
upstreamed.  There are patches somewhere for GCC versions otherwise 
supported to build glibc (late GCC 4.x versions), but if we probably 
should move to GCC 5 as a minimum version soon (because the 4.x branches 
are all dead upstream), and then there wouldn't be a NaCl GCC left.

Florian



More information about the Libc-alpha mailing list