DPDK usage discussions
 help / color / mirror / Atom feed
* execinfo.h: No such file or directory when cross compile with musl-gcc
@ 2022-04-21  0:54 YZ Xie
  2022-04-21  1:20 ` Stephen Hemminger
  2022-05-20 20:50 ` Stephen Hemminger
  0 siblings, 2 replies; 3+ messages in thread
From: YZ Xie @ 2022-04-21  0:54 UTC (permalink / raw)
  To: users

[-- Attachment #1: Type: text/plain, Size: 2411 bytes --]

platform:generic
arch:aarch64
cpu:'armv8-a

compile error log:
FAILED: lib/librte_eal.a.p/eal_linux_eal_debug.c.o
aarch64-openwrt-linux-musl-gcc -Ilib/librte_eal.a.p -Ilib -I../lib -I. -I..
-Iconfig -I../config -Ilib/eal/include -I../lib/eal/include
-Ilib/eal/linux/include -I../lib/eal/linux/include -Ilib/eal/arm/include
-I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal
-I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics
-Ilib/telemetry -I../lib/telemetry
-I/root/src/software/openwrt-sdk-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64/staging_dir/target-aarch64_generic_musl/usr/include
-I/root/src/software/openwrt-sdk-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64/staging_dir/toolchain-aarch64_generic_gcc-11.2.0_musl/usr/include
-I/root/src/software/openwrt-sdk-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64/staging_dir/toolchain-aarch64_generic_gcc-11.2.0_musl/include/fortify
-I/root/src/software/openwrt-sdk-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64/staging_dir/toolchain-aarch64_generic_gcc-11.2.0_musl/include
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -include rte_config.h -Wcast-qual -Wdeprecated -Wformat
-Wformat-nonliteral -Wformat-security -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wold-style-definition
-Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings
-Wno-address-of-packed-member -Wno-packed-not-aligned
-Wno-missing-field-initializers -Wno-zero-length-bounds -D_GNU_SOURCE -Os
-pipe -mcpu=generic -fno-caller-saves -fno-plt -fhonour-copts
-Wno-error=unused-but-set-variable -Wno-error=unused-result
-ffile-prefix-map=/root/src/software/openwrt-sdk-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64/build_dir/target-aarch64_generic_musl/dpdk-22.03=dpdk-22.03
-Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1
-Wl,-z,now -Wl,-z,relro -fPIC -march=armv8-a+crc -moutline-atomics
-DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation
'-DABI_VERSION="22.1"' -DRTE_LIBEAL_USE_GETENTROPY
-DRTE_LOG_DEFAULT_LOGTYPE=lib.eal -MD -MQ
lib/librte_eal.a.p/eal_linux_eal_debug.c.o -MF
lib/librte_eal.a.p/eal_linux_eal_debug.c.o.d -o
lib/librte_eal.a.p/eal_linux_eal_debug.c.o -c ../lib/eal/linux/eal_debug.c
../lib/eal/linux/eal_debug.c:6:10: fatal error: execinfo.h: No such file or
directory
    6 | #include <execinfo.h>
      |          ^~~~~~~~~~~~

[-- Attachment #2: Type: text/html, Size: 3653 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-05-20 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-21  0:54 execinfo.h: No such file or directory when cross compile with musl-gcc YZ Xie
2022-04-21  1:20 ` Stephen Hemminger
2022-05-20 20:50 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).