From nobody Mon Feb 9 17:58:50 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1518523660763709.8776019490213; Tue, 13 Feb 2018 04:07:40 -0800 (PST) Received: from localhost ([::1]:50484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elZN5-0000DF-Oi for importer@patchew.org; Tue, 13 Feb 2018 07:07:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elZHT-0004AU-Jf for qemu-devel@nongnu.org; Tue, 13 Feb 2018 07:01:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elZHQ-0007cB-Bs for qemu-devel@nongnu.org; Tue, 13 Feb 2018 07:01:51 -0500 Received: from mail-wm0-x241.google.com ([2a00:1450:400c:c09::241]:34633) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elZHQ-0007c1-5a for qemu-devel@nongnu.org; Tue, 13 Feb 2018 07:01:48 -0500 Received: by mail-wm0-x241.google.com with SMTP id j21so12973716wmh.1 for ; Tue, 13 Feb 2018 04:01:47 -0800 (PST) Received: from 640k.lan ([82.84.102.245]) by smtp.gmail.com with ESMTPSA id f9sm6870298wmf.12.2018.02.13.04.01.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Feb 2018 04:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5Pe+5Abg11Fjyna+AXfsjkzd+kXTL1/EGckuVdCs6sU=; b=CSDaZ3nuujZS2dzrrZoECW/zGa9tDijEL6AUwEX2dLjLRmEBPxRo5c4DGq+jK2qFnO CxuCoypVArsKWurq2ux59N8zfDJnooqG3vlKihqOSA1IFCMHv2ZT0xtoPt/+mqDU0lGI gAA5OhENKUObKSRRdigjUEstL6hkZDGIbYEEUsiTCJNzF/mMDbsmA7r5JzgO5TZYSIDf MqcKXBqkxRW7IVzI1ULypz/PpN4OqUyFg32FKlhlkWXqS+ACXGEfpvskVXEMHIRWakZq FzHwFPMxPEZOSgwlOSGaiKYUDjIwRp83BgASL+NQ+gj+Oxfxa6TA8bHL7pt3N5Hi7ypI TY4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=5Pe+5Abg11Fjyna+AXfsjkzd+kXTL1/EGckuVdCs6sU=; b=sjilBcZ3M6nhcED029rwcDqncihkJmt2XkeDSaH3p5itU7XJ3IfPL7g/f0Gfdbi2lI YIW6Tj0mX9vxKbMYSkTdgjOWJDHWrpIfLwhjATsxAzK1kLnHnQPMS87nAF1TWstyDZZQ xDujhVpjGBmpjIoYzupH9C+T2NJAQQGqFwcM+KDU+9oxe9oybyFbwKC3sVhWlcIEiFcM aPq3eRBdARwRo/o19EjGAGXFBxW0hDNJXYxm1/enT+xJ5LFD9gZL9pzq1fehqsUNGwDj kZUmksh0wv9muiY5JyG0UGEnYZS/m7+6OPI1Hp6C2D3+pLT4zMfQugekriECo2lSXTEj urNA== X-Gm-Message-State: APf1xPChvRyIMJzhvn1TuOQicp/LKMtgIxKSmjKtHl8+lXmEhp4vsXyd jVB9ucxEAMC1c8WFZGwD86mMZumL X-Google-Smtp-Source: AH8x2240qafkPh83d6f5d/fuPxadHRYV3zChRsA9TFyhywqqsEKRIVs5MAr2uekQTVfOoVkXwXYZ2A== X-Received: by 10.28.166.195 with SMTP id p186mr1049248wme.81.1518523306733; Tue, 13 Feb 2018 04:01:46 -0800 (PST) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 13 Feb 2018 13:00:17 +0100 Message-Id: <1518523252-49106-14-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1518523252-49106-1-git-send-email-pbonzini@redhat.com> References: <1518523252-49106-1-git-send-email-pbonzini@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::241 Subject: [Qemu-devel] [PULL 13/48] build-sys: check static linking of UBSAN X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 From: Marc-Andr=C3=A9 Lureau Signed-off-by: Marc-Andr=C3=A9 Lureau Message-Id: <20180208162343.30809-2-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini --- configure | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0a53562..913e148 100755 --- a/configure +++ b/configure @@ -5306,7 +5306,15 @@ fi ########################################## # checks for sanitizers =20 -write_c_skeleton +# we could use a simple skeleton for flags checks, but this also +# detect the static linking issue of ubsan, see also: +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D84285 +cat > $TMPC << EOF +#include +int main(void) { + return INT32_MIN / -1; +} +EOF =20 have_asan=3Dno have_ubsan=3Dno --=20 1.8.3.1