sysota elf strip failed if built with clang
The module affected
sysota:do_package
What is the action to reproduce the bug?
build oniro with llvm/clang
What is the result you see?
DEBUG: Executing python function perform_packagecopy
DEBUG: Python function perform_packagecopy finished
DEBUG: Executing python function split_and_strip_files
DEBUG: runstrip: ['x86_64-oniro-linux-musl-llvm-strip', '--remove-section=.comment', '--remove-section=.note', '/mnt/builds/oniroproject/goofy/builds/build-clang/tmp/work/qemux86_64-oniro-linux-musl/sysota/git-r0/package/usr/libexec/sysota/sysota-mux']
ERROR: Fatal errors occurred in subprocesses:
Command '['x86_64-oniro-linux-musl-llvm-strip', '--remove-section=.comment', '--remove-section=.note', '/mnt/builds/oniroproject/goofy/builds/build-clang/tmp/work/qemux86_64-oniro-linux-musl/sysota/git-r0/package/usr/libexec/sysota/sysota-mux']' returned non-zero exit status 1.
Subprocess output:x86_64-oniro-linux-musl-llvm-strip: error: SHT_STRTAB string table section [index 8] is non-null terminated
What is the result you expect?
successful build
Frequency?
always
Tested version
Build Configuration:
BB_VERSION = "2.0.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "gentoo-2.8"
TARGET_SYS = "x86_64-oniro-linux-musl"
MACHINE = "qemux86-64"
DISTRO = "oniro-linux"
DISTRO_VERSION = "2.0.0-alpha"
TUNE_FEATURES = "m64 core2"
TARGET_FPU = ""
meta-oniro-staging = "HEAD:45c52fbe6b7d46b0e17603d2d82aa81284fb3a78"
meta = "HEAD:1b8f96be67ec7f5f69abad25d235b2c211520146"
meta-arm
meta-arm-toolchain = "HEAD:b838d40efe06c839d58cf39b785175d0ba7518c6"
meta-clang = "HEAD:61bc6944e0962b45431d3f400ce5e0e15b85a03c"
meta-zephyr-bsp
meta-zephyr-core = "HEAD:df59d82772fd67b8fc1d30d97917305be0f49675"
meta-oniro-core = "HEAD:45c52fbe6b7d46b0e17603d2d82aa81284fb3a78"
meta-freertos = "HEAD:98a6838261d36b8f79c5fbae1736492169727a1e"
meta-intel = "HEAD:fb23bc3e661685383edd3026e21ca25825c48bc4"
meta-seco-intel = "HEAD:65a673560211b11986db5785c70254fad190785f"
meta-freescale = "HEAD:6f27a6fb2511bc1ac206efe8196f6e73b33b1dce"
meta-seco-imx = "HEAD:b82eaf8b0a2abe775c158b0a069b7bb7894ec8e6"
meta-oe
meta-filesystems
meta-networking
meta-perl
meta-python = "HEAD:5357c7a40eaf8d1bcf7ff58edbba8e9527e40c7d"
meta-raspberrypi = "HEAD:0135a02ea577bd39dd552236ead2c5894d89da1d"
meta-security = "HEAD:93f2146211001ee3cf697d8428969cc3069ed6ba"
meta-riscv = "HEAD:70e099d7ceca52a1dde2c978713012f6b20a9891"
meta-rauc = "HEAD:4429bd1f29677c9a7de032d53240fb4791a41e1f"
Do you know any workaround of this issue?
No
Do you have a fix for this issue?
no