From nobody Mon Feb 9 02:43:30 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1679312469; cv=none; d=zohomail.com; s=zohoarc; b=Eb77dH52DoTFIMe/unoHts8y8T5r+XUyLi9L3A8tAM3axIlAZhGKXbY8fCVbauE5ZAdfZaE1pV8E3t8ZxSnC8YisM91ycRKjvV1GClo/fJhABlNr8EbhdLSraCAS4rjdr0ruUNSEHBdutgM/n0ERPmk4vZrsa9htiw7xgDR/YEI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1679312469; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Ae5enRT2EIhXzu6tQBLMIztFMbhCX/AIJN32WWWDmWg=; b=R1XcvRAUzMa76t9itb7KgBw7Mkny6eDFMWJ/5a2V9V3RMANMBg+GnvQWsm1npNsyduNY72SYSX/RXkvNG9tc3SL/ycmcwl8XB0u5mfx+gRADsxzayWYs5L6MUnhOrtMbW62hfekGjt8Cx76Eh5IH6S5jVnasAVMcJ0WwCwAv9Ek= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1679312469479767.8853223180811; Mon, 20 Mar 2023 04:41:09 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-533-hD06JH7WNkKhTosMv2nFzQ-1; Mon, 20 Mar 2023 07:40:15 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 105E7100DEC1; Mon, 20 Mar 2023 11:40:13 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 96246140EBF4; Mon, 20 Mar 2023 11:40:12 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7DC2D1946A6A; Mon, 20 Mar 2023 11:40:11 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id CC92F1946594 for ; Mon, 20 Mar 2023 11:40:09 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id AFBE9492C14; Mon, 20 Mar 2023 11:40:09 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id A83E0492C13 for ; Mon, 20 Mar 2023 11:40:09 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8CA0E3822DE2 for ; Mon, 20 Mar 2023 11:40:09 +0000 (UTC) Received: from mail-ed1-f69.google.com (mail-ed1-f69.google.com [209.85.208.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-56-v0N65SuiOP-5wtPxqRgVcQ-1; Mon, 20 Mar 2023 07:40:08 -0400 Received: by mail-ed1-f69.google.com with SMTP id c1-20020a0564021f8100b004acbe232c03so16785590edc.9 for ; Mon, 20 Mar 2023 04:40:08 -0700 (PDT) Received: from wheatley.localdomain (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id yj8-20020a170907708800b00930170bc292sm4284563ejb.22.2023.03.20.04.40.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Mar 2023 04:40:06 -0700 (PDT) Received: from wheatley.redhat.com (wheatley.k8r.cz [127.0.0.1]) by wheatley.localdomain (Postfix) with ESMTP id 42F2EE94C429 for ; Mon, 20 Mar 2023 12:40:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1679312468; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Ae5enRT2EIhXzu6tQBLMIztFMbhCX/AIJN32WWWDmWg=; b=FwzZ0M7TDUusR9WqayTWRoz0+73yvmUjDQc2h6TZGY1MHetG5CB9/TodhTG8l1g2EgRud6 E4uEa0h4m+JO5tiTg5PJWCUje7kr4U/RAu732pRaudR0AyjFeA2MTLeVN1idZ3+SK3Zi6O DNpFRdL+HxJeu8vF0OzYX41se8muh+c= X-MC-Unique: hD06JH7WNkKhTosMv2nFzQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: v0N65SuiOP-5wtPxqRgVcQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679312407; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ae5enRT2EIhXzu6tQBLMIztFMbhCX/AIJN32WWWDmWg=; b=fDZjgrDQmmvhPJ6gl6DATt63h9emgDaEf5ONJyLrJpTOh4ShWU3Sr8ki4p1GUXAwxk ZCiR9ZjO/gpsOVTbWMGKo8I1OMFtLLJX/8Chm5ApTHABw86h54ux2yZM/YOIKpuePWmo cBrDxI2n98oDVM5FhXm7qvZUcII0L5CUR7gSc2wn7Mel5tEtvwCNev3bdkqc7ISRTU1t MA1EKTc+YBFQcV5IEd3BzUV4BFUXQhPCDw32lSjtIq2iJ7u5Wo80g4qUcB0d7bhNdwPe 2+oibleBYoZLxifmcZZ8JJUTyhD6W0QK4Bb1tPv/r+l1Q+nCAyN/DLioJoRX2cp4prw+ V3oQ== X-Gm-Message-State: AO0yUKWPurDp+ghhj5pE86QJZKlQFyJll0+b7ImgL4INkoiTT3Ys6qrd LGnoryi+xSc0oAT5eLqdResOdcnfHy7T9KHHFGffODO7VkAuWthxcqLyMoa6EAfteL58pNChgZo kMLpjy479FjX9lj7KrcXy7kMSTjv4GTJddI7YTuThx1Ndq05k+VZdRgXLJDg4PdsqJi5GMYOSo+ /7pKbQWQ== X-Received: by 2002:a17:906:4e8e:b0:933:9b39:8efa with SMTP id v14-20020a1709064e8e00b009339b398efamr4468642eju.20.1679312407219; Mon, 20 Mar 2023 04:40:07 -0700 (PDT) X-Google-Smtp-Source: AK7set/2r5tIrDNamfx9XNIdgtBH7cv2RGTnjO0VFmvHdyAPeZZDEgOrNple7zsT0tSAtLhmg6Jg0g== X-Received: by 2002:a17:906:4e8e:b0:933:9b39:8efa with SMTP id v14-20020a1709064e8e00b009339b398efamr4468624eju.20.1679312406944; Mon, 20 Mar 2023 04:40:06 -0700 (PDT) From: Martin Kletzander To: libvir-list@redhat.com Subject: [PATCH 2/2] Revert "meson: stop CLang doing inter-procedural analysis" Date: Mon, 20 Mar 2023 12:39:56 +0100 Message-Id: <6418a0077caf2ef6a5dde0a78576fe71baa910b8.1679312019.git.mkletzan@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1679312471058100001 Content-Type: text/plain; charset="utf-8"; x-default="true" This reverts commit f9f5ab57189b9c378d1893cf302865ac9b88bbbc. This should not be needed any more thanks to previous commit (util: Separate numactl and stubs into different source files) and future issue should be fixed the same way as in that commit. Signed-off-by: Martin Kletzander --- meson.build | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/meson.build b/meson.build index c35823a79aa8..319ed790f941 100644 --- a/meson.build +++ b/meson.build @@ -404,26 +404,6 @@ cc_flags +=3D [ '-Wwrite-strings', ] =20 -if cc.get_id() =3D=3D 'clang' - # Stop CLang from doing inter-procedural analysis of calls - # between functions in the same compilation unit. Such an - # optimization has been know to break the test suite by - # making assumptions that a return value is a constant. - # This makes it impossible to mock certain functions with - # replacement definitions via LD_PRELOAD that have different - # semantics. - # - # This is a bit of a big hammer, but alternatives don't work: - # - # - 'weak' attribute - weak symbols get dropped from - # when the .a libs are combined into the .so - # see commit 407a281a8e2b6c5078ba1148535663ea64fd9314 - # - # - 'noipa' attribute - only available with GCC currently - # https://reviews.llvm.org/D101011 - cc_flags +=3D [ '-fsemantic-interposition' ] -endif - supported_cc_flags =3D [] if get_option('warning_level') =3D=3D '2' supported_cc_flags =3D cc.get_supported_arguments(cc_flags) --=20 2.40.0