diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-11-20 20:44:33 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-11-20 20:44:33 +0000 |
commit | c4762a7916d8a10d9084d1c26d05097747bea901 (patch) | |
tree | a7d544a60b95e8f6a046fd12d7ff141eb970312e /eclass | |
parent | Fix sed line, closes bug #246753. (diff) | |
download | historical-c4762a7916d8a10d9084d1c26d05097747bea901.tar.gz historical-c4762a7916d8a10d9084d1c26d05097747bea901.tar.bz2 historical-c4762a7916d8a10d9084d1c26d05097747bea901.zip |
Disable some parts of SSP per bug #246652 with GCC3 as they cause NDB failures.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/mysql.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass index dbef0c5d9dd0..0e9cc051006e 100644 --- a/eclass/mysql.eclass +++ b/eclass/mysql.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.100 2008/11/14 22:07:03 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.101 2008/11/20 20:44:33 robbat2 Exp $ # Author: Francesco Riosa (Retired) <vivo@gentoo.org> # Maintainer: MySQL Team <mysql-bugs@gentoo.org> @@ -644,6 +644,12 @@ mysql_src_compile() { # glib-2.3.2_pre fix, bug #16496 append-flags "-DHAVE_ERRNO_AS_DEFINE=1" + # As discovered by bug #246652, doing a double-level of SSP causes NDB to + # fail badly during cluster startup. + if [[ $(gcc-major-version) -lt 4 ]]; then + filter-flags "-fstack-protector-all" + fi + CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing" CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti" mysql_version_is_at_least "5.0" \ |