Wind River Support Network

HomeDefectsLIN1021-11551
Fixed

LIN1021-11551 : elfutils-native: fail to build on RHEL8 hosts

Created: Oct 9, 2024    Updated: Nov 28, 2024
Resolved Date: Nov 20, 2024
Found In Version: 10.21.20.23
Fix Version: 10.21.20.24
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Userspace

Description

On RHEL8 hosts
1, setup.sh --dl-layers --machines qemux86-64 --distro wrlinux
2, bitbake elfutils-native

| gcc -D_GNU_SOURCE -DHAVE_CONFIG_H -DLOCALEDIR='"/build/standard_rootfs/build/tmp-glibc/work/x86_64-linux/elfutils-native/0.183-r0.xcs0/recipe-sysroot-native/usr/share/locale"' -I. -I../../elfutils-0.183/libdwfl -I.. -I. -I../../elfutils-0.183/libdwfl -I../../elfutils-0.183/lib -I.. -I../../elfutils-0.183/libdwfl -I../../elfutils-0.183/libdwfl/../libelf -I../../elfutils-0.183/libdwfl/../libebl -I../../elfutils-0.183/libdwfl/../libdw -I../../elfutils-0.183/libdwfl/../libdwelf -I../../elfutils-0.183/libdwfl/../debuginfod -isystem/build/standard_rootfs/build/tmp-glibc/work/x86_64-linux/elfutils-native/0.183-r0.xcs0/recipe-sysroot-native/usr/include -std=gnu99 -Wall -Wshadow -Wformat=2 -Wold-style-definition -Wstrict-prototypes -Wtrampolines -Wlogical-op -Wduplicated-cond -Wnull-dereference -Wimplicit-fallthrough=5 -Werror -Wunused -Wextra -Wstack-usage=262144 -D_FORTIFY_SOURCE=2 -isystem/build/standard_rootfs/build/tmp-glibc/work/x86_64-linux/elfutils-native/0.183-r0.xcs0/recipe-sysroot-native/usr/include -O2 -pipe -c -o dwfl_end.os -fPIC -DPIC -DSHARED -DSYMBOL_VERSIONING ../../elfutils-0.183/libdwfl/dwfl_end.c
| In file included from ../../elfutils-0.183/libdwfl/zstd.c:4:
| ../../elfutils-0.183/libdwfl/gzip.c:53:11: fatal error: zstd.h: No such file or directory
| 53 | # include <zstd.h>
| | ^~~~~~~~
| compilation terminated.
Live chat
Online