~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to BUILD/compile-amd64-valgrind-max

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
path=`dirname $0`
 
4
. "$path/SETUP.sh"
 
5
 
 
6
extra_flags="$amd64_cflags $debug_cflags $valgrind_flags"
 
7
extra_configs="$amd64_configs $debug_configs $max_configs"
 
8
 
 
9
. "$path/FINISH.sh"
 
10
 
 
11
if test -z "$just_print"
 
12
then
 
13
  set +v +x
 
14
  echo "\
 
15
******************************************************************************
 
16
Note that by default BUILD/compile-pentium-valgrind-max calls 'configure' with
 
17
--enable-assembler. When Valgrind detects an error involving an assembly
 
18
function (for example an uninitialized value used as an argument of an
 
19
assembly function), Valgrind will not print the stacktrace and 'valgrind
 
20
--gdb-attach=yes' will not work either. If you need a stacktrace in those
 
21
cases, you have to run BUILD/compile-pentium-valgrind-max with the
 
22
--disable-assembler argument.
 
23
******************************************************************************"
 
24
fi