summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorunknown <acurtis/antony@ltamd64.xiphis.org>2007-01-23 08:34:50 -0800
committerunknown <acurtis/antony@ltamd64.xiphis.org>2007-01-23 08:34:50 -0800
commitdd5523d997621304d9d7509feb79891e9e6459a0 (patch)
tree274747a8baf36e5536819ec0f9b46ba1cb5960c5 /BUILD
parentc64b504af0b6647aa0a79643be85787bd96a3acf (diff)
parentd48e864f2faf06867988e5b9b9346a56fb86b818 (diff)
downloadmariadb-git-dd5523d997621304d9d7509feb79891e9e6459a0.tar.gz
Merge xiphis.org:/home/antony/work2/p1-bug25396.4
into xiphis.org:/home/antony/work2/p1-bug25396.5 sql/ha_ndbcluster.cc: Auto merged sql/mysqld.cc: Auto merged
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/compile-amd64-valgrind-max24
1 files changed, 24 insertions, 0 deletions
diff --git a/BUILD/compile-amd64-valgrind-max b/BUILD/compile-amd64-valgrind-max
new file mode 100755
index 00000000000..962d0f17b04
--- /dev/null
+++ b/BUILD/compile-amd64-valgrind-max
@@ -0,0 +1,24 @@
+#! /bin/sh
+
+path=`dirname $0`
+. "$path/SETUP.sh"
+
+extra_flags="$amd64_cflags $debug_cflags $valgrind_flags"
+extra_configs="$amd64_configs $debug_configs $max_configs"
+
+. "$path/FINISH.sh"
+
+if test -z "$just_print"
+then
+ set +v +x
+ echo "\
+******************************************************************************
+Note that by default BUILD/compile-pentium-valgrind-max calls 'configure' with
+--enable-assembler. When Valgrind detects an error involving an assembly
+function (for example an uninitialized value used as an argument of an
+assembly function), Valgrind will not print the stacktrace and 'valgrind
+--gdb-attach=yes' will not work either. If you need a stacktrace in those
+cases, you have to run BUILD/compile-pentium-valgrind-max with the
+--disable-assembler argument.
+******************************************************************************"
+fi