Hi,
I get errors like “please update secclass_map” when I am building kernel for dragonboard410c, this failure is reproducible 100%. I am surprized why there is no one report such an issue.
Code base is:
http://git.linaro.org/landing-teams/working/qualcomm/kernel.git
branch from:
origin/release/android/qcomlt-4.14
I followed instructions from -
and
I also have done a lot of searches through internet, but I really can’t find a clue… Any help is highly appreciated!
The last commit in the repo is from Anibal.Limon
commit e140f00a458974656b1eafa54e819b74fe86044c (HEAD -> release/android/qcomlt-4.14, origin/release/android/qcomlt-4.14)
Author: Aníbal Limón <anibal.limon@linaro.org>
Date: Thu Jun 18 11:10:10 2020 -0500
qcom_defconfig: Disable CONFIG_ION_SYSTEM_HEAP
Disable it because audioserver/codec2 won't start and it will
bring down the whole system.
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Here are my build steps:
export ARCH=arm64
export PATH=/work/tools/gcc-linaro-7.2.1-2017.11-x86_64_aarch64-linux-gnu/bin/:$PATH
export CROSS_COMPILE=aarch64-linux-gnu-
make distclean
KERNEL_CONFIGS=KERNEL_CONFIGS_arm64
make qcom_defconfig android-recommended.config android-recommended-arm64.config android-base.config
make -j16
I also tried with bellow steps, a little different in configurations:
make distclean
make qcom_defconfig android-base.config android-recommended.config
make -j16
Both will report error like “please update secclass_map”
In file included from scripts/selinux/mdp/mdp.c:49:
./security/selinux/include/classmap.h:247:2: error: #error New address family defined, please update secclass_map.
247 | #error New address family defined, please update secclass_map.
| ^~~~~
In file included from scripts/selinux/genheaders/genheaders.c:19:
./security/selinux/include/classmap.h:247:2: error: #error New address family defined, please update secclass_map.
247 | #error New address family defined, please update secclass_map.