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 3820E439C5; Thu, 25 Jan 2024 20:01:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7F54402D7; Thu, 25 Jan 2024 20:01:24 +0100 (CET) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id 2AB3A402AB for ; Thu, 25 Jan 2024 20:01:23 +0100 (CET) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id D451324741 for ; Thu, 25 Jan 2024 20:01:22 +0100 (CET) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id B81C224788; Thu, 25 Jan 2024 20:01:22 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL, T_SCC_BODY_TEXT_LINE autolearn=disabled version=4.0.0 X-Spam-Score: -1.4 Received: from [192.168.1.59] (h-62-63-215-114.A163.priv.bahnhof.se [62.63.215.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 57D8B2473E; Thu, 25 Jan 2024 20:01:21 +0100 (CET) Message-ID: <6de91a85-7696-410c-84d3-8bde7ab8ed05@lysator.liu.se> Date: Thu, 25 Jan 2024 20:01:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "dev@dpdk.org" From: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= Subject: DPDK LTO and semantic interpositioning Cc: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Hi. When DPDK is built configured with b_lto=true, it seems like -fno-semantic-interposition is not passed to GCC. Is this intentional? Not providing this flag prevents most cross-unit optimizations for shared objects. Best regards, Mattias