aboutsummaryrefslogtreecommitdiff
path: root/packages/glibc
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Apply ucontext patch to mainstream GCC releasesAlexey Neyman2017-08-271-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>
* Merge pull request #814 from stilor/issue-802Alexey Neyman2017-08-2646-3352/+3321
|\ | | | | Issue 802
| * Make --enable-obsolete-rpc an option in ct-ngAlexey Neyman2017-08-261-1/+1
| | | | | | | | Signed-off-by: Alexey Neyman <stilor@att.net>
| * Backport --enable-obsolete-rpc from 2.16Alexey Neyman2017-08-262-0/+3320
| | | | | | | | | | | | Fixes #802. Signed-off-by: Alexey Neyman <stilor@att.net>
| * Missed glibc 2.14 when obsoleting releasesAlexey Neyman2017-08-2643-3351/+0
| | | | | | | | | | | | Superseded on the branch by 2.14.1. Signed-off-by: Alexey Neyman <stilor@att.net>
* | Fix regressions after binutils 2.29Alexey Neyman2017-08-2511-0/+414
|/ | | | | | | Binutils 2.29 are more picky about versioning of common symbols. Fix two offenders in glibc versions as applicable. Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove sourceware from glibc mirrorsAlexey Neyman2017-08-231-1/+1
| | | | | | It only hosts releases up to 2.11. Signed-off-by: Alexey Neyman <stilor@att.net>
* Implement a script for checking packagesAlexey Neyman2017-08-23169-0/+11005
| | | | | | Then use this script to check that all packages can be extracted and patched. Signed-off-by: Alexey Neyman <stilor@att.net>
* Remove the glibc patch for -mfloat128Alexey Neyman2017-08-221-193/+0
| | | | | | | ... per discussion on libc-alpha, need to pass --with-glibc-version= instead to GCC configure. Signed-off-by: Alexey Neyman <stilor@att.net>
* Check if -mfloat128-type needs to be suppliedAlexey Neyman2017-08-211-0/+193
| | | | | | | ... in addition to -mfloat128 that glibc 2.26 adds. GCC7 needs both, GCC6 does not and chokes on unknown option. Signed-off-by: Alexey Neyman <stilor@att.net>