summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* sys-libs/glibc: avoid libidn2 in bootstrap, bug #681742Sergei Trofimovich2019-03-251-2/+4
| | | | | | | | | | | When bootstrapping a cross-toolchain don't pull in libidn2 into the host as it's not stable yet everywhere (requires KEYWORDS fiddling) and is not needed on host (it's cross-glibc). Reported-by: Mahmoud Jaoune Bug: https://bugs.gentoo.org/681742 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* sys-libs/glibc: cut 11 patchset, bug #679980Sergei Trofimovich2019-03-121-2/+2
| | | | | | | | | | Patchset 11 is the same as patchset 10 rebased on top of current master. One minor conflict is fixed in patch removal. Reported-by: jospezial Closes: https://bugs.gentoo.org/679980 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* sys-libs/glibc: make stack protection optional, bug #679788Sergei Trofimovich2019-03-091-2/+7
| | | | | | | | | | | | | | | | | | The change adds new USE=ssp to optionally disable protection of glibc's internals. Before the change protection was unconditionally enabled. It's useful to disable ssp to validate if stack protection causes any damage (glibc bugs like https://sourceware.org/PR24202 or gcc bugs like https://gcc.gnu.org/PR81996). And also useful to get more predictable binaries like in https://bugs.gentoo.org/679788. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/679788 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* sys-libs/glibc: ignore USE=headers-only for native case, bug #677474Sergei Trofimovich2019-02-071-1/+1
| | | | | | | | | Let's not allow users to "deinstall" native glibc. Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/677474 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* sys-libs/glibc: Version bump, unkeywordedAndreas K. Hüttel2019-02-011-2/+5
| | | | | | | | | | | | | | | Builds, and tests are ok-ish, no further testing done yet FAIL: nss/tst-nss-files-alias-leak FAIL: nss/tst-nss-test3 FAIL: rt/tst-cputimer1 FAIL: rt/tst-cputimer2 FAIL: rt/tst-cputimer3 FAIL: conform/*/*/linknamespace (the latter because of system 2.27) Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-libs/glibc: fix live ebuild build failure, bug #674080Sergei Trofimovich2018-12-301-3/+0
| | | | | | | | | | | | | | | | Fix by Bart Oldeman: Stop touching C-translit.h, as it's now always automatically generated in the build directory. Touching it creates a 0-byte file that causes missing symbols when it's included instead of the generated file. See here for the glibc change: https://sourceware.org/git/?p=glibc.git;a=commit;h=053c52b17739a584ee73d336e547b15abcdabd49 Closes: https://bugs.gentoo.org/674080 Signed-off-by: Bart Oldeman <bartoldeman@gmail.com> Package-Manager: Portage-2.3.53, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* sys-libs/glibc: locale-gen: precisely replicate 2.27 behaviourAndreas K. Hüttel2018-12-211-3/+3
| | | | | Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-libs/glibc: Drop old hardened support (suggested by zorry)Andreas K. Hüttel2018-12-141-19/+5
| | | | | Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-libs/glibc: Rebase patchset, add C.UTF-8, fix bug 673124Andreas K. Hüttel2018-12-141-2/+2
| | | | | | Bug: https://bugs.gentoo.org/673124 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-libs/glibc: Port to eapi7-ver. 2.28 patchlevel bump.Andreas K. Hüttel2018-12-111-12/+12
| | | | | Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
* sys-libs/glibc: drop PIE ewarnSergei Trofimovich2018-10-241-3/+0
| | | | | | | | | The ewarn lacks '<gcc-6' guard. Let's drop ewarn completely. Reported-by: Alexander Tsoy Closes: https://bugs.gentoo.org/669410 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
* sys-libs/glibc: Use .xz tarball for patchesAndreas K. Hüttel2018-10-211-4/+4
| | | | | Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
* sys-libs/glibc: Needs at least GNU Make 4 to buildAndreas K. Hüttel2018-08-031-0/+1
| | | | Package-Manager: Portage-2.3.44, Repoman-2.3.10
* sys-libs/glibc: Add rudimentary Intel CET support (since glibc-2.29)Andreas K. Hüttel2018-08-031-1/+7
| | | | | | | Before unmasking this flag we still need to add checks for binutils >=2.29 and gcc >=8 ... Package-Manager: Portage-2.3.44, Repoman-2.3.10
* sys-libs/glibc: Bump 9999 patchlevelAndreas K. Hüttel2018-08-031-1/+1
| | | | Package-Manager: Portage-2.3.44, Repoman-2.3.10
* sys-libs/glibc: preserve /usr/lib witk keepdirSergei Trofimovich2018-07-191-4/+2
| | | | | | | | | | | | | | Today crossdev does not install baselayout into /usr/${CTARGET}. As a result /usr/${CTARGET}/usr/lib was not created by any ebuilds. glibc ebuild used to create /usr/lib but recently added install-qa-check.d/95empty-dirs by portage broke that assumption. This change uses keepdir to ensure presense of /usr/${CTARGET}/usr/lib. Longer term crossdev will attempt to use baselayout. Reported-by: Vadim A. Misbakh-Soloviov <git@mva.name> Bug: https://bugs.gentoo.org/652724 Package-Manager: Portage-2.3.43, Repoman-2.3.10
* sys-libs/glibc: don't check for linux version on non-linux systemsMatija Skala2018-07-071-19/+21
| | | | Closes: https://github.com/gentoo/gentoo/pull/9069
* sys-libs/glibc: add USE=multiarch (enabled by default)Sergei Trofimovich2018-06-261-1/+3
| | | | | | | | | | | Normally multiarch should be enabled (where available). But sometimes disabling multiarch is useful: - to workaround or validate bugs specific to selected runtime arch or IFUNC handling. - to get code that matches -march= CFLAGS setting Bug: https://bugs.gentoo.org/659030 Package-Manager: Portage-2.3.40, Repoman-2.3.9
* sys-libs/glibc: pass user's CFLAGS over CC/XX, not CPPFLAGSSergei Trofimovich2018-06-261-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Breakage example (before this change): # CFLAGS="-O2 -march=core2 -mno-sse4.2" emerge -v1 =glibc-2.27-r4 Here user's CFLAGS were able to override (this bug) glibc's CFLAGS additions like: sysdeps/i386/i686/multiarch/Makefile:CFLAGS-strspn-c.c += -msse4 'strspn' was built as 'gcc -msse4 -mno-sse4.2' and failed: smmintrin.h:631:1: error: inlining failed in call to always_inline ‘_mm_cmpistri’: target specific option mismatch This happens because we passed user's CFLAGS via CPPFLAGS: Makerules:COMPILE.c = $(CC) -c $(CFLAGS) $(CPPFLAGS) To avoid this kind of overrides this change injects user's CFLAGS into CC/CXX. Above example will use 'gcc -mno-sse4.2 -msse4' order. Reported-by: Philipp Psurek Bug: https://bugs.gentoo.org/657760 Closes: https://bugs.gentoo.org/659030 Package-Manager: Portage-2.3.40, Repoman-2.3.9
* sys-libs/glibc: Require bison in DEPENDAndreas K. Hüttel2018-06-171-0/+1
| | | | | | | | Keeping the bug open until we've been talking to upstream about it. Bug: https://bugs.gentoo.org/657458 Package-Manager: Portage-2.3.40, Repoman-2.3.9
* sys-libs/glibc: Add libidn2 dependency.Andreas K. Hüttel2018-06-171-1/+3
| | | | | | | | | | The getaddrinfo function, when called with the AI_IDN or AI_CANONIDN flags, will use the system libidn2 library to perform IDNA encoding. Version 2.0.5 or later is recommended, otherwise there will be some failures in the glibc test suite. Bug: https://bugs.gentoo.org/635012 Package-Manager: Portage-2.3.40, Repoman-2.3.9
* sys-libs/glibc: fix typo 's/spefcific/specific/' in commentSergei Trofimovich2018-06-151-1/+1
| | | | | Reported-by: Tomas Mozes Package-Manager: Portage-2.3.40, Repoman-2.3.9
* sys-libs/glibc: Bump 9999 patchsetAndreas K. Hüttel2018-06-141-1/+1
| | | | Package-Manager: Portage-2.3.40, Repoman-2.3.9
* sys-libs/glibc: fix -mfpu=neon build failure, bug #657760Sergei Trofimovich2018-06-131-0/+6
| | | | | | | | | | | | | | CFLAGS=-mfpu=neon tricked glibc into not building memcpy() implementation. It's caused by the fact that -mfpu=neon was passed when building .c files, but was not passed when building .S files. This change passes CFLAGS to CPPFLAGS to apply to .S files. Reported-by: Markus Meier Closes: https://bugs.gentoo.org/657760 Bug: https://sourceware.org/PR23273 Package-Manager: Portage-2.3.40, Repoman-2.3.9
* sys-libs/glibc: Stop installing SSP and FORTIFY_SOURCE handlerAndreas K. Hüttel2018-05-201-9/+0
| | | | | | | | | | | [12:38:42] <Zorry> dilfridge: you can remove the einfo "Installing Hardened Gentoo SSP and FORTIFY_SOURCE handler" and cp files too [12:38:53] <Zorry> for glibc [12:50:17] <dilfridge> ok [12:50:20] <dilfridge> will do Closes: https://bugs.gentoo.org/601718 Package-Manager: Portage-2.3.36, Repoman-2.3.9
* sys-libs/glibc: New tarball with added ppc multilib bootstrap filesAndreas K. Hüttel2018-05-111-1/+1
| | | | | | Bug: https://bugs.gentoo.org/654524 Bug: https://bugs.gentoo.org/647070 Package-Manager: Portage-2.3.36, Repoman-2.3.9
* sys-libs/glibc: Remove remaining occurrences of in_iuseAndreas K. Hüttel2018-05-051-5/+5
| | | | Package-Manager: Portage-2.3.36, Repoman-2.3.9
* sys-libs/glibc: Add new bootstrap files from stages, bug 647070Andreas K. Hüttel2018-05-011-4/+4
| | | | | | | | | | | | | | | | | See https://github.com/gentoo/gcc-multilib-bootstrap/ for the source. This is as good as we can do at the moment. Tested by building an x32 glibc on a normal amd64 system. For the glibc-2.26 stabilization we still need new files for PowerPC. Current status: * amd64, x32, x86: Files from gcc-6.4 * s390, s390x: Files from gcc-5.4 (does this work?) * ppc, ppc64: no files, since only gcc-4.9 available * n32, n64, o32: no files, last mips stages are years old, not useful Bug: https://bugs.gentoo.org/647070 Package-Manager: Portage-2.3.31, Repoman-2.3.9
* sys-libs/glibc: Remove useflag debug and related logic. Bug 601718.Andreas K. Hüttel2018-04-211-9/+1
| | | | | Closes: https://bugs.gentoo.org/601718 Package-Manager: Portage-2.3.27, Repoman-2.3.9
* sys-libs/glibc: remove trailing whitespaceMarty E. Plummer2018-04-131-2/+2
| | | | Package-Manager: Portage-2.3.28, Repoman-2.3.9
* sys-libs/glibc: fix strip path for cross-compiler's glibcSergei Trofimovich2018-04-091-1/+1
| | | | | | | Noticed as warnings on non-existing path when installing =cross-powerpc64le-foo-linux-gnu/glibc-2.27-r1 Package-Manager: Portage-2.3.28, Repoman-2.3.9
* sys-libs/glibc: fix USE=headers-only install for powerpc64le targetSergei Trofimovich2018-04-091-0/+2
| | | | | | | | | | | glibc-2.27 needs 2 more sanity checks from native compiler to pass configure: libc_cv_compiler_powerpc64le_binary128_ok=yes libc_cv_target_power8_ok=yes Notices when tried clean toolchain botstrap for bug #652724 Bug: https://bugs.gentoo.org/652724 Package-Manager: Portage-2.3.28, Repoman-2.3.9
* sys-libs/glibc: tweak riscv preconfigure manglingSergei Trofimovich2018-04-061-21/+23
| | | | | | | Changed 'preconfigure' mangling from using sed to using CPPFLAGS. While at it move the hack closer to ./configure call. Package-Manager: Portage-2.3.28, Repoman-2.3.9
* sys-libs/glibc: drop outdated ports/sysdeps/mips/ manglingSergei Trofimovich2018-04-061-7/+0
| | | | | | ports/ is no more. All mips ports were merged into glibc repository. Package-Manager: Portage-2.3.28, Repoman-2.3.9
* sys-libs/glibc: apply riscv kludge to live ebuildSergei Trofimovich2018-04-031-0/+17
| | | | | | This pulls in commit from 2.27-r1 "sys-libs/glibc: Add support for building RISC-V headers" Package-Manager: Portage-2.3.28, Repoman-2.3.9
* sys-libs/glibc: fix glibc-headers bootstrap on non-multilib hostSergei Trofimovich2018-03-301-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | The error is found by wm_ attempting to build a cross-compiler CHOST=powerpc-unknown-linux-gnu CTARGET=mips64-unknown-linux-gnu Boostrap failed on glibc-headers (./configure phase) as: configure:2623: powerpc-unknown-linux-gnu-gcc -mabi=n32 -c \ -O1 -pipe -U_FORTIFY_SOURCE conftest.c >&5 powerpc-unknown-linux-gnu-gcc: error: \ unrecognized command line option '-mabi=n32'; did you mean '-mabi=d32'? Note how target's ABI is mexed into host's compiler flags. The error above happens on every host=non-multilib target=multilib combination. I've reproduced it on: CHOST=i686-pc-linux-gnu CTARGET=mips64-unknown-linux-gnu The fix is not to inject target's CFLAGS ABI into CC for USE=headers-only bootstrap step as we don't have cross-compiler yet. Tested by successfully bootstrapping cross-compiler on CHOST=i686-pc-linux-gnu CTARGET=mips64-unknown-linux-gnu Package-Manager: Portage-2.3.26, Repoman-2.3.7
* sys-libs/glibc: log when ebuild overrides CC/CFLAGSSergei Trofimovich2018-03-301-4/+15
| | | | Package-Manager: Portage-2.3.26, Repoman-2.3.7
* sys-libs/glibc: skip real tests for USE=headers-only flavourSergei Trofimovich2018-03-221-0/+3
| | | | Package-Manager: Portage-2.3.24, Repoman-2.3.6
* sys-libs/glibc: Allow parallel testing again, otherwise it's just too ↵Andreas K. Hüttel2018-02-101-1/+1
| | | | | | painful(tm) Package-Manager: Portage-2.3.24, Repoman-2.3.6
* sys-libs/glibc: unbreak cross-compilationSergei Trofimovich2018-02-061-6/+6
| | | | | | | | | do_run_test() was called unconditionally for all CBUILD/CHOST/CTARGET combinations. This broke pkg_setup() for cross-*/glibc ebuild. Change moves do_run_test() back under native guard. Package-Manager: Portage-2.3.24, Repoman-2.3.6
* sys-libs/glibc: restore ability to switch single->multiple ABIsSergei Trofimovich2018-02-031-4/+10
| | | | | | | | | | | | | To recover broken system automatically from bug #646424 we need to skip IA32 ABI checks as those require multiabi glibc checks at glibc build time. There is no need to impose it as a requirement. Fail test only if it compiled successfully and failed at runtime. Bug: https://bugs.gentoo.org/326693 Bug: https://bugs.gentoo.org/646424 Package-Manager: Portage-2.3.20, Repoman-2.3.6
* sys-libs/glibc: cleanup: use [[, not [Sergei Trofimovich2018-02-031-1/+1
| | | | Package-Manager: Portage-2.3.20, Repoman-2.3.6
* sys-libs/glibc: unbreak installation of non-default ABIs, bug #646424Sergei Trofimovich2018-02-031-0/+2
| | | | | | | | | | multilib.eclass has a EMULTILIB_PKG="true" knob to declare package as multilib-compatible. This knob was lost in glibc-2.27 in commit e77866cf2155f9b9a74c015589f3ac95a8edc2be ("sys-libs/glibc: Various cleanups. Work in progress.") Closes: https://bugs.gentoo.org/646424 Package-Manager: Portage-2.3.20, Repoman-2.3.6
* sys-libs/glibc: Version bump. Untested, unkeyworded.Andreas K. Hüttel2018-02-021-4/+4
| | | | Package-Manager: Portage-2.3.23, Repoman-2.3.6
* sys-libs/glibc: Add bison version requirementAndreas K. Hüttel2018-02-021-0/+1
| | | | Package-Manager: Portage-2.3.23, Repoman-2.3.6
* sys-libs/glibc: One less blank lineAndreas K. Hüttel2018-01-211-1/+0
| | | | Package-Manager: Portage-2.3.19, Repoman-2.3.6
* sys-libs/glibc: reenable stack protection on mips, bug #640130Sergei Trofimovich2018-01-211-5/+0
| | | | | | | | mips and mips64 were fixed upstream in https://sourceware.org/PR22624 Bug: https://sourceware.org/PR22624 Closes: https://bugs.gentoo.org/640130 Package-Manager: Portage-2.3.19, Repoman-2.3.6
* sys-libs/glibc: Re-run sanity checks in src_unpackAndreas K. Hüttel2018-01-201-7/+8
| | | | Package-Manager: Portage-2.3.19, Repoman-2.3.6
* sys-libs/glibc: Re-add check for bug 279260, see bug 645016 comment 2Andreas K. Hüttel2018-01-201-0/+6
| | | | | | Bug: https://bugs.gentoo.org/279260 Bug: https://bugs.gentoo.org/645016 Package-Manager: Portage-2.3.19, Repoman-2.3.6
* sys-libs/glibc: Do not check for IA32 abi when merging binary packageAndreas K. Hüttel2018-01-201-1/+1
| | | | Package-Manager: Portage-2.3.19, Repoman-2.3.6