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 1B88B455F2 for ; Thu, 11 Jul 2024 13:39:40 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 171BA4065B; Thu, 11 Jul 2024 13:39:40 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id EC29F4021F for ; Thu, 11 Jul 2024 13:39:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1720697978; 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=X6u0enAlgXoiNKj2Ov9TtLlhMwL8FdbamPIa9dhRXog=; b=DU/sYEuJ7oh75wreYC+hRIUxgkvzBbi6b87MkoWp5mRpvGtFEAh9fs+YEDLM+0QPmj5MvJ f3r71xDGXME/f8D4IKt2mbR65JN44gC5I9xOyeTeUGW3nlCT/fHFm9GByKU8mMzM02J0+O i9Eaqb+zEwuQYKQmJPK2ud7fvTp9MFo= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-54-tAuxDV2pMUCgtxxAiQz4Vw-1; Thu, 11 Jul 2024 07:39:37 -0400 X-MC-Unique: tAuxDV2pMUCgtxxAiQz4Vw-1 Received: by mail-lj1-f199.google.com with SMTP id 38308e7fff4ca-2ee87069f27so6411641fa.2 for ; Thu, 11 Jul 2024 04:39:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720697976; x=1721302776; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=X6u0enAlgXoiNKj2Ov9TtLlhMwL8FdbamPIa9dhRXog=; b=UElCQ2hdNFNdXBV7mV822tOp/eLTAhiOx7w+CkLm+D2HXkQaT1pVVR+O/EHMVKQtDQ gOpfgZepibi1o0Q36geJlomLH0GXgi+P69K+jQ2mdTORGcyA+/icAcDOQwkJ74PaX5hV wP0kMrt7dbtYToJUkBwaFpMia6UTRrKJwQnwN05gM3jDPLOF+Rkoej4xgZq11pI+vpOL bkK/yOM9+jxcjvzbg7Nq5tMSg4bP+5dDsmDO5QRkIO3B5eXUwd4WJuCprOaO/ntbltdF eH3bdJW6EZNzXtPGnXxWYrnmpU/Q7z6ZYMuwtBuED7NmHppK2xY6X9ukQ8SeX5z/DyR4 p06A== X-Forwarded-Encrypted: i=1; AJvYcCXW8Nto5yYeeAEsxQDe8hdFu3phn0HH+MKmCQFkDmmlQIPxvp8Cd8g4R8t9Dgv/zF6farZDCPDhopf6Fw19WeY= X-Gm-Message-State: AOJu0Yx7agv02qmz0aEhuiyKGj2l1rYG/68j8oml8rfeO1Jl7akh9Tgi 43WLaX1MAcIA+wcoakEMTopmoLIUxZ+VmHEDhtvmBfm2j+NlSJk+hrN4w4m61nLCGaFnJgMRSBn FVPxg/SzI1fR5mRDzzJrI/Ob6139WOBF5XNQRwsjY/xE+Yjk+qSaMQ8ekKtm/mAd2HV0pODdoNT iw83HrIAxRRbd9ieLz7Es= X-Received: by 2002:a2e:9495:0:b0:2ec:1ce8:9a7d with SMTP id 38308e7fff4ca-2eeb30b83f4mr54528241fa.4.1720697975873; Thu, 11 Jul 2024 04:39:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjFqsJqxuWcgtRxHwikO1kScFhz/FGrHkl3Kn0+UtgU54fsUOzy0pnx2QPw4PVFe2p9Jlk5mTmbvN00HX1fWo= X-Received: by 2002:a2e:9495:0:b0:2ec:1ce8:9a7d with SMTP id 38308e7fff4ca-2eeb30b83f4mr54528141fa.4.1720697975510; Thu, 11 Jul 2024 04:39:35 -0700 (PDT) MIME-Version: 1.0 References: <20240701103315.835249-1-mingjinx.ye@intel.com> <20240705082550.1670765-1-mingjinx.ye@intel.com> In-Reply-To: <20240705082550.1670765-1-mingjinx.ye@intel.com> From: David Marchand Date: Thu, 11 Jul 2024 13:39:23 +0200 Message-ID: Subject: Re: [PATCH v3] buildtools: fix invalid symbols To: Mingjin Ye Cc: dev@dpdk.org, alialnu@nvidia.com, stable@dpdk.org, Dmitry Kozlyuk X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Fri, Jul 5, 2024 at 10:49=E2=80=AFAM Mingjin Ye = wrote: > > In scenarios where a higher clang compiler is used and ASAN is enabled, > the generated ELF file will additionally insert undefined debug symbols > with the same prefix. This causes duplicate C code to be generated. > > This patch fixes this issue by skipping the unspecified symbol type. You did not reply to my comments on v3 and here we have a new hack. This hack is ugly and not future proof (I can imagine some other symbols may appear in the future. If those symbols are not of type "STT_NOTYPE" we will have to find another filter at this point...). Please have a try with: https://patchwork.dpdk.org/project/dpdk/patch/20240711113851.975368-1-david= .marchand@redhat.com/ Thanks. --=20 David Marchand