mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
16de8b37f8
is involving an assembly function. Testcase was BUG#1194 SELECT @a:=1; SELECT @a, @a:=1; BUILD/compile-pentium-valgrind-max: a warning note about Valgrind&assembly.
37 lines
1.6 KiB
Bash
Executable file
37 lines
1.6 KiB
Bash
Executable file
#! /bin/sh
|
|
|
|
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.
|
|
********************************************************************************
|
|
"
|
|
|
|
path=`dirname $0`
|
|
. "$path/SETUP.sh"
|
|
|
|
extra_flags="$pentium_cflags $debug_cflags -USAFEMALLOC -DHAVE_purify"
|
|
c_warnings="$c_warnings $debug_extra_warnings"
|
|
cxx_warnings="$cxx_warnings $debug_extra_warnings"
|
|
extra_configs="$pentium_configs $debug_configs"
|
|
|
|
extra_configs="$extra_configs --with-berkeley-db --with-innodb --with-embedded-server --with-openssl"
|
|
|
|
. "$path/FINISH.sh"
|
|
|
|
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.
|
|
********************************************************************************
|
|
"
|