aboutsummaryrefslogtreecommitdiff
path: root/packages/glibc
Commit message (Collapse)AuthorAgeFilesLines
* glibc: Add 2.40Chris Packham2024-07-293-0/+85
| | | | | | | | https://sourceware.org/pipermail/libc-announce/2024/000042.html Add the new version drop the patch that was applied upstream. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Add glibc 2.39Chris Packham2024-03-014-0/+134
| | | | | | | | https://sourceware.org/pipermail/libc-announce/2024/000038.html Add the new version and rebase the patches we're carrying. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Fix THREAD_SETMEM/THREAD_SETMEM_NC for movq in x86_64Artem Panfilov2024-02-061-0/+60
| | | | | | | | | | | | | | | This patch resolves compilation issues with GCC versions 12 and glibc 2.17. It corrects the constraints used in the THREAD_SETMEM and THREAD_SETMEM_NC macros for the movq instruction in the x86_64 architecture. Backported from: https://github.com/bminor/glibc/commit/b1ec623ed50bb8c7b9b6333fa350c3866dbde87f Closes #1825 Signed-off-by: Artem Panfilov <artem.panfilov@nokia.com>
* glibc: Fix SVE detection on aarch64Chris Packham2023-09-011-0/+56
| | | | | | | | | | | | | | glibc-2.28 complains: configure: error: use a compatible toolchain or configure with --disable-mathvec (this results in incomplete ABI). Apparently this is a problem in the way GCC passes the -mcpu and -march values to the assembler. As a workaround have the configure check pass -mcpu as well to override anything we're passing in the environment. Patch and explanation taken from the Yocto project with thanks. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Add glibc-2.38Chris Packham2023-08-104-1/+86
| | | | | | | | https://sourceware.org/pipermail/libc-announce/2023/000036.html Add the new version and carry through the ARC700 patch. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Disable -Werror with GCC13 and glibc <2.37Chris Packham2023-05-141-1/+1
| | | | | | | GCC13 picks up some new errors on older glibc versions. Disable -Werror automatically when these combinations are selected. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: drop caddr_t patchChris Packham2023-02-081-17/+0
| | | | | | | | | | | | | | | | | | | | | | We've been carrying around this patch for ages. It was first added in commit 42e908c4 ("libc/glibc: workaround for autoconf'ed define of caddr_t") and ported to glibc-2.13 in commit de6b6733 ("libc/glibc: add patch to avoid caddr_t redefinition"). It has been ported to every new version of glibc ever since. It's not immediately obvious that the original problem still affects modern glibc versions. If there is a problem it hasn't been reported to the glibc maintainers in the 12 years since it was first seen. It could be that ct-ng is unique in the way we support canadian builds or that there was another fix for the same problem applied upstream sometime in the last 12 years. Drop the patch now to stop in being propagated blindly to new glibc versions. Doing it as a separate commit (as opposed to dropping it in the previous commit which bumped the version) allows the decision to be documented and if this turns out to be wrong it can be easily reverted. Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Add glibc-2.37Chris Packham2023-02-084-0/+102
| | | | | | | | | https://sourceware.org/pipermail/libc-announce/2023/000035.html Add the new version carry through 2 patches that are not upstream. Fixes #1885 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Add fix for GNU make 4.4 compatibility to more versionsChris Packham2023-01-0910-0/+1050
| | | | | | | | Backport the upstream fix for GNU make 4.4 compatibility to more versions of glibc. Fixes #1878 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* glibc: Add fix for GNU make 4.4 compatibility issueChris Packham2022-12-041-0/+114
| | | | | | | | Add an upstream patch that resolves a compatibility issue with GNU make 4.4. Fixes #1858 Signed-off-by: Chris Packham <judge.packham@gmail.com>
* Backport fixes for glibc and gcc to fix interactions with kernel headersBryan Hundven2022-11-094-0/+441
| | | | | Reported-by: milkylainen (IRC) Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
* 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>