summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* eclass/toolchain-glibc.eclass: prefixify etc/init.d/nscdBenda Xu2017-09-121-1/+1
| | | | | Credit: Martin Mokrejš Bug: 608234
* glibc: disable stack protector on ARCH=ppcSergei Trofimovich2017-09-101-1/+13
| | | | | | | | | | Currently gcc on powerpc32 generates invalid code for __builtin_return_address(0) calls. Normally programs don't do that but malloc() hooks in glibc do: Bug: https://gcc.gnu.org/PR81996 Bug: https://bugs.gentoo.org/629054 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
* toolchain-glibc.eclass: Do not export any phases in EAPI=6. Well. Nearly.Andreas K. Hüttel2017-09-091-1/+8
|
* toolchain-glibc.eclass: remove special-casing of -freorder-blocks on ARCH=ppcSergei Trofimovich2017-08-261-3/+0
| | | | | | | -freorder-blocks is enabled by default on -O and upper. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* toolchain-glibc.eclass: fix libm.so symlinking for live glibcSergei Trofimovich2017-08-081-2/+6
| | | | | | | | | | | | | | | The failure happens when live glibc-9999 ebuild is installed: * QA Notice: Missing gen_usr_ldscript for libm-2.26.90.so * ERROR: sys-libs/glibc-9999::gentoo failed: * add those ldscripts The problem here is how upstream glibc version is detected: dosym ../../$(get_libdir)/libm-${PV}.so $(alt_usrlibdir)/libm-${PV}.so Change to use 'version.h' to pick upstream version. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* eclass/toolchain-glibc.eclass: skip pie check for gcc-6 or newerMatthias Maier2017-06-161-8/+14
| | | | | | | | | | | | For gcc-6 and newer the old logic in the toolchain-glibc eclass: if use hardened && gcc-specs-pie ; then append-cppflags -DPIC else filter-flags -fPIE fi is obsolete. Simply disable the check.
* eclass/toolchain-glibc.eclass: use tc-enables-pie instead of gcc-specs-pieMatthias Maier2017-06-161-2/+2
|
* toolchain-glibc.eclass: Always enable stack guard randomization (bug #621742).Arfrever Frehtes Taifersar Arahesis2017-06-161-1/+6
| | | | Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* toolchain-glibc.eclass: Build most of >=sys-libs/glibc-2.25 with ↵Arfrever Frehtes Taifersar Arahesis2017-06-161-3/+14
| | | | | | | | | | -fstack-protector-all (bug #609048). configure accepts --enable-stack-protector=... option which results in build system passing appropriate -fstack-protector... option when possible. Signed-off-by: Matthias Maier <tamiko@gentoo.org>
* toolchain-glibc.eclass: Fix typos in comments.Arfrever Frehtes Taifersar Arahesis2017-06-031-5/+5
|
* toolchain-glibc.eclass: Replace evar_* with local variablesMichał Górny2017-04-141-3/+1
| | | | | | Use local variable to limit the scope of ABI variable override. This is a builtin bash solution that is reliable and simple, unlike the complex evar_* logic that unnecessarily pollutes global variables.
* sys-libs/glibc: [QA] Convert from eblits to eclass, #586422Michał Górny2017-03-241-0/+1404