From patchwork Mon Jun 3 17:53:24 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: 801267 Delivered-To: patch@linaro.org Received: by 2002:a5d:65c4:0:b0:35b:5a80:51b4 with SMTP id e4csp2040727wrw; Mon, 3 Jun 2024 10:56:04 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCUezsekmyFdrqxaLMwZN4rw85E7WVMZnaWMT2JjiaoLKpBdcrgr/mAKZLT0ysqv/WvprojFksSWqvQszQ9gTccX X-Google-Smtp-Source: AGHT+IGlpJhjhZHhg85ABL2AFNZbHfIRGffwUbezLjoBoo2Nz2n/PqGLTvx5AO0avIteBY3+u6vH X-Received: by 2002:a05:622a:190c:b0:436:865f:323e with SMTP id d75a77b69052e-43ff527d55dmr139743521cf.24.1717437364283; Mon, 03 Jun 2024 10:56:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717437364; cv=none; d=google.com; s=arc-20160816; b=AetnRiNieMcGIolQmIXkv0XXoExkUXpmLwxV2l7fxAgNtjDOwdCqPbAdE9vtQMYWUC 2RItM8BI5VS3Q8si6k8+ef2rp0kWCPv9AUIO4SdoHyR+GYMC8yC2FRXUfqy4hxTLZRX3 L4vb8RkOqzmjVc5eFwf086pM+IVxX9/HbpPKbglvdqLLDigLdttmkfE1hqctA2y/+Y3d UaC6ecbrlZ93PWFQ344E8wdHzRqkcDx3Kwxov/8ygsbDJlvbV+TesxM+ydwjgCLAiXme svgL22CgNPLS1oL3S44gaSFDH5RCV41Oi5efzn4vX4KVnDBOvTZY90gp45SrmvpfdRnI tYXA== 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=8KRfXE/oVtlnzDt4+VcBXOC8p+C9OfeddYY4ThUlh64=; fh=HJqc5qYFd/scMkQBf/UelovXBjCeVlEwEJ30qXf23sQ=; b=jWQhWYryOKKqyhb9olLRx2r9M9TFo18W8PXZ5SxCKv/o8lyFAg5EBg/hxfVLb5ILcW sNG7Cr2aTv563VPaPIlOhVWE8qiDqmcTjkekLYI8eGuk0huc93wRmiLxKSTzDD/nl0iB U6WgS0FPlI+H5WTzpLe/I4xKzyt7TWMwM6LBPQOPiG3HnlVulqCQEVeLmuwPlbU2H3Sq EtPdkuW8dqkqsDWWeVNnB2+O/52O6Da81E64pnltF0FCRwd6rPuv1vJP/gZ1EMC/3KP/ VNkc5b+d38rzhR9yMRf0EkBEsPXc1SPVdOLsN9jwdIUvc1oT/nTpLi9qvSVt8/ckSHQn AjYA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=BB6MK6n1; 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 d75a77b69052e-43ff25822b9si92209571cf.466.2024.06.03.10.56.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 03 Jun 2024 10:56:04 -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=BB6MK6n1; 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 1sEBsc-0007B9-On; Mon, 03 Jun 2024 13:53:58 -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 1sEBsL-00070M-Vl for qemu-devel@nongnu.org; Mon, 03 Jun 2024 13:53:42 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEBsH-00009t-7g for qemu-devel@nongnu.org; Mon, 03 Jun 2024 13:53:41 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-42121d27861so1167275e9.0 for ; Mon, 03 Jun 2024 10:53:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717437215; x=1718042015; 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=8KRfXE/oVtlnzDt4+VcBXOC8p+C9OfeddYY4ThUlh64=; b=BB6MK6n1YqKqv9uB5WscHGQ0SaLj/vATi5ZC24gilyxpSrDC6NiV/hN2WWZeqw+h0A F9Pw038Cw39oE+2NrXoNjJlRgCQFqkldjUlgyLhSyEy79D0kiAmhvnm0kRI2tpF7p9fh asUXLrqmJpLTfSKuSzMBw01lkzaqQzy/KtRH+jNERnLKCIJ0/AgFvyyVjOCFgUk4nkb0 0fhqCUV3ZFLUwYgWe+Urd0MYK8P0KwSiDjwe/t2G5kF75CGyvsqR7Ep3IrH08TcIT/6k EtpBl93egESRnDTwNddw3blDNtfj7/pXHyhCW5rJ7fuKD0F+CKR6ishbkKOdM5oh+gcc Up9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717437215; x=1718042015; 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=8KRfXE/oVtlnzDt4+VcBXOC8p+C9OfeddYY4ThUlh64=; b=nUfHdl5DjoJkWt140jAii7V6GTjMv+86Uiw8dkER3ZhKnzsX8xmvOBn02UYsqeA5W5 Auqac9zKYr8J3TFcAadwGC3UYScm4MGo763/1fvVZlGmx8T/k25v1BRW1+KrPXaiovS/ XhV1Svtn9cDfF9MSNVx5SPvWvHMwgG5knG3eGlHk56bkgduEQXEuGfhXh1e9P4ojeN65 f7ZcceRxwMBGKmbM1jMvuRNgfNBO+QRvJb2cNDRE9MUpiD9mxNHl9RUuxpXtg7xDLnbd OuUJufqsfPq7IrPVb94cZV5FNbq1psOiGKl5Mgj7ulqk97s2vDYUX8vG/VbL/UuMm5CC m4gA== X-Gm-Message-State: AOJu0YyWbM5OIOrHWi7pS2DQRxqv5qAtvoK8I14SbK8+kc1VOoWzhDej RmzzAUePWrXvMI0JN8g3j8kQnIYeKic9loDVovnAFurBOctA9fTW/zeQU12L7Mc= X-Received: by 2002:a05:600c:474a:b0:41b:285:8417 with SMTP id 5b1f17b1804b1-4212e0be702mr69738275e9.40.1717437215050; Mon, 03 Jun 2024 10:53:35 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4212b85c628sm125954845e9.25.2024.06.03.10.53.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 10:53:31 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 47C145FA01; Mon, 3 Jun 2024 18:53:29 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Markus Armbruster , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Richard Henderson , John Snow , Mark Cave-Ayland , Peter Maydell , Laurent Vivier , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Paolo Bonzini , qemu-arm@nongnu.org, Joel Stanley , Thomas Huth , =?utf-8?q?Da?= =?utf-8?q?niel_P=2E_Berrang=C3=A9?= , Marcin Juszkiewicz , Aurelien Jarno , Pavel Dovgalyuk , Wainer dos Santos Moschetta , =?utf-8?q?Alex_Benn?= =?utf-8?q?=C3=A9e?= , Cleber Rosa , Leif Lindholm , qemu-s390x@nongnu.org, Beraldo Leal , Jiaxun Yang , Radoslaw Biernacki Subject: [PATCH v3 08/12] .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=function in the clang-system job Date: Mon, 3 Jun 2024 18:53:24 +0100 Message-Id: <20240603175328.3823123-9-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240603175328.3823123-1-alex.bennee@linaro.org> References: <20240603175328.3823123-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x329.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=unavailable 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 --- .gitlab-ci.d/buildtest.yml | 1 + 1 file changed, 1 insertion(+) 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