aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/glibc
Commit message (Collapse)AuthorAgeFilesLines
* toolchain/glibc: update to latest 2.26 commitHans Dedecker2018-07-021-2/+2
| | | | | | | | | 74d16a57a3 Check length of ifname before copying it into to ifreq structure. 3aaf8bda00 getifaddrs: Don't return ifa entries with NULL names [BZ #21812] f958b45d52 Use _STRUCT_TIMESPEC as guard in <bits/types/struct_timespec.h> [BZ #23349] 81b994bd83 Fix parameter type in C++ version of iseqsig (bug 23171) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain/glibc: update to latest 2.26 commitHans Dedecker2018-06-113-4/+4
| | | | | | | | 7b52c8ae05 libio: Avoid _allocate_buffer, _free_buffer function pointers [BZ #23236] Refresh patches Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain/glibc: update to latest 2.26 commitHans Dedecker2018-05-301-2/+2
| | | | | | | | | 4df8479e6b Add NEWS entry for CVE-2018-11236 a5bc5ec967 Add references to CVE-2018-11236, CVE-2017-18269 58ad5f8a64 Add a test case for [BZ #23196] 6b4362f2cb Don't write beyond destination in __mempcpy_avx512_no_vzeroupper (bug 23196) Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain/glibc: update to latest 2.26 commitHans Dedecker2018-05-231-2/+2
| | | | | | | | | | | | | | | af7519f7b3 Fix path length overflow in realpath [BZ #22786] 365722ace6 Fix stack overflow with huge PT_NOTE segment [BZ #20419] be056fae3b Fix blocking pthread_join. [BZ #23137] 02f0dd83a4 Fix signed integer overflow in random_r (bug 17343). 3241353ab2 i386: Fix i386 sigaction sa_restorer initialization (BZ#21269) 677e6d13e0 [BZ #22342] Fix netgroup cache keys. 71d339cb86 Fix i386 memmove issue (bug 22644). 31e2d15b80 Fix crash in resolver on memory allocation failure (bug 23005) 1f7c4748d6 getlogin_r: return early when linux sentinel value is set 7e7a5f0bcd resolv: Fully initialize struct mmsghdr in send_dg [BZ #23037] Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: switch from git to httpsJohann Neuhauser2018-04-291-1/+1
| | | | | | This is needed for working behind a http proxy. Signed-off-by: Johann Neuhauser <jneuhauser@dh-electronics.de>
* toolchain/glibc: unset LD_LIBRARY_PATHHyeonsik Song2018-04-191-0/+1
| | | | | | Fix build error when use glibc Signed-off-by: Hyeonsik Song <blogcin@naver.com>
* glibc: update glibc to 2.26+ and switch to download from gitHans Dedecker2018-03-131-4/+6
| | | | | | | | | | | | | | Switch glibc to 2.26+ [0] and download the sources from git which will it make easier to update glibc in the future. For an overview of the fixed bugs and CVE related fixes in 2.26+ see the NEWS file [1] [0] https://sourceware.org/git/?p=glibc.git;a=commit;h=d300041c533a3d837c9f37a099bcc95466860e98 [1] https://sourceware.org/git/?p=glibc.git;a=blob;f=NEWS;h=410f0d163145c1549fb73fdd96568f585b5bf62f;hb=refs/heads/release/2.26/master Signed-off-by: Xinxing Hu <xinxing.huchn@gmail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* glibc: fix applying of patchesHans Dedecker2018-03-131-0/+1
| | | | | | | | | | Commit f4d9d7a removed support for version specific patches; but it also broke applying of patches in the patches glibc dir. Fix the issue by setting PATCH_DIR to $(PATH_PREFIX)/patches similar as musl/common.mk. Signed-off-by: Xinxing Hu <xinxing.huchn@gmail.com> Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* toolchain/glibc: Update to 2.26Daniel Engberg2017-10-151-2/+2
| | | | | | Update glibc to 2.26 Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* glibc: update to version 2.25Felix Fietkau2017-02-112-12/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: override default rpath to /lib:/usr/libFelix Fietkau2017-02-111-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: use default PATCH_DIRFelix Fietkau2017-02-113-2/+0
| | | | | | | Version configuration is gone, so version specific patch directories are not necessary either. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove libc version config codeFelix Fietkau2017-02-113-32/+3
| | | | | | We only support one version per libc type Signed-off-by: Felix Fietkau <nbd@nbd.name>
* treewide: clean up download hashesFelix Fietkau2016-12-161-2/+2
| | | | | | Replace *MD5SUM with *HASH, replace MD5 hashes with SHA256 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain: Rework external toolchain libc selectionFlorian Fainelli2016-09-281-1/+1
| | | | | | | | | | | | | | | | Make it a choice menu which offers the 3 C libraries we know about: glibc, uClibc and musl. While at it, make it possible for the external toolchain libc to select USE_GLIBC, USE_UCLIBC or USE_MUSL which is used by several packages to conditionally include specific CFLAGS (e.g: iproute2). Because USE_GLIBC et al. can now be selected by external toolchains, we need to restrict the per-libc menus to check on !EXTERNAL_TOOLCHAIN. While at it, make musl the default C library for external toolchain to match the internal toolchain. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: re-enable parallel buildsFelix Fietkau2016-08-301-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: switch to 2.24 by default and remove old versions, fixes security issuesFelix Fietkau2016-08-305-85/+2
| | | | | | | | | | | | | | | | | | | 2.24 fixes the following CVEs compared to 2.23: - CVE-2016-3075 - CVE-2016-3706 - CVE-2016-1234 - CVE-2016-4429 - CVE-2016-5417 CVEs fixed in 2.23: - CVE-2015-8776 - CVE-2015-8777 - CVE-2015-8778 - CVE-2015-8779 - CVE-2014-9761 - CVE-2015-7547 Signed-off-by: Felix Fietkau <nbd@nbd.name>
* glibc: add 2.24Dirk Neukirchen2016-08-305-2/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since eglibc is deprecated just use glibc as name - fix build errors w. stack-protector (observed for x86_64): libresolv_pic.a(gethnamaddr.os): In function `addrsort': gethnamaddr.c:(.text+0x425): undefined reference to `__stack_chk_guard' by additionally setting libc_cv_ssp_strong=no like previously libc_cv_ssp=no was set - fix compile errors on 2.24 x86 introduced by upstream changesets "Optimize i386 syscall inlining" errors are like: - https://sourceware.org/ml/libc-alpha/2015-10/msg00745.html and trying to fix with the whats suggested at: https://patchwork.openembedded.org/patch/118909/ leads to other error: gcc6: elf/librtld.os: In function `__mmap': (.text+0x131a9): undefined reference to `__libc_do_syscall' or: gcc5: elf/dl-load.os {standard input}: Assembler messages: {standard input}:5129: Error: symbol `__x86.get_pc_thunk.cx' is already defined instead of testing other flags/effects (-fno-omit-frame-pointer) just use -O2 (like buildroot does) instead of -Os boot+pings tested on: qemu malta (le+be) (gcc5+bin2.25.1) qemu aarch64 (gcc5+bin2.25.1) qemu x86_64 (gcc6+bin2.26) qemu x86 generic (gcc6+bin2.26) Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* toolchain: skip gcc/minimal for muslFelix Fietkau2016-07-071-0/+1
| | | | | | | | No extra libc header build step is done, so no extra toolchain is needed for preparing it. This saves a significant amount of build time and disk space Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toolchain/glibc: remove obsolete versionsFelix Fietkau2016-02-2516-1393/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48780
* toolchain: use latest glibc 2.21 and 2.22 revisionsJo-Philipp Wich2016-02-174-22/+22
| | | | | | | | | Refresh patches and rework Makefile to fetch glibc from release branches instead of relying on tarballs. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48735
* toolchain: mark eglibc 2.19 brokenJo-Philipp Wich2016-02-171-0/+1
| | | | | | | | Upstream is dead and the last available version has multiple open CVEs. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48734
* glibc: switch to downloading version 2.22 via tarball instead of git to ↵Felix Fietkau2016-01-292-7/+13
| | | | | | | | improve mirror support Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48556
* glibc: switch to version 2.22 by defaultFelix Fietkau2016-01-292-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48555
* toolchain: Reverse glibc/eglibc conditionals to check for eglibcFelix Fietkau2016-01-201-4/+4
| | | | | | | | | This will make adding future glibc versions easier because the conditionals won't have to be modified again. Signed-off-by: Michael Marley <michael@michaelmarley.com> SVN-Revision: 48399
* toolchain: Add glibc 2.22Felix Fietkau2016-01-195-1/+76
| | | | | | Signed-off-by: Michael Marley <michael@michaelmarley.com> SVN-Revision: 48383
* toolchain: fix eglibc build when TOOLCHAINOPTS is not setJohn Crispin2015-03-261-1/+5
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45015
* toolchain/glibc: remove broken eglibc 2.15 supportFelix Fietkau2015-03-253-20/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 44976
* toolchain: The glorious return of glibc, ver 2.21John Crispin2015-03-1219-0/+1586
| | | | | | | | | | | It's the eglibc packaging with a bit of spit-polishing. And testing. :-) [blogic: merged glibc and eglibc into 1 and made eglibc a glibc variant] Signed-off-by: Jeff Waugh <jdub@bethesignal.org> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 44701
* purge support for glibc - use eglibc instead!Mirko Vogt2012-04-285-224/+0
| | | | | | for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html SVN-Revision: 31503
* glibc: remove all previous (ancient) versions, add 2.14 (partially based on ↵Felix Fietkau2012-02-1215-266/+43
| | | | | | a patch and testing by WillieNL) SVN-Revision: 30478
* fix glibc to work with all versions of binutils, fixes #7133 - thanks to ↵Mirko Vogt2011-06-172-0/+35
| | | | | | marek siller SVN-Revision: 27210
* fix a compile error when compiling with glibc (#7816)Felix Fietkau2010-09-011-1/+1
| | | | SVN-Revision: 22869
* toolchain: fix the sysroot mess by getting rid of $(TOOLCHAIN_DIR)/usr and ↵Felix Fietkau2010-08-191-6/+6
| | | | | | moving it back to $(TOOLCHAIN_DIR), this change makes the toolchain relocatable again, which should fix the SDK SVN-Revision: 22723
* add support for glibc-2.4 (#5213)Florian Fainelli2009-05-263-0/+8
| | | | SVN-Revision: 16089
* define libc_cv_slibdir, fixes mips64 compilation (#5011)Florian Fainelli2009-04-301-0/+1
| | | | SVN-Revision: 15526
* uClibc cleanup: - use full version string (0.9.30.1), instead of base ↵Nicolas Thill2009-04-241-1/+1
| | | | | | (0.9.30) + extra (.1) - remove support for 0.9.28 and snapshots (building from SVN to be added later) SVN-Revision: 15368
* add a modified version of the mips64 patch from #4603Felix Fietkau2009-04-182-3/+4
| | | | SVN-Revision: 15249
* fix stampfile variables for the toolchain build (fixes gcc compile error)Felix Fietkau2009-03-131-2/+2
| | | | SVN-Revision: 14862
* move common variables to a dedicated include fileNicolas Thill2009-02-231-6/+1
| | | | SVN-Revision: 14648
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-25/+25
| | | | | | host-build steps SVN-Revision: 14610
* cosmetic & coherency fixesNicolas Thill2009-02-031-7/+6
| | | | SVN-Revision: 14397
* add support for gcc v4.3.1 & v4.3.2 (closes: #3479), thanks to Luigi Mantellini!Nicolas Thill2009-01-214-0/+100
| | | | SVN-Revision: 14131
* add support for alternative C libraries (currently only glibc/eglibc) other ↵Nicolas Thill2009-01-087-0/+308
(related) changes: - kernel headers are now installed using "make headers_install" on 2.6 - target names now contain an openwrt "vendor" tag (e.g. mips-openwrt-linux-gnu) - build directory names now contain gcc/libc name/version - default cpu for x86 is now i486 (required to build glibc/eglibc) SVN-Revision: 13931