[toybox] Disable applets to avoid a QEMU/ASAN corruption 10/209510/4
authorGeunsik Lim <geunsik.lim@samsung.com>
Mon, 8 Jul 2019 08:05:42 +0000 (17:05 +0900)
committerGeunsik Lim <geunsik.lim@samsung.com>
Tue, 9 Jul 2019 00:40:57 +0000 (09:40 +0900)
commitb5ed01d446b1a32e77b23970e8003b893aa0c640
treefa3c9920894991c95fdf9d5ce28a0fc3493476f8
parent88c24ab04757d0be379739049063547bf5608f80
[toybox] Disable applets to avoid a QEMU/ASAN corruption

Fixed JIRA/TFDF-2712.

According to the log message of "gbs build" command, ASAN has a bug.
In case that ASAN meets an unexpected situation, QEMU (ARM emulator) is
suddenly broken because of the abnormal operations of ASAN.
As a result of that, we could not get any hints from ASAN.

In order to fix this issue, This commit is to disable the below applets
to avoid an unexpected situation that ASAN option results in a corruption
of the ARM QEMU emulator of Tizen.

* Changelog:
  1. Disbled optional applets that caused a QEMU/ASAN corruption
     - CONFIG_CP_MORE: Copy files with additional option(s) such as -adlnrsv
     - CONFIG_CP_PRESERVE: Copy files by taking a comma separated list of attributes
     - CONFIG_LS_COLOR: Display file(s) and folder(s) with a tty device
     - CONFIG_MKDIR_Z: Create one or more directories with a security context
     - CONFIG_MKFIFO_Z: Create FIFOs (named pp3s) with a security context
     - CONFIG_DECOMPRESS: Decompess (deflate) file(s).

  2. Updated the configuration file
     - Disabled SMACK
     - Disabled I18N

* Error message:
[39s] qemu: uncaught target signal 11 (Segmentation fault) - core dumped
[39s] scripts/make.sh: line 218: 29303 Segmentation fault
(core dumped) generated/config2help Config.in $KCONFIG_CONFIG > generated/help.h
[39s] Makefile:11: recipe for target 'toybox' failed

* How to reproduce:
  - {arch_name}: i586, x86_64, armv7l, and aarch64
  - u1604$ gbs build -A {arch_name} --include-all \
           --extra-packs asan-force-options,asan-build-env \
           --define 'asan 1'

Change-Id: I958e8db7b7b3b4a027ea4292388f264570eea372
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
packaging/config-full