From patchwork Thu Jun 6 11:50:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 801992 Delivered-To: patch@linaro.org Received: by 2002:adf:f147:0:b0:35b:5a80:51b4 with SMTP id y7csp255126wro; Thu, 6 Jun 2024 04:52:27 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVEQjE+L7nXM7gwNQVDj1leRaGX1KvMra1KPAcjea5+lro9Y04630XUNaqWDsLDRuPnSf8p/T5QK+u4F1jQLVpO X-Google-Smtp-Source: AGHT+IEQgbRXKUUGCf0OIXw69fmXreim1yLoTKGfZRcHelnxMwkLTLIm8Qhy/AMMN6sXwImchy46 X-Received: by 2002:a05:6830:1e90:b0:6f9:3b9b:6580 with SMTP id 46e09a7af769-6f9437d7729mr5636861a34.30.1717674747625; Thu, 06 Jun 2024 04:52:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717674747; cv=none; d=google.com; s=arc-20160816; b=vzKiB9FNdRc2yJ5bN0FQnkil+T12N+/vJ+pNY7l1m8biz/Dqbcgb87Jxv8JPtGKINp /ARhISgBWgitw12Zob8M5y3C/KU5mOW0VaKOkF1i4QeTXW9GkA23agdZ7uUdvAv6iHo6 u3F5TxUjUzxrCKQAVKBPpoiEeZ50Rn9dJ+xZ2JYJOcVltFwcfZYAHDcyRQlWdJBXOMg9 6k6DgN4eoaGuckP1GmOz4DssK3utCOYPb/Le0nAYNYbQ+2tKynJhT26Uggo9L4l8mJCi Ux5+if2irEj4vDFZY+pxabLHTJcClOT9ia9yO87XiwXdhtoA+K3th7jWYixeLSLTe1bB IjAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Kb+0fTRsR51rfQqfYGIWW8wQJF7n2zwqsVXnuKE2tow=; fh=r2hhRKrNlXKqscjtnRXwkYHQBBz9bYX25wPkyZUR9iY=; b=aDz0gfkHje7Zw71KagVaWQfH7kozbCYbINfIWP22qDak4fdaDogew9eGffnhf9Xx9L zbHHavGAXzFAgNs1VARAEfQV0zQ+DcddtEraF6UH7NLJ1SgL/L8JkeG+U2KmqwU0Nm2h B+NUKkZiuSWVHHJSteLHdixM/JjGQGSVVIj2/5as/Tj2oK+Ei+gjZNkBt85FZzPu/ovb rakYde9bUcF1ao3fdueyA07VXKZD/qjqJl12ixehyxqjemQ6uZBBsNB7R0S2HVGn4cvM 2zBUGXcFRDUN17uVUD2h0bjJTyXTpmf3BJ7o3v3QjvVhcxXxBwk9m9E3T7bHnYi0pB1b 2bIw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AvKNxv7n; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-795331cacf5si132551885a.270.2024.06.06.04.52.27 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 06 Jun 2024 04:52:27 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AvKNxv7n; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFBe1-0007ka-QQ; Thu, 06 Jun 2024 07:51:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sFBdz-0007i2-NY for qemu-devel@nongnu.org; Thu, 06 Jun 2024 07:50:59 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFBdw-0000t0-Vn for qemu-devel@nongnu.org; Thu, 06 Jun 2024 07:50:59 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a6c828238dcso50807466b.0 for ; Thu, 06 Jun 2024 04:50:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717674655; x=1718279455; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Kb+0fTRsR51rfQqfYGIWW8wQJF7n2zwqsVXnuKE2tow=; b=AvKNxv7nyKC1YlOt1IjzyLTU/6j4JghGSeZi/J80SD2cGmGEpWtSGHFGDUZDLEQbtg kY0/5FV+W26XzxtP5WqFq2SHdDu76p1d2OOzaO7N0FHM2psrC94nwZdUM6z2HeW3DUaT 3RG8TPnKAanduYjQo56H3vO0ASq1Pju4s4xC98CpTxxu5QkDp3yTnnvNidgN8cJaE1r/ SwogGQKsvRDbpT2ZnI3FOZaqo7Zn2E9oHFT2UKMRsj5R+fcmmCtAFpmUV/EPH9SUT5r/ SUWTOuRHoVzCcFAVL9e+Hhb718/04F6fMTRv+MGyF1NTAj15v+m4Xx6PO+ct+1MsQgmx pfwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717674655; x=1718279455; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Kb+0fTRsR51rfQqfYGIWW8wQJF7n2zwqsVXnuKE2tow=; b=HVUT308cnq4uLHEBoNtEctXo4bGPESWcZC4ZzWn1QKzh3cBt6bq59Eye0o7p/NsYT0 VjQrnJjp7ekWlgA4vB7+6xRq46X3RoZBdFSkvLny0qdfrmhMesZVMvEaKGgTWdcPdF/F 4gBTdJL8x1g0jPQ1Z3RGp6EHS5cMDEuSFHOBJNJdifSscT3XnuqPAnYQDmfgbFnKGoJl MnMUMPRlSlT6DkZW8QBul3i2oJExKcchCwGNDlidFlIY20Z3kNqeMv30kzYdLrNIgF3S sTbpC2eywYaXdan8TOq0E68oNy6HS8aBIzLu93FF5ULYBDliW2LMMkgNH4umkRKWyAJR dtDg== X-Gm-Message-State: AOJu0YwYA1idlDwp5afA+n7EWd9RGSt4N/A5bzAa+vfXRi++U9AsS3MV nVvz0Fe38U9AE8KhyJVbv3Ic2HvZ8oQrYl6mtZyv4vtoV/sgi8Z2bMxx/P9RY0ijM0PBIb7gMlh o X-Received: by 2002:a17:906:ca8e:b0:a6c:7072:1444 with SMTP id a640c23a62f3a-a6c7072156emr205921866b.41.1717674655358; Thu, 06 Jun 2024 04:50:55 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c805c421esm87086066b.48.2024.06.06.04.50.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 04:50:52 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id A45B95FA2B; Thu, 6 Jun 2024 12:50:48 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Thomas Huth , =?utf-8?q?Daniel_P_=2E_Berrang=C3=A9?= , =?utf-8?q?Ale?= =?utf-8?q?x_Benn=C3=A9e?= , =?utf-8?q?Philippe_Math?= =?utf-8?q?ieu-Daud=C3=A9?= , Wainer dos Santos Moschetta , Beraldo Leal Subject: [PULL 08/12] .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job Date: Thu, 6 Jun 2024 12:50:43 +0100 Message-Id: <20240606115047.421045-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240606115047.421045-1-alex.bennee@linaro.org> References: <20240606115047.421045-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=alex.bennee@linaro.org; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Thomas Huth The latest version of Clang (version 18 from Fedora 40) now reports bad function pointer casts as undefined behavior. Unfortunately, we are still doing this in quite a lot of places in the QEMU code and some of them are not easy to fix. So for the time being, temporarily switch this off in the failing clang-system job until all spots in the QEMU sources have been tackled. Signed-off-by: Thomas Huth Reviewed-by: Daniel P. Berrangé Message-Id: <20240601070543.37786-4-thuth@redhat.com> Signed-off-by: Alex Bennée Message-Id: <20240603175328.3823123-9-alex.bennee@linaro.org> diff --git a/.gitlab-ci.d/buildtest.yml b/.gitlab-ci.d/buildtest.yml index 91c57efded..0eec570310 100644 --- a/.gitlab-ci.d/buildtest.yml +++ b/.gitlab-ci.d/buildtest.yml @@ -432,6 +432,7 @@ clang-system: IMAGE: fedora CONFIGURE_ARGS: --cc=clang --cxx=clang++ --extra-cflags=-fsanitize=undefined --extra-cflags=-fno-sanitize-recover=undefined + --extra-cflags=-fno-sanitize=function TARGETS: alpha-softmmu arm-softmmu m68k-softmmu mips64-softmmu s390x-softmmu MAKE_CHECK_ARGS: check-qtest check-tcg