summaryrefslogtreecommitdiff
path: root/packages/glibc
AgeCommit message (Collapse)AuthorFilesLines
2022-02-23glibc: mark 2.12.1 as obsoleteChris Packham1-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>
2022-02-11Run patches thru `manage-packages -P`Alexey Neyman78-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>
2022-02-11Run packages through `manage-packages -D`Alexey Neyman3-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>
2022-02-11glibc-2.12.1: backport a fix for 2-pass buildAlexey Neyman1-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>
2022-02-09packages/glibc: add glibc version 2.35Hans-Christian Noren Egtvedt5-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>
2021-09-21glibc: Remove obsolete versionsChris Packham298-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>
2021-08-25packages/glibc: Add 2.34Chris Packham4-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>
2021-05-23Add glibc 2.24 fix cmpli usage in power6 memset patchmessense1-0/+56
Signed-off-by: messense <messense@icloud.com>
2021-05-13fix BZ 18116 - build failure on ppc64le: setcontext.S uses power6 mtfsfmessense1-0/+124
when not supported
2021-05-13Add ppc64le patches for glibc 2.17 from CentOS gitmessense50-0/+28768
2021-02-14glibc: Add ARC700 support to v2.32 & v2.33Alexey Brodkin2-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>
2021-02-12glibc: add version 2.33Hans-Christian Noren Egtvedt4-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>
2020-10-05glibc: fix version 2.32 not setting correct version stringHans-Christian Noren Egtvedt1-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>
2020-09-03glibc: Don't build with -Werror for powerpc64+glibc-2.32Chris Packham1-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>
2020-08-30Merge pull request #1371 from egtvedt/add-glibc-2.32Chris Packham3-0/+30
Add support for glibc 2.32
2020-08-27Patch glibc to support building with GCC 10 based toolchainsHans-Christian Noren Egtvedt5-0/+830
2020-08-26Merge pull request #1246 from nikkon-dev/spaun2002/add_glibc_2_19_patchChris Packham5-0/+245
Add powerpc asm fix for glibc 2.19
2020-08-23Merge pull request #1362 from cpackham/patch-1Chris Packham1-1/+1
glibc: Fix typo in package.desc
2020-08-14Add support for glibc 2.32Hans-Christian Noren Egtvedt3-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>
2020-07-12glibc: Fix typo in package.descChris Packham1-1/+1
Simple typo fix
2020-07-07Add power6 patch to all the glibc versions that need itspaun20024-0/+196
2020-07-07Add powerpc asm fix for glibc 2.19Nikita Konyuchenko1-0/+49
Integration of the https://patchwork.ozlabs.org/patch/686205/ fix by Joseph Myersk Signed-off-by: spaun2002 <spaun2002mobile@gmail.com>
2020-06-08Allow glibc 2.12 - 2.20 to work with GCC 10+Jakub Labenski10-10/+135
2020-03-17GLIBC 2.28 milestone has a dependencyAlexey Neyman1-1/+1
... but no definition after af2f3ac9c. Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26Update ARC patch to glibc 2.31Alexey Neyman1-168/+863
Build-tested only. Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-26Add glibc 2.31Alexey Neyman4-0/+7664
Signed-off-by: Alexey Neyman <stilor@att.net>
2020-02-04Upstrean fix for CET-enabled compiler with no --enable-cetAlexey Neyman3-0/+244
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-10-01Merge pull request #1233 from cpackham/fixup-arc-patchAlexey Neyman1-8/+8
glibc: arc: Don't interfere with other architectures
2019-09-06glibc-2.30: Re-add ARC supportAlexey Brodkin1-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>
2019-09-05glibc: arc: Don't interfere with other architecturesChris Packham1-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>
2019-09-04Add glibc 2.30Chris Packham4-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>
2019-04-17glibc: Add ARC supportAlexey Brodkin1-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>
2019-03-02Fix build of glibc 2.29 on systems with obsolete host programsAlexey Neyman1-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>
2019-02-14Another wave of version updatesAlexey Neyman3-0/+30
Signed-off-by: Alexey Neyman <stilor@att.net>
2019-01-30Config v2: select relevant parts of each package versionAlexey Neyman1-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>
2018-12-07Disable -fstack-protector* from being used by glibcAlexey Neyman1-1/+1
... until it was fixed (to some extent) in 2.25. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-10-06Fix fdivp argument orderAlexey Neyman1-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>
2018-09-25Upgrades. Lots of 'em.Alexey Neyman4-0/+31
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-15Too many fixes need backporting for GCC8...Alexey Neyman1-1/+1
... so instead, disable -Werror for older versions of glibc. Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-13Second batch of backported fixesAlexey Neyman48-0/+2432
getlogin/getlogin_r, zic Signed-off-by: Alexey Neyman <stilor@att.net>
2018-05-12First batch of fixesAlexey Neyman33-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>
2018-02-03Bring in GDB 8.1 and glibc 2.27.Alexey Neyman3-0/+29
Signed-off-by: Alexey Neyman <stilor@att.net>
2018-01-30More fixes after the upgrades:Alexey Neyman1-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>
2017-12-02Run all patches through renumbering and updateAlexey Neyman411-7848/+7948
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-09-30Add digests for all packagesAlexey Neyman16-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>
2017-09-28Add an ability to verify the digest/signatureAlexey Neyman1-0/+1
Fixes #611. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-28Apply ucontext patch to mainstream GCC releasesAlexey Neyman1-1/+1
Not applicable to 4.8, as GLIBC2.26 requires 4.9 or newer. Record that dependency. Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26Merge pull request #814 from stilor/issue-802Alexey Neyman46-3352/+3321
Issue 802
2017-08-26Make --enable-obsolete-rpc an option in ct-ngAlexey Neyman1-1/+1
Signed-off-by: Alexey Neyman <stilor@att.net>
2017-08-26Backport --enable-obsolete-rpc from 2.16Alexey Neyman2-0/+3320
Fixes #802. Signed-off-by: Alexey Neyman <stilor@att.net>