Revert "gperftools: add package providing tcmalloc_minimal"
Revert "Add TCMALLOC_SUPPORT parameter to add libtcmalloc_minimal to the image"
This reverts commits:
85e3d8d4e0780c7a3db0d6d915d0cc
Move the check if arm-mem should be included from virtual/libc
to config/options and set the ARM_MEM_SUPPORT variable accordingly.
This makes it possible to opt-out of using arm-mem which can
be helpful for performance testing and debugging (eg valgrind
doesn't play nicely with it).
Signed-off-by: Matthias Reichl <hias@horus.com>
ARMv8.0-A cpus have an optional LSE feature. This is mandatory in
ARMv8.1-A. By default, gcc will attempt to build support for runtime
detection of the LSE feature on ARMv8.0-A. This causes build failures
when attempting to create a 64-bit userland.
Test packages for this failure include gdb and mesa. Errors manifest
as undefined references to "__aarch64_cas4_acq_rel" or
"__aarch64_swp4_acq_rel" at compile time.
Disable runtime detection to always use its fallback by adding
-mno-outline-atomics to cflags.
Signed-off-by: Ian Leonard <antonlacon@gmail.com>