SOURCES (MYSQL_5_0): mysql-alpha-stack.patch (NEW) - another ugly hack for ...

glen glen at pld-linux.org
Thu Oct 30 12:01:08 CET 2008


Author: glen                         Date: Thu Oct 30 11:01:08 2008 GMT
Module: SOURCES                       Tag: MYSQL_5_0
---- Log message:
- another ugly hack for the insane alpha stacksize:
builder2 at pld-alpha ~$ ulimit -s
8192
builder2 at pld-alpha ~$ make
sh -c 'ulimit -s'
18014398509481983
builder2 at pld-alpha ~$ cat Makefile
all:
   sh -c 'ulimit -s'
Actual error from build:
./gen_lex_hash > lex_hash.h-t
gen_lex_hash: allocatestack.c:404: allocate_stack: Assertion `size != 0' failed.
Abort

---- Files affected:
SOURCES:
   mysql-alpha-stack.patch (NONE -> 1.1.2.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/mysql-alpha-stack.patch
diff -u /dev/null SOURCES/mysql-alpha-stack.patch:1.1.2.1
--- /dev/null	Thu Oct 30 12:01:08 2008
+++ SOURCES/mysql-alpha-stack.patch	Thu Oct 30 12:01:02 2008
@@ -0,0 +1,11 @@
+--- mysql-5.0.68/sql/Makefile.am~	2008-10-29 05:57:43.000000000 +0000
++++ mysql-5.0.68/sql/Makefile.am	2008-10-30 13:47:56.000000000 +0000
+@@ -167,7 +167,7 @@
+ # this avoid the rebuild of the built files in a source dist
+ lex_hash.h:	gen_lex_hash.cc lex.h
+ 		$(MAKE) $(AM_MAKEFLAGS) gen_lex_hash$(EXEEXT)
+-		./gen_lex_hash$(EXEEXT) > $@-t
++		sh -c 'ulimit -s 8192; ./gen_lex_hash$(EXEEXT) > $@-t'
+ 		$(MV) $@-t $@
+ 
+ # For testing of udf_example.so
================================================================


More information about the pld-cvs-commit mailing list