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 56317A0093 for ; Fri, 20 May 2022 22:50:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DB5E540222; Fri, 20 May 2022 22:50:16 +0200 (CEST) Received: from mail-pj1-f48.google.com (mail-pj1-f48.google.com [209.85.216.48]) by mails.dpdk.org (Postfix) with ESMTP id 93B5F40156 for ; Fri, 20 May 2022 22:50:15 +0200 (CEST) Received: by mail-pj1-f48.google.com with SMTP id l14so9027487pjk.2 for ; Fri, 20 May 2022 13:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mcIYz8zP7tH5Yl9+g9u4/v8wkCKXQ83RXYhQPvg82KM=; b=RVTX34UV51C0YDo7tcfBS4vpbs7rm3fW0B/vXHVHXfTHlK1RSxn+qOSYxcW93cz6hw WTm3iNRuJrGitNGgXr3ehtK5IegqWw1X6PWyJNS8RDdUXfKwsLgBbk3QupmbvxdKs4tk Xt5q8dEkRmwEAPIM9lrzRYWc9qUHJ70WhdarsSUikFcbY2vTFo7K3YS3p5Y1cLdfaMu9 l24iLchRo1sxqx4tgqf7uen7Tt9Y1ugvgxvI43qpb5riQfDUXAMFQYJJHeOmxxvoKgFh MsoxDdqFmlflZWuxuzKxLXxBi6BeJqq4WCcwskmN4MgybEHWqMzVD+aJ4NwJ0UcOb21J UMHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mcIYz8zP7tH5Yl9+g9u4/v8wkCKXQ83RXYhQPvg82KM=; b=YWtYaUXX6tIXleMjfsH7gbu1oRg1xGcuUVvuxI5hDG9e30YLL6Mbzm3KLWbPDwnsvq 3TWWkJDdEPO7q0v4BJXcxNL+dHN/2k97K23oEnpN2Ju+xHxlS2OOSTQa1Tz8ZjVe577J NtsnMRUlmofIab73O44Y9byBoWjLQLKhnbpwRbEVjWwfX9ACthYtsRcTS13mVSWDcR81 +mdwk/5EC/imFo4SKhOhQpFA4qOO5l+9C1mc+9nvV2Tuy6W7vrJPo2E+vuFAiHv0TPyJ cO6v3JSI6SOO/ErulV98Wi6tSrzt/0/bjEcQKGQE8xJLM7XpO6SNvuDlmrriCmYyFD7c NfHQ== X-Gm-Message-State: AOAM532ux7vF8D8KDInfBVCSERPdEnSL4YfGmpkBO0JzbL/bsaE8ZzsW ewpFOr3dLvsOevKS5BdffdVArw== X-Google-Smtp-Source: ABdhPJxFv1doxssm6doFa/znM5Iu9S7T4uVmCKCOqrGUETT04Q0dbyBJsJMHAoo5vOheTHk2f1VfzQ== X-Received: by 2002:a17:902:db0b:b0:161:a751:9e23 with SMTP id m11-20020a170902db0b00b00161a7519e23mr11458171plx.44.1653079813291; Fri, 20 May 2022 13:50:13 -0700 (PDT) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id f184-20020a62dbc1000000b005184d1e838dsm2349491pfg.12.2022.05.20.13.50.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 May 2022 13:50:12 -0700 (PDT) Date: Fri, 20 May 2022 13:50:09 -0700 From: Stephen Hemminger To: YZ Xie Cc: users@dpdk.org Subject: Re: execinfo.h: No such file or directory when cross compile with musl-gcc Message-ID: <20220520135009.32899d67@hermes.local> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Thu, 21 Apr 2022 08:54:54 +0800 YZ Xie wrote: > 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 > | ^~~~~~~~~~~~ Turn off RTE_BACKTRACE don't think musl supports it