List:Commits« Previous MessageNext Message »
From:Joerg Bruehe Date:July 30 2009 3:29pm
Subject:bzr commit into mysql-5.1 branch (joerg:2961) Bug#42213
View as plain text  
#At file:///MySQL/REPO/V51/push-5.1/ based on revid:joerg@stripped

 2961 Joerg Bruehe	2009-07-30 [merge]
      Merge the fix for bug#42213 up into 5.1-build:
         Check for "stack overrun" doesn't work, server crashes

    modified:
      config/ac-macros/misc.m4
=== modified file 'config/ac-macros/misc.m4'
--- a/config/ac-macros/misc.m4	2009-03-25 13:23:47 +0000
+++ b/config/ac-macros/misc.m4	2009-07-30 15:24:09 +0000
@@ -456,6 +456,10 @@ fi
 AC_DEFUN([MYSQL_STACK_DIRECTION],
  [AC_CACHE_CHECK(stack direction for C alloca, ac_cv_c_stack_direction,
  [AC_TRY_RUN([#include <stdlib.h>
+ /* Prevent compiler optimization by HP's compiler, see bug#42213 */
+#if defined(__HP_cc) || defined (__HP_aCC) || defined (__hpux)
+#pragma noinline
+#endif
  int find_stack_direction ()
  {
    static char *addr = 0;


Attachment: [text/bzr-bundle] bzr/joerg@mysql.com-20090730152409-ko4up2l6jceuszgf.bundle
Thread
bzr commit into mysql-5.1 branch (joerg:2961) Bug#42213Joerg Bruehe30 Jul