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 3500D429AE for ; Fri, 21 Apr 2023 16:14:50 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0D4CA4113C; Fri, 21 Apr 2023 16:14:50 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id AEBBF410FB for ; Fri, 21 Apr 2023 16:14:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1682086488; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nb8nzltLzS6xedDeyQUKDxb4+U17sTVcHKd55sCsCh0=; b=UZIw3UYqcgaF4SHryL8vD+wQSp6fI6vP9tW1sjnoDRUsB5p+FDlfKOCH2SbFhyrDAKaFMJ bSwXZUUIYDpjnfUBa7CKcu2HIzNlh823906XREX5CNaM7ySf/HeLy3zYNS1JSs/kesyJlb c/6RfAxaRmK+ac+rz4xs6teOvwbYZn0= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-671-YqY-hzMfPoewbqz8Rkl5Yw-1; Fri, 21 Apr 2023 10:14:45 -0400 X-MC-Unique: YqY-hzMfPoewbqz8Rkl5Yw-1 Received: by mail-wm1-f72.google.com with SMTP id 5b1f17b1804b1-3f065208a64so11003155e9.3 for ; Fri, 21 Apr 2023 07:14:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682086483; x=1684678483; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=nb8nzltLzS6xedDeyQUKDxb4+U17sTVcHKd55sCsCh0=; b=b99t9G++uFq3of/IKJM6/sNuFkYQFt5LfsZ/B4dYgqcFCJe7Kwiixn/zePDF+95tVb j4nN70qDz181NzTdCzn1hW/BgmNcaiGNfhzIC92817fwXA/Y137OvlRBpRXHKJNqrIin lXBMhqUcR5Cfx8pWiMMYMAwGDe1fseNcE65CmBM6BXLXY/RPaC+SWCcKPrhaVYnOt3AG UiO46UG7V/2YPf95Aw9nlNBZR86xoT7qbgba6s7DUn+xzpDAA1PyHMi6cpPJkk1oM5ok pa4E87rV/XTvoiHEkreCUt4l9HINYdWi7AwVnvji9VkVCcwQqTFzSKzqQffirTW5du2M O/bg== X-Gm-Message-State: AAQBX9fFKpAbF5/q4i0vpUJYZJ7g7KnjH4z1VEhDMkN6Ni+cNXsnYFFM GOC4/A6r97DpB19vzW2nIEg7i1TOwuwj4+sn4e+/FbFfcMqLyElb8k/eySbeCJddTgBla/jBTGM mERwRSBPEMQ8XA7KRSyeBWS7wIAxgKzlq/6jRN05s2jPBq89w3Ay6GnxKf7nDc7ihfVE= X-Received: by 2002:a05:600c:24cd:b0:3f1:79ad:f3a8 with SMTP id 13-20020a05600c24cd00b003f179adf3a8mr1870982wmu.16.1682086483773; Fri, 21 Apr 2023 07:14:43 -0700 (PDT) X-Google-Smtp-Source: AKy350aSvv80uM8fAj1p6Z5jypbkpV/k2oJksAK6ahU1vM11fCQeZN1UYPkkRZIiORi9vrYAH1PnPg== X-Received: by 2002:a05:600c:24cd:b0:3f1:79ad:f3a8 with SMTP id 13-20020a05600c24cd00b003f179adf3a8mr1870958wmu.16.1682086483362; Fri, 21 Apr 2023 07:14:43 -0700 (PDT) Received: from [192.168.0.36] ([78.19.110.151]) by smtp.gmail.com with ESMTPSA id n16-20020a05600c181000b003f046ad52efsm8231516wmp.31.2023.04.21.07.14.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 Apr 2023 07:14:42 -0700 (PDT) Message-ID: <6712cd40-898e-0459-667b-0575a0ce00e1@redhat.com> Date: Fri, 21 Apr 2023 15:14:41 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.1 Subject: Re: [PATCH 21.11] build: detect backtrace availability From: Kevin Traynor To: stable@dpdk.org Cc: bluca@debian.org, thomas@monjalon.net, david.marchand@redhat.com, xuemingl@nvidia.com, Bruce Richardson References: <20230418090323.154351-1-ktraynor@redhat.com> In-Reply-To: <20230418090323.154351-1-ktraynor@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 18/04/2023 10:03, Kevin Traynor wrote: > From: Thomas Monjalon > > [ upstream commit bc1db4f45af35c87e7d97db7a24d479674aa8a43 ] > > Backtrace dump is available: > - always on Windows > - on Linux/BSD if execinfo.h is available (not anymore on Alpine) > > The flag RTE_BACKTRACE was set unconditionally in rte_config.h. > It is now set only if the feature is available. > > Note: Alpine Linux has decided to remove libexecinfo support, > so this change will allow to compile DPDK on recent Alpine Linux. > > Signed-off-by: Thomas Monjalon > Acked-by: Bruce Richardson > --- > This is need to fix Alpine Linux compile failure in 21.11 UNH CI [0] > Tested on 21.11-staging branch [1] > > Thomas, any objection to backporting this patch? > > [0]https://dpdkdashboard.iol.unh.edu/results/dashboard/tarballs/24280/#env-45 > > Project version: 21.11.4-rc1 > C compiler for the host machine: ccache cc > (gcc 12.2.1 "cc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924") > ... > [2604/2949] Compiling C object 'lib/76b5a35@@rte_eal@sta/eal_linux_eal_debug.c.o'. > ../lib/eal/linux/eal_debug.c:6:10: fatal error: execinfo.h: No such file or directory > 6 | #include > | ^~~~~~~~~~~~ > compilation terminated. > > [1]https://dpdkdashboard.iol.unh.edu/results/dashboard/tarballs/24284/#env-45 > --- > config/meson.build | 3 ++- > config/rte_config.h | 1 - > doc/guides/linux_gsg/sys_reqs.rst | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) Applied, thanks.