This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Thu, 11 May 2017, Florian Weimer wrote:

> 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.

I'd be fine with all of:

* Removing the NaCl port (on the understanding that the initial removal 
patch does not need to remove the ARM_SFI_MACROS code in the ARM port, and 
anything else NaCl-specific in non-NaCl-specific files, but such removal 
would be desirable over time).

* Requiring GCC 5 as minimum GCC version for building glibc on the basis 
of what's maintained upstream (though that's more aggressive than we've 
previously been on increasing GCC version requirements).  (Versions before 
4.9 don't work with build-many-glibcs.py anyway.)

* Requiring a binutils version of similar vintage to GCC 5 as minimum 
binutils version for building glibc, maybe 2.25.  (Basing things on what 
binutils versions distributions with GCC 5 have may be sensible there.  I 
don't think binutils really maintains past release branches once there's 
been a release from a new branch, so basing on what's maintained would be 
too aggressive.)

Note: the i686 and x86_64 buildbot slaves have (from the configure logs) 
binutils 2.24.  They appear (from the paths in the logs) to be running 
Ubuntu 14.04, so have GCC 4.8, and would need either local build tools, or 
an OS upgrade, to continue operating after such an increase in required 
versions.  I don't know whether any other buildbot slaves would also be 
affected by such increased requirements.  But since the i686 buildbot has 
tests failing with "/usr/bin/ld: BFD (GNU Binutils for Ubuntu) 2.24 
assertion fail ../../bfd/elf32-i386.c:4016" linking 
elf/tst-gnu2-tls1mod.so, it's already in practice the case that 2.24 is 
not a suitable binutils version for building/testing glibc on that 
platform.

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]