[packages/percona-server/v5.0.x: 90/202] - another ugly hack for the insane alpha stacksize:

glen glen at pld-linux.org
Wed Oct 21 16:16:35 CEST 2015


commit 1a60a264499b0bbebfcffcccd1c2ccd4711d8637
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Thu Oct 30 11:01:02 2008 +0000

    - 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
    
    Changed files:
        mysql-alpha-stack.patch -> 1.1.2.1

 mysql-alpha-stack.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/mysql-alpha-stack.patch b/mysql-alpha-stack.patch
new file mode 100644
index 0000000..ccbcc32
--- /dev/null
+++ b/mysql-alpha-stack.patch
@@ -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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/percona-server.git/commitdiff/431f68fe79a66d5dfdd53f2655709e6c925fbc22



More information about the pld-cvs-commit mailing list