# git rev-parse -q --verify 71025b8565a383223ea2d94325db37cdabbcc453^{commit} 71025b8565a383223ea2d94325db37cdabbcc453 already have revision, skipping fetch # git checkout -q -f -B kisskb 71025b8565a383223ea2d94325db37cdabbcc453 # git clean -qxdf # < git log -1 # commit 71025b8565a383223ea2d94325db37cdabbcc453 # Author: Pierre-Clément Tosi # Date: Mon Jun 26 12:29:46 2023 +0000 # # scripts/mksysmap: Ignore prefixed KCFI symbols # # The (relatively) new KCFI feature in LLVM/Clang encodes type information # for C functions by generating symbols named __kcfi_typeid_, which # can then be referenced from assembly. However, some custom build rules # (e.g. nVHE or early PIE on arm64) use objcopy to add a prefix to all the # symbols in their object files, making mksysmap's ignore filter miss # those KCFI symbols. # # Therefore, explicitly list those twice-prefixed KCFI symbols as ignored. # # Alternatively, this could also be achieved in a less verbose way by # ignoring any symbol containing the string "__kcfi_typeid_". However, # listing the combined prefixes explicitly saves us from running the small # risk of ignoring symbols that should be kept. # # Signed-off-by: Pierre-Clément Tosi # Reviewed-by: Sami Tolvanen # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 71025b8565a383223ea2d94325db37cdabbcc453 # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # < make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 160 ARCH=powerpc O=/kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- Completed OK # rm -rf /kisskb/build/kbuild_powernv_defconfig_powerpc-gcc5 # Build took: 0:02:29.242538