mirror of
git://sourceware.org/git/glibc.git
synced 2026-09-08 23:58:31 +08:00
Hurd bootstrap with build-many-glibc.py fails for i686-gnu since
4c6f92daea:
In file included from zic.c:16:
private.h:849:1: error: static declaration of ‘mempcpy’ follows non-static declaration
849 | mempcpy(void *restrict s1, void const *restrict s2, size_t n)
| ^~~~~~~
In file included from ../include/string.h:60,
from private.h:222:
../string/string.h:432:14: note: previous declaration of ‘mempcpy’ with type [...]
432 | extern void *mempcpy (void *__restrict __dest,
| ^~~~~~~
The libc-symbols.h already defined some HAVE_*, but timezone files are
built with -D_ISOMAC. Remove its usage and only define _ and N_
macros if not already defined.
Checked on x86_64-linux-gnu and with a build-many-glibcs.py build for
i686-gnu.
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Paul Eggert <eggert@cs.ucla.edu>
The files zic.c zdump.c tzfile.h private.h tzselect.ksh version come from the tzcode package by Arthur David Olson et.al. The 'version' file specifies which tzcode version was used. The files africa antarctica asia australasia europe northamerica southamerica pacificnew etcetera factory backward systemv solar87 solar88 solar89 iso3166.tab zone.tab leapseconds yearistype come from the tzdata package by Arthur David Olson et.al. except that its 'yearistype.sh' file is renamed to 'yearistype'. These tzdata files were taken from tzdata 2009i and have not been updated since, as they do not affect glibc installation and are present only for regression testing. Please also see: https://sourceware.org/glibc/wiki/SharedSourceFiles These packages may be found at https://ftp.iana.org/tz/releases/. Commentary should be addressed to tz@iana.org. The subdirectory testdata contains manually edited data files for regression testing purposes.