1 |
robbat2 08/11/20 20:44:33 |
2 |
|
3 |
Modified: mysql.eclass |
4 |
Log: |
5 |
Disable some parts of SSP per bug #246652 with GCC3 as they cause NDB failures. |
6 |
|
7 |
Revision Changes Path |
8 |
1.101 eclass/mysql.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.101&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.101&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.100&r2=1.101 |
13 |
|
14 |
Index: mysql.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v |
17 |
retrieving revision 1.100 |
18 |
retrieving revision 1.101 |
19 |
diff -p -w -b -B -u -u -r1.100 -r1.101 |
20 |
--- mysql.eclass 14 Nov 2008 22:07:03 -0000 1.100 |
21 |
+++ mysql.eclass 20 Nov 2008 20:44:33 -0000 1.101 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2007 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.100 2008/11/14 22:07:03 robbat2 Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.101 2008/11/20 20:44:33 robbat2 Exp $ |
27 |
|
28 |
# Author: Francesco Riosa (Retired) <vivo@g.o> |
29 |
# Maintainer: MySQL Team <mysql-bugs@g.o> |
30 |
@@ -644,6 +644,12 @@ mysql_src_compile() { |
31 |
# glib-2.3.2_pre fix, bug #16496 |
32 |
append-flags "-DHAVE_ERRNO_AS_DEFINE=1" |
33 |
|
34 |
+ # As discovered by bug #246652, doing a double-level of SSP causes NDB to |
35 |
+ # fail badly during cluster startup. |
36 |
+ if [[ $(gcc-major-version) -lt 4 ]]; then |
37 |
+ filter-flags "-fstack-protector-all" |
38 |
+ fi |
39 |
+ |
40 |
CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing" |
41 |
CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti" |
42 |
mysql_version_is_at_least "5.0" \ |