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 2416DA0540 for ; Thu, 7 Jul 2022 11:48:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F1B7D406B4; Thu, 7 Jul 2022 11:48:05 +0200 (CEST) Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) by mails.dpdk.org (Postfix) with ESMTP id 5DF03406B4 for ; Thu, 7 Jul 2022 11:48:05 +0200 (CEST) Received: by mail-lj1-f177.google.com with SMTP id a11so21548236ljb.5 for ; Thu, 07 Jul 2022 02:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v5Nwz/zPVSVM04IiGEDaqNvkEq97NApV1w9Vja61GVI=; b=j2dAx++yk4gJilnribHpRLaNbDLyxJfHSnMNzq4mvkn/8pPuYr7QC1iybyGBH2TLWO VW/0TimFXeqFyOmp9qtpj/5qZLExLAmRqo9JJ9sw/4ZB33rgXm3DmZ2rm+R1Wbs0+Eoj KEM5n9BTK5B0Mpt77WXbB3qPfz6l0tUn+KmdbRA1UxF5VBXiIXw8DQjp7HS0kdkBcqPW bCBwkzcEJy0Z1jtG3NfCP0hae9ubvZDfAcGGlIO7BtcA8bt9behDjEbH7UvBjvpQO0Ey 8a7Fcnv8JyrIih2TeRgwgfg+APi8NNaf9AjAPQru6EhPT5w+W+QSUlTu6FxXrQJzldtT aODg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=v5Nwz/zPVSVM04IiGEDaqNvkEq97NApV1w9Vja61GVI=; b=wGtFtl2FHXYmsSiDOHDIEersWMbFZOjYNv11P9b1eF/k3t3VB66OHeVblANbgFEGUd 75Ol8WILXBafhDiet6M3fxlCKtXXTQBf2MwnIZ2C+N2RuYuTJm8Z2yEEPzQfqGQNSUKZ riZanYKNnNynm15DhHF3zJutgtCdUfjGwOCPMnN1HUZAWQ72VD0it3nJXNYM93w/eHUa st23cE/SWQeITTC8FBm+NOF0ii5XZKV1akpX+OZQh83wqEucAvzBsGwhRJ/xKE0dLJYR 0GwTOYr2IZBN1v1rZBuGjxXTtGjfoP0KhgbHK178S9ouZYgrSSckVb6Uf/rmUquQud2b jEAw== X-Gm-Message-State: AJIora+rWWUClaHpeMii6NOfnTF+nYc9OGby928spMnOqvgo5U3fx+UE J27ku2EsoUFnBPvdUhbD4rUYGaAyrKDAtCne X-Google-Smtp-Source: AGRyM1spjL1HP6cN6tR2J1w15ukNb2lY1KwoxkBe2SBTiPBsh5DiNl1+hCAHiwxksfX08Sa/Pgkumg== X-Received: by 2002:a05:651c:b0e:b0:25a:96d0:162a with SMTP id b14-20020a05651c0b0e00b0025a96d0162amr26341928ljr.163.1657187284788; Thu, 07 Jul 2022 02:48:04 -0700 (PDT) Received: from toster.office.semihalf.net ([83.142.187.84]) by smtp.gmail.com with ESMTPSA id h28-20020ac24d3c000000b00488e50527e0sm99484lfk.112.2022.07.07.02.48.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 02:48:04 -0700 (PDT) From: Stanislaw Kardach To: stable@dpdk.org Cc: Stanislaw Kardach , Christian Ehrhardt , Bruce Richardson Subject: [PATCH 19.11] config: fix C++ cross compiler for ARM Date: Thu, 7 Jul 2022 11:47:56 +0200 Message-Id: <20220707094756.20142-1-kda@semihalf.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org [ upstream commit f75dd6d3b1215c2e7cdbdc290b5789517c8cfe10 ] Through some mixup all cross-files for ARM platform were using C Preprocessor (cpp) instead of GCC (g++). This caused meson to fail detecting the C++ compiler presence and therefore disabling some targets (i.e. C++ include file checks). Fixes: e53a5299d219 ("build: support vendor specific ARM cross builds") Signed-off-by: Stanislaw Kardach Acked-by: Bruce Richardson --- config/arm/arm64_armada_linux_gcc | 2 +- config/arm/arm64_armv8_linux_gcc | 2 +- config/arm/arm64_bluefield_linux_gcc | 2 +- config/arm/arm64_dpaa_linux_gcc | 2 +- config/arm/arm64_emag_linux_gcc | 2 +- config/arm/arm64_n1sdp_linux_gcc | 2 +- config/arm/arm64_octeontx2_linux_gcc | 2 +- config/arm/arm64_thunderx2_linux_gcc | 2 +- config/arm/arm64_thunderx_linux_gcc | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/config/arm/arm64_armada_linux_gcc b/config/arm/arm64_armada_linux_gcc index fa40c0398f..d78c99e8e8 100644 --- a/config/arm/arm64_armada_linux_gcc +++ b/config/arm/arm64_armada_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-ar' as = 'aarch64-linux-gnu-as' strip = 'aarch64-linux-gnu-strip' diff --git a/config/arm/arm64_armv8_linux_gcc b/config/arm/arm64_armv8_linux_gcc index 88f0ff9dae..057d70bbdd 100644 --- a/config/arm/arm64_armv8_linux_gcc +++ b/config/arm/arm64_armv8_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-gcc-ar' strip = 'aarch64-linux-gnu-strip' pkgconfig = 'aarch64-linux-gnu-pkg-config' diff --git a/config/arm/arm64_bluefield_linux_gcc b/config/arm/arm64_bluefield_linux_gcc index 86797d23cd..616e633495 100644 --- a/config/arm/arm64_bluefield_linux_gcc +++ b/config/arm/arm64_bluefield_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-gcc-ar' strip = 'aarch64-linux-gnu-strip' pkgconfig = 'aarch64-linux-gnu-pkg-config' diff --git a/config/arm/arm64_dpaa_linux_gcc b/config/arm/arm64_dpaa_linux_gcc index 1a46821543..0108bb952a 100644 --- a/config/arm/arm64_dpaa_linux_gcc +++ b/config/arm/arm64_dpaa_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-ar' as = 'aarch64-linux-gnu-as' strip = 'aarch64-linux-gnu-strip' diff --git a/config/arm/arm64_emag_linux_gcc b/config/arm/arm64_emag_linux_gcc index 8edcd3e976..3bb5134224 100644 --- a/config/arm/arm64_emag_linux_gcc +++ b/config/arm/arm64_emag_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-gcc-ar' strip = 'aarch64-linux-gnu-strip' pkgconfig = 'aarch64-linux-gnu-pkg-config' diff --git a/config/arm/arm64_n1sdp_linux_gcc b/config/arm/arm64_n1sdp_linux_gcc index 022e063039..421d06c77f 100644 --- a/config/arm/arm64_n1sdp_linux_gcc +++ b/config/arm/arm64_n1sdp_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-gcc-ar' strip = 'aarch64-linux-gnu-strip' pkgconfig = 'aarch64-linux-gnu-pkg-config' diff --git a/config/arm/arm64_octeontx2_linux_gcc b/config/arm/arm64_octeontx2_linux_gcc index 365bd7cbdd..0d7a66c97e 100644 --- a/config/arm/arm64_octeontx2_linux_gcc +++ b/config/arm/arm64_octeontx2_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-gcc-ar' strip = 'aarch64-linux-gnu-strip' pkgconfig = 'aarch64-linux-gnu-pkg-config' diff --git a/config/arm/arm64_thunderx2_linux_gcc b/config/arm/arm64_thunderx2_linux_gcc index 2b41acc615..24346ffe71 100644 --- a/config/arm/arm64_thunderx2_linux_gcc +++ b/config/arm/arm64_thunderx2_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-gcc-ar' strip = 'aarch64-linux-gnu-strip' pkgconfig = 'aarch64-linux-gnu-pkg-config' diff --git a/config/arm/arm64_thunderx_linux_gcc b/config/arm/arm64_thunderx_linux_gcc index 6572ab615d..cbf60bac73 100644 --- a/config/arm/arm64_thunderx_linux_gcc +++ b/config/arm/arm64_thunderx_linux_gcc @@ -1,6 +1,6 @@ [binaries] c = 'aarch64-linux-gnu-gcc' -cpp = 'aarch64-linux-gnu-cpp' +cpp = 'aarch64-linux-gnu-g++' ar = 'aarch64-linux-gnu-gcc-ar' strip = 'aarch64-linux-gnu-strip' pkgconfig = 'aarch64-linux-gnu-pkg-config' -- 2.34.1