UBSAN doesn't print stack traces by default. Enable them.
The GLib slice allocator must be disabled for proper leak checks and
must be instructed to always use malloc instead.
Change-Id: Ic4fe5ad38aa4460fbe43858b97226cce7d658038
To get better backtraces we should build with -ggdb and -O0. And to
avoid gcc's ASAN implementation erroring out due to libasan not being
passed first as part of LD_PRELOAD, we disable the check via
ASAN_OPTIONS.
Change-Id: I6e8c422fef3c8fdcdc20e815292ffca4f6d6becb
We need to pass these on through environment otherwise we are overriding
the whole build flags.
Change-Id: I3fd856af2624f84afe73427dfb359e8bfc3acaa8
Fixes: commit f791bf03f9
The Ubuntu release used does not have the required package, so we need
to disable it via our build-profile.
Change-Id: I7b929bf5b8cfc60a75e72cbd3b92036cb28d4066
Fixes: commit f791bf03f9