From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1sEBlb-00031z-Cs for mharc-qemu-trivial@gnu.org; Mon, 03 Jun 2024 13:46:45 -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 1sEBlO-0002x7-Qn for qemu-trivial@nongnu.org; Mon, 03 Jun 2024 13:46:30 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sEBlE-0005Zn-BE for qemu-trivial@nongnu.org; Mon, 03 Jun 2024 13:46:22 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-356c4e926a3so3769145f8f.1 for ; Mon, 03 Jun 2024 10:46:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717436777; x=1718041577; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=7vpSiqKP2SeQR3N3rIUGIsWSyA01MJR8wqZvgPJ1Pe0=; b=EL2G3OW9/pVOsu3uN265rlgPCKFEmAeTXu6RTwggEAFYCO42mkJKMUldKewS7nBpSC 0x9Cud351QVAHrk5zkOogxbMaVPIXrlduuN4YYZV4y3MKyrG69eCeV/Dj0jWxKkbJgYf EYwkICDbg6h8GOuLW+fGl+3RV+9LNLABoj1sg6MQ5tThoEPaRScjMtu90fqf312DW7l6 AIXokD63Bwkrn6gCeSRwMCynI06hX/AF4c8pUP4o2G9G/pbDjb96mxsrKxl/kcMvgXMV Oac/bxgLtUhZXuEZkSgYJUZ3IAV9QGoV4Waou9yPGP/nGXCZHGvJRPqGXrrwHfR36g4w cZUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717436777; x=1718041577; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7vpSiqKP2SeQR3N3rIUGIsWSyA01MJR8wqZvgPJ1Pe0=; b=DVCt+50rIWAbY2dCc6AzvlUR4n8lbx32hUHONfJCXOEOAvyRNk5ZXlzbp1I0695stx LTjJaMNGVUrX3467iMFWuHGm07z7aXNO8tWK9lQCWG57rDrwibh71XfSIfDFRXbdCrC6 ytJtsg5W1tg6pP/iuhtdsANRuxGKkL4Oqee0Nc8vkMuPLP2tl5bsI68xeDMvRb+xAM+z cG8CZgIgZ/X9JyN/TIpFIpX8qhbDL5QgA47LetnNI1JAgbp4FXth9jwSTMZBi/biXWEP IzCOeEzDXrdCdzh6+Rh33sL6Q3sSwizysa2LaXwKlCyXYKtoE+G/TXMG2kHNIXCrq9nD /bWA== X-Forwarded-Encrypted: i=1; AJvYcCUcrYLz+NMlnmLWN/AggtAnU0wEmPo+Rpx8iM1MRJ/ZNULJZ19rixFiGuPWBlg+PNTjFp+7mKthfo2eQ5MBVZi7PsOEzzqQUg== X-Gm-Message-State: AOJu0YyqVbCX/bPQxz7NGFLP+wjlLQmwMLvEVi1KP0ezAbeKfxgGFfvc 5dplX8rf6vUFNuTuDBCes7EECQS9Ux5GyQPUOYEKQCIeV/B3M/vxi9H4E/eGAeE= X-Google-Smtp-Source: AGHT+IEN+XyRP7IF7QQoGnWfohTdDop8UK4FXaS7HMd0QhS3++0aB15OKw7X/HJXYUjgqZNSngs3OA== X-Received: by 2002:a5d:46d2:0:b0:355:4cb:5049 with SMTP id ffacd0b85a97d-35e0f30dfcamr8003439f8f.44.1717436776566; Mon, 03 Jun 2024 10:46:16 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35dd04c0d6csm9368596f8f.1.2024.06.03.10.46.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 10:46:16 -0700 (PDT) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 96C625F860; Mon, 3 Jun 2024 18:46:15 +0100 (BST) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Daniel P. =?utf-8?Q?Berrang=C3=A9?= Cc: Thomas Huth , qemu-devel@nongnu.org, qemu-trivial@nongnu.org, Akihiko Odaki Subject: Re: [PATCH] io/channel-socket: Fix -fsanitize=undefined problem with latest Clang In-Reply-To: ("Daniel P. =?utf-8?Q?Berrang?= =?utf-8?Q?=C3=A9=22's?= message of "Mon, 3 Jun 2024 15:50:54 +0100") References: <20240529133106.1224866-1-thuth@redhat.com> <877cf6gk10.fsf@draig.linaro.org> Date: Mon, 03 Jun 2024 18:46:15 +0100 Message-ID: <8734pthqc8.fsf@draig.linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.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-trivial@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jun 2024 17:46:31 -0000 Daniel P. Berrang=C3=A9 writes: > On Mon, Jun 03, 2024 at 03:47:55PM +0100, Alex Benn=C3=A9e wrote: >> Thomas Huth writes: >>=20 >> > Casting function pointers from one type to another causes undefined >> > behavior errors when compiling with -fsanitize=3Dundefined with Clang >> > v18: >>=20 >> Queued to testing/next, thanks. > > Please remove, as I don't think this is a viable approach to the > problem Ok - I'll drop it. I still have: .gitlab-ci.d/buildtest.yml: Use -fno-sanitize=3Dfunction in the clang-sys= tem job to prevent the CI failures. > > With regards, > Daniel --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro