Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
9c778285
Commit
9c778285
authored
Jun 09, 2021
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added comments to some BUILD scripts
parent
193bfdd8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
BUILD/compile-pentium64-asan-max
BUILD/compile-pentium64-asan-max
+6
-1
BUILD/compile-pentium64-ubsan
BUILD/compile-pentium64-ubsan
+8
-0
No files found.
BUILD/compile-pentium64-asan-max
View file @
9c778285
...
...
@@ -17,7 +17,12 @@
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
extra_flags
=
"
$pentium64_cflags
$debug_cflags
-lasan -O -g -fsanitize=address -USAFEMALLOC -UFORCE_INIT_OF_VARS -Wno-uninitialized -Wno-maybe-uninitialized"
#
# Enable AddressSanitzer, a fast memory error detector.
# Detects "Out of bounds" and "use-after-free" memory errors
#
extra_flags
=
"
$pentium64_cflags
$debug_cflags
-lasan -O -g -fsanitize=address -USAFEMALLOC -UFORCE_INIT_OF_VARS -Wno-uninitialized -Wno-maybe-uninitialized -DMYSQL_SERVER_SUFFIX=-asan-max"
extra_configs
=
"
$pentium_configs
$debug_configs
$valgrind_configs
$max_configs
$disable_asan_plugins
"
export
LDFLAGS
=
"-ldl"
...
...
BUILD/compile-pentium64-ubsan
View file @
9c778285
...
...
@@ -23,6 +23,14 @@
path
=
`
dirname
$0
`
.
"
$path
/SETUP.sh"
#
# Enable UBSAN, UndefinedBehaviorSanitizer. Detects undefined behavior like:
# - Using misaligned or null pointer
# - Signed integer overflow
# - Conversion to, from, or between floating-point types which would overflow
# the destination
#
extra_flags
=
"
$pentium64_cflags
$debug_cflags
-fsanitize=undefined -DWITH_UBSAN -Wno-conversion -Wno-uninitialized"
extra_configs
=
"
$pentium_configs
$debug_configs
-DWITH_UBSAN=ON -DMYSQL_MAINTAINER_MODE=NO --without-spider"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment