aboutsummaryrefslogtreecommitdiff
path: root/packages/glibc
Commit message (Collapse)AuthorAgeFilesLines
* glibc: Add glibc 2.36Chris Packham2022-08-085-1/+104
| | | | | | | | | | | | https://sourceware.org/pipermail/libc-announce/2022/000034.html Add the new version. Regenerate the patches and remove the one that had been applied upstream. Add a milestone for 2.36 as this version introduces support for the loongarch CPU architecture. Fixes #1795 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: backport fix for vfork on mipsChris Packham2022-05-261-0/+142
| | | | | | | | | | | glibc-2.23 fails to build for mips with nptl/libpthread.so:(*IND*+0x0): multiple definition of `vfork@GLIBC_2.0'; This was fixed in glibc-2.24. Backport the fix for glibc-2.23. Fixes #1744 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Remove obsolete glibc 2.12.1Chris Packham2022-05-1053-3359/+0
| | | | | | | | | glibc 2.12.1 was marked as obsolete. Now that the 1.25.0 release is out this version can be removed completely. As glibc 2.12.1 was the last remaining version supported by glibc-ports support for glibc-ports is also removed. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Enable -Werror for more combinations of GCC/GLIBCChris Packham2022-05-011-1/+1
| | | | | | | | | | | Newer GCC versions trigger warnings on older GLIBC versions. GLIBC 2.29 is warning free with GCC9. GLIBC 2.31 is warning free with GCC10. GLIBC 2.34 is warning free with GCC11. Add milestones for 2.31 and 2.34 and use those to set the default value for GLIBC_ENABLE_WERROR based on the GCC version. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: mark 2.12.1 as obsoleteChris Packham2022-02-231-1/+1
| | | | | | | | CentOS6 has reached EOL so now glibc-2.12.1 can be marked as obsolete. This also means the last glibc-ports version (and glibc-ports itself) obsolete as well. These will be removed after the next release. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Run patches thru `manage-packages -P`Alexey Neyman2022-02-1178-2131/+1452
| | | | | | | | This refreshes the line numbers, removes any fuzz (which would make any future forward ports easier) and standardizes the patch/file headers (which makes them easier to read). Signed-off-by: Alexey Neyman <stilor@att.net>
* Run packages through `manage-packages -D`Alexey Neyman2022-02-113-12/+12
| | | | | | | This fixed some typos in the checksum files (please don't edit them manually, this is error-prone!) Signed-off-by: Alexey Neyman <stilor@att.net>
* glibc-2.12.1: backport a fix for 2-pass buildAlexey Neyman2022-02-111-0/+292
| | | | | | | Otherwise, it tries to link against libgcc_eh which is not available until the final compiler (or previously, the pass-2 compiler) is built. Signed-off-by: Alexey Neyman <stilor@att.net>
* packages/glibc: add glibc version 2.35Hans-Christian Noren Egtvedt2022-02-095-0/+146
| | | | | | | | | Copied patches from glibc version 2.34, they still apply clean and I assume they still are relevant. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com> [cp add __convert_scm_timestamps patch] Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Remove obsolete versionsChris Packham2021-09-21298-23041/+0
| | | | | | | | | | | | | | | | | The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - glibc-linaro-2.20-2014.11 - glibc-2.12.2 - glibc-2.13 - glibc-2.14.1 - glibc-2.15 - glibc-2.16.0 - glibc-2.18 - glibc-2.20 - glibc-2.21 - glibc-2.22 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* packages/glibc: Add 2.34Chris Packham2021-08-254-0/+112
| | | | | | | | Add glibc 2.34. Bring through patches for canadian build and ARC700. https://sourceware.org/pipermail/libc-alpha/2021-August/129718.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Add glibc 2.24 fix cmpli usage in power6 memset patchmessense2021-05-231-0/+56
| | | | Signed-off-by: messense <messense@icloud.com>
* fix BZ 18116 - build failure on ppc64le: setcontext.S uses power6 mtfsfmessense2021-05-131-0/+124
| | | | when not supported
* Add ppc64le patches for glibc 2.17 from CentOS gitmessense2021-05-1350-0/+28768
|
* glibc: Add ARC700 support to v2.32 & v2.33Alexey Brodkin2021-02-142-0/+164
| | | | | | | | | | | | | | As of today ARCompact (AKA "ARCv1 ISA") processors (mostly those are ARC770) are not officially supported by upstream glibc as it adds quite some burden on release ans support of yet another "architecture" port. But given on ABI and ISA front ARCompact is very close to ARCv2 we may easily retrofit its support off-the-tree, which we do here. Also given amount of changes we need to apply there's a hope it will be easy and straight-forward to apply the same to later versions of glibc. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* glibc: add version 2.33Hans-Christian Noren Egtvedt2021-02-124-0/+51
| | | | | | | Forward ported all local patches from previous glibc release 2.32, they applied cleanly. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
* glibc: fix version 2.32 not setting correct version stringHans-Christian Noren Egtvedt2020-10-051-0/+26
| | | | | | | | | | | Backport change from glibc upstream that defines RELEASE as stable instead of release. This will at least cause the default_cflags to be set to expected default values again. Ref issue #1396, although the bigger issue of respecting crosstool-ng CT_GLIBC_EXTRA_CFLAGS is most likely still not fixed. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
* glibc: Don't build with -Werror for powerpc64+glibc-2.32Chris Packham2020-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | When building powerpc64+glibc-2.32 we see the following error: [ALL ] In file included from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26, [ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18: [ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_aligned': [ERROR] ../string/wordcopy.c:98:26: error: 'a1' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ALL ] 98 | ((op_t *) dstp)[0] = a1; [ALL ] | ~~~~~~~~~~~~~~~~~~~^~~~ [ALL ] In file included from ../sysdeps/powerpc/powerpc64/power4/../../powerpc32/power4/memcopy.h:38, [ALL ] from ../sysdeps/powerpc/powerpc64/power4/memcopy.h:1, [ALL ] from ../string/wordcopy.c:23, [ALL ] from ../sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c:26, [ALL ] from ../sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c:18: [ALL ] ../string/wordcopy.c: In function '_wordcopy_fwd_dest_aligned': [ERROR] ../sysdeps/generic/memcopy.h:72:61: error: 'a3' may be used uninitialized in this function [-Werror=maybe-uninitialized] [ALL ] 72 | #define MERGE(w0, sh_1, w1, sh_2) (((w0) << (sh_1)) | ((w1) >> (sh_2))) [ALL ] | ^~ This seems to only trigger for powerpc64. Other architectures build cleanly. For now avoid specifying -Werror for powerpc64+glibc-2.32. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Merge pull request #1371 from egtvedt/add-glibc-2.32Chris Packham2020-08-303-0/+30
|\ | | | | Add support for glibc 2.32
| * Add support for glibc 2.32Hans-Christian Noren Egtvedt2020-08-143-0/+30
| | | | | | | | | | | | | | | | | | Forward ported 0000-typedef-caddr.patch from previous release (2.31). Dropped the 0001-Add-ARC-architecture.patch file, since ARC support is included in glibc release 2.32. Signed-off-by: Hans-Christian Noren Egtvedt <hegtvedt@cisco.com>
* | Patch glibc to support building with GCC 10 based toolchainsHans-Christian Noren Egtvedt2020-08-275-0/+830
| |
* | Merge pull request #1246 from nikkon-dev/spaun2002/add_glibc_2_19_patchChris Packham2020-08-265-0/+245
|\ \ | | | | | | Add powerpc asm fix for glibc 2.19
| * | Add power6 patch to all the glibc versions that need itspaun20022020-07-074-0/+196
| | |
| * | Add powerpc asm fix for glibc 2.19Nikita Konyuchenko2020-07-071-0/+49
| |/ | | | | | | | | | | Integration of the https://patchwork.ozlabs.org/patch/686205/ fix by Joseph Myersk Signed-off-by: spaun2002 <spaun2002mobile@gmail.com>
* | Merge pull request #1362 from cpackham/patch-1Chris Packham2020-08-231-1/+1
|\ \ | | | | | | glibc: Fix typo in package.desc
| * | glibc: Fix typo in package.descChris Packham2020-07-121-1/+1
| |/ | | | | Simple typo fix
* / Allow glibc 2.12 - 2.20 to work with GCC 10+Jakub Labenski2020-06-0810-10/+135
|/
* GLIBC 2.28 milestone has a dependencyAlexey Neyman2020-03-171-1/+1
| | | | | | ... but no definition after af2f3ac9c. Signed-off-by: Alexey Neyman <stilor@att.net>
* Update ARC patch to glibc 2.31Alexey Neyman2020-02-261-168/+863
| | | | | | Build-tested only. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add glibc 2.31Alexey Neyman2020-02-264-0/+7664
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Upstrean fix for CET-enabled compiler with no --enable-cetAlexey Neyman2020-02-033-0/+244
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Merge pull request #1233 from cpackham/fixup-arc-patchAlexey Neyman2019-09-301-8/+8
|\ | | | | glibc: arc: Don't interfere with other architectures
| * glibc: arc: Don't interfere with other architecturesChris Packham2019-09-051-8/+8
| | | | | | | | | | | | | | | | | | | | | | Fixes: #1227 Adjust the ARC patch so that it only sets with_fp_cond when the machine is arc. https://github.com/foss-for-synopsys-dwc-arc-processors/glibc/issues/7 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* | glibc-2.30: Re-add ARC supportAlexey Brodkin2019-09-061-0/+7832
| | | | | | | | | | | | | | | | | | | | | | So again due to non-technical reasons (lack of public documentation of ARC instruction set which we actively work on but no yet published) we missed upstream 2.30 release. Still the code is there, we regularly run full test-suite and are confident in port's quality and robustness. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* | Add glibc 2.30Chris Packham2019-09-054-1/+31
|/ | | | | | | | | Add the GNU C Library version 2.30. Bring forward the typedef-caddr.patch. Skip the ARC patch for now. https://sourceware.org/ml/libc-alpha/2019-08/msg00029.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Add ARC supportAlexey Brodkin2019-04-171-0/+7799
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARC port of Glibc was submitted to the mailing list recently [1] but due to late submission it didn't make it in Glibc 2.29 release. Hopefully by the time of next release it will be a part of upstream release but for now we have to use off-the-tree patch. Still it's proven to work internally as well as its test-suite shows brilliant results as might be seen from [1]: ------------------>8------------------- Summary of test results: 24 FAIL 5124 PASS 27 UNSUPPORTED 19 XFAIL ------------------>8------------------- Moreover ARC's Glibc port is known to work in Buildroot, OpenEmbedded and even Automotive Grade Linux distro so we should be good having this patch for Glibc. BTW the patch itself is a copy of the one I use in OE, see [2]. [1] https://sourceware.org/ml/libc-alpha/2018-12/msg00678.html [2] https://github.com/foss-for-synopsys-dwc-arc-processors/meta-synopsys/blob/master/recipes-core/glibc/files/0031-Add-ARC-architecture.patch Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* Fix build of glibc 2.29 on systems with obsolete host programsAlexey Neyman2019-03-021-1/+1
| | | | | | | | | | | | - Force building make as a companion tool if host make is older than 4.0 (CentOS 7 currently has 3.82) - Disable 2.29 as a choice if host python is older than 3.4 (CentOS 7 has 2.6 unless python from EPEL is installed) - Python2 emits its version information to STDERR. Ugh. While there, also use the detected host Python for GDB configuration. Signed-off-by: Alexey Neyman <stilor@att.net>
* Another wave of version updatesAlexey Neyman2019-02-133-0/+30
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Config v2: select relevant parts of each package versionAlexey Neyman2019-01-301-0/+2
| | | | | | | Also, remove a couple of config options that dealt with package versions that have been since retired. Signed-off-by: Alexey Neyman <stilor@att.net>
* Disable -fstack-protector* from being used by glibcAlexey Neyman2018-12-071-1/+1
| | | | | | ... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
* Fix fdivp argument orderAlexey Neyman2018-10-061-0/+27
| | | | | | | | | Patch from upstream. Bug didn't exist in 2.14.1 and fix is already applied in 2.16. Fixes #1048 Signed-off-by: Alexey Neyman <stilor@att.net>
* Upgrades. Lots of 'em.Alexey Neyman2018-09-244-0/+31
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Too many fixes need backporting for GCC8...Alexey Neyman2018-05-141-1/+1
| | | | | | ... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
* Second batch of backported fixesAlexey Neyman2018-05-1248-0/+2432
| | | | | | getlogin/getlogin_r, zic Signed-off-by: Alexey Neyman <stilor@att.net>
* First batch of fixesAlexey Neyman2018-05-1233-31/+1560
| | | | | | | | - Incompatible function type for ifunc alias - Multiple statements macro expansion in strftime - if_nametoindex size checking Signed-off-by: Alexey Neyman <stilor@att.net>
* Bring in GDB 8.1 and glibc 2.27.Alexey Neyman2018-02-033-0/+29
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* More fixes after the upgrades:Alexey Neyman2018-01-301-0/+75
| | | | | | | | | | | - GLIBC requires a fix to work with binutils 2.30 on aarch64. This fix relies on binutils 2.24 or newer, which is okay for glibc 2.26 since it needs 2.25 or newer anyway. But older glibc versions are now pinned to binutils 2.29 or older on aarch64. - xtensa needs patches in libgcc with gcc 7.3. - comment in newlib's patch to indicate it is a reversal of a commit. Signed-off-by: Alexey Neyman <stilor@att.net>
* Run all patches through renumbering and updateAlexey Neyman2017-12-02411-7848/+7948
| | | | Signed-off-by: Alexey Neyman <stilor@att.net>
* Add digests for all packagesAlexey Neyman2017-09-2916-0/+192
| | | | | | | Also fix test-packages: it was saving the output from CT_DoLog into the checksum file. Also use one file per version. Signed-off-by: Alexey Neyman <stilor@att.net>
* Add an ability to verify the digest/signatureAlexey Neyman2017-09-271-0/+1
| | | | | | Fixes #611. Signed-off-by: Alexey Neyman <stilor@att.net>