packages (MYSQL_5_1): mysql/mysql.spec, mysql/gcc-ice.patch (NEW) - avoid I...

glen glen at pld-linux.org
Sun Mar 13 18:00:11 CET 2011


Author: glen                         Date: Sun Mar 13 17:00:11 2011 GMT
Module: packages                      Tag: MYSQL_5_1
---- Log message:
- avoid ICE for gcc 3.3

---- Files affected:
packages/mysql:
   mysql.spec (1.496.2.8 -> 1.496.2.9) , gcc-ice.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mysql/mysql.spec
diff -u packages/mysql/mysql.spec:1.496.2.8 packages/mysql/mysql.spec:1.496.2.9
--- packages/mysql/mysql.spec:1.496.2.8	Sat Mar 12 15:52:45 2011
+++ packages/mysql/mysql.spec	Sun Mar 13 18:00:06 2011
@@ -68,6 +68,7 @@
 Patch10:	%{name}-alpha.patch
 Patch11:	%{name}-upgrade.patch
 Patch12:	%{name}-config.patch
+Patch13:	gcc-ice.patch
 Patch14:	%{name}-bug-43594.patch
 Patch15:	plugin-avoid-version.patch
 Patch16:	%{name}-fix-dummy-thread-race-condition.patch
@@ -140,7 +141,7 @@
 BuildRequires:	perl-devel >= 1:5.6.1
 BuildRequires:	readline-devel >= 4.2
 BuildRequires:	rpm-perlprov >= 4.1-13
-BuildRequires:	rpmbuild(macros) >= 1.414
+BuildRequires:	rpmbuild(macros) >= 1.453
 BuildRequires:	sed >= 4.0
 BuildRequires:	zlib-devel
 Requires(post,preun):	/sbin/chkconfig
@@ -562,6 +563,9 @@
 %patch9 -p1
 %patch11 -p1
 %patch12 -p1
+%if "%{cc_version}" < "3.4"
+%patch13 -p1
+%endif
 %patch14 -p0
 %patch15 -p1
 %patch16 -p1
@@ -1221,6 +1225,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.496.2.9  2011/03/13 17:00:06  glen
+- avoid ICE for gcc 3.3
+
 Revision 1.496.2.8  2011/03/12 14:52:45  glen
 - update percona patches
 

================================================================
Index: packages/mysql/gcc-ice.patch
diff -u /dev/null packages/mysql/gcc-ice.patch:1.1.2.1
--- /dev/null	Sun Mar 13 18:00:11 2011
+++ packages/mysql/gcc-ice.patch	Sun Mar 13 18:00:06 2011
@@ -0,0 +1,27 @@
+avoid gcc 3.3 ICE:
+
+ccache i686-pld-linux-g++ -DHAVE_CONFIG_H -I. -I../../include -I../../include -I../../include -I../../regex -I./include -I../../sql -I.     -O2 -march=i686 -gdwarf-2 -g2  -fPIC -fno-implicit-templates -fno-rtti -fno-exceptions   -fno-implicit-templates -fno-exceptions -fno-rtti -MT libinnobase_a-i_s.o -MD -MP -MF .deps/libinnobase_a-i_s.Tpo -c -o libinnobase_a-i_s.o `test -f 'handler/i_s.cc' || echo './'`handler/i_s.cc
+handler/i_s.cc: In function `int i_s_innodb_schema_table_fill(THD*,
+   TABLE_LIST*, COND*)':
+handler/i_s.cc:3682: internal compiler error: in expected_value_to_br_prob, at
+   predict.c:705
+Please submit a full bug report,
+with preprocessed source if appropriate.
+See <URL:http://bugs.pld-linux.org/> for instructions.
+make[2]: *** [libinnobase_a-i_s.o] Error 1
+make[2]: Leaving directory `/home/glen/rpm/pld/BUILD/mysql-5.1.55/storage/innodb_plugin'
+make[1]: *** [all-recursive] Error 1
+make[1]: Leaving directory `/home/glen/rpm/pld/BUILD/mysql-5.1.55/storage'
+make: *** [all-recursive] Error 1
+error: Bad exit status from /home/glen/tmp/rpm-tmp.36429 (%build)
+
+--- mysql-5.1.55/storage/innodb_plugin/Makefile.am	2011-03-13 18:13:02.230037916 +0200
++++ mysql-5.1.55/storage/innodb_plugin/Makefile.am	2011-03-13 18:10:17.299219863 +0200
+@@ -326,6 +326,7 @@
+ 			ut/ut0vec.c			\
+ 			ut/ut0wqueue.c
+ 
++CXXFLAGS +=	-O0
+ libinnobase_a_CXXFLAGS=	$(AM_CXXFLAGS)
+ libinnobase_a_CFLAGS=	$(AM_CFLAGS)
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mysql/mysql.spec?r1=1.496.2.8&r2=1.496.2.9&f=u



More information about the pld-cvs-commit mailing list