From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E1570A00C3 for ; Thu, 21 Apr 2022 02:55:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7BACD410E1; Thu, 21 Apr 2022 02:55:21 +0200 (CEST) Received: from mail-yw1-f173.google.com (mail-yw1-f173.google.com [209.85.128.173]) by mails.dpdk.org (Postfix) with ESMTP id 07C4B40C35 for ; Thu, 21 Apr 2022 02:55:20 +0200 (CEST) Received: by mail-yw1-f173.google.com with SMTP id 00721157ae682-2ec42eae76bso36368787b3.10 for ; Wed, 20 Apr 2022 17:55:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=BPwNuDGmTyoNzRlSwzCBKD3003q65oHsZlMo2NdR4Ik=; b=dbErMxJm5WE/e8TsC3y70+dmE50AXswDrl2h+hWwV7Jnokqpu6A1kNzW6unXjpg4Ff 5ektEgdaKZYRmzEpBnsT6xzzmDVw/ehTETV1iwFWVrAhJx4WJbiE4Ueix3kP1zOQAlmD CpkSGNzD0wXiKXNABxy/P1XmyW+32kwJiZuJQC5wUf2Nsz2X5tXFx5DVYiN/GwwEhafI tDOENamu/eEs2Ij0qRqGaG4mtYUNYhPkWlwF7f0YERgPHa9yV23C8qxPa2L5+D0fWDIc NEbmrq6V/jnLAq/1SxY7PN3KPEA+ZSR4DJQa7teX7FoFS+f4G+NIiP57nB/uNoimFruA 2s+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BPwNuDGmTyoNzRlSwzCBKD3003q65oHsZlMo2NdR4Ik=; b=Edbgp/I7l7AxuSox4EjcFddF522hlrcyc9KxDfGACfaMa3ulFJCFcS9QOc5RGQfzwC w6wqSRGFgv6NfbM61JKxOFDtDW1IrGnD20oJBe7WRqLczdqLWo9p5tpnPXLw+ZDTxZeG Tu08A2D4Bj7NJ+cXrkSYDXCjDZwRiZjzNkMoOVQidHy+Fi0DMpnq5f6xy00JdJDdnALd QJjA9YQ7rp0cN8dShWYgfyv9Rd5mkzzlH+PvGPhzmb7Ms6HuEWgxRlwGX4j/U3cWRCSM IY7rlyVOVuQbbOcBVpA5j1ThUTz60ynd4AZxgxSHnFXZIe7k93jyHQBzu6/tkw3ca9bp CfAQ== X-Gm-Message-State: AOAM531+aVjt/VoFypgEQBRdaTNFnwZwHdDN4srvbjWzA7nghCobE+Um ldXQ3IHJVLi57S/M8ggH9ImWBlPqe6o1E1pp60SDWq50kaw= X-Google-Smtp-Source: ABdhPJytI+LHOvQA/EA/r5FI6VkooZ7Z88XWRETHiJ177uTFAxgEmgZhV+UcgPR0mRWWI12+K4iJLq1R152fstDxcK4= X-Received: by 2002:a81:1051:0:b0:2f1:c98e:7964 with SMTP id 78-20020a811051000000b002f1c98e7964mr11083761ywq.261.1650502519270; Wed, 20 Apr 2022 17:55:19 -0700 (PDT) MIME-Version: 1.0 From: YZ Xie Date: Thu, 21 Apr 2022 08:54:54 +0800 Message-ID: Subject: execinfo.h: No such file or directory when cross compile with musl-gcc To: users@dpdk.org Content-Type: multipart/alternative; boundary="0000000000005cb31105dd1f9035" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --0000000000005cb31105dd1f9035 Content-Type: text/plain; charset="UTF-8" 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 | ^~~~~~~~~~~~ --0000000000005cb31105dd1f9035 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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/lib= rte_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 -Il= ib/eal/arm/include -I../lib/eal/arm/include -Ilib/eal/common -I../lib/eal/c= ommon -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I.= ./lib/metrics -Ilib/telemetry -I../lib/telemetry -I/root/src/software/openw= rt-sdk-rockchip-armv8_gcc-11.2.0_musl.Linux-x86_64/staging_dir/target-aarch= 64_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_mus= l/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/i= nclude -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvali= d-pch -Wextra -include rte_config.h -Wcast-qual -Wdeprecated -Wformat -Wfor= mat-nonliteral -Wformat-security -Wmissing-declarations -Wmissing-prototype= s -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -W= strict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wn= o-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-length-bound= s -D_GNU_SOURCE -Os -pipe -mcpu=3Dgeneric -fno-caller-saves -fno-plt -fhono= ur-copts -Wno-error=3Dunused-but-set-variable -Wno-error=3Dunused-result -f= file-prefix-map=3D/root/src/software/openwrt-sdk-rockchip-armv8_gcc-11.2.0_= musl.Linux-x86_64/build_dir/target-aarch64_generic_musl/dpdk-22.03=3Ddpdk-2= 2.03 -Wformat -Werror=3Dformat-security -fstack-protector -D_FORTIFY_SOURCE= =3D1 -Wl,-z,now -Wl,-z,relro -fPIC -march=3Darmv8-a+crc -moutline-atomics -= DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-D= ABI_VERSION=3D"22.1"' -DRTE_LIBEAL_USE_GETENTROPY -DRTE_LOG_D= EFAULT_LOGTYPE=3Dlib.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/ea= l_debug.c:6:10: fatal error: execinfo.h: No such file or directory
=C2= =A0 =C2=A0 6 | #include <execinfo.h>
=C2=A0 =C2=A0 =C2=A0 | =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~~~~~~~~~~
--0000000000005cb31105dd1f9035--