From patchwork Tue Apr 10 19:39:10 2018 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: 133108 Delivered-To: patch@linaro.org Received: by 10.46.84.29 with SMTP id i29csp1640875ljb; Tue, 10 Apr 2018 12:52:26 -0700 (PDT) X-Google-Smtp-Source: AIpwx48FlvZXwX3hm2Txknooz+97TIs+8zEmpcEQyOWIQ0omt/ceTtBD5jtdIIRiRkHn2jgonThc X-Received: by 10.55.116.6 with SMTP id p6mr2637243qkc.155.1523389946860; Tue, 10 Apr 2018 12:52:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523389946; cv=none; d=google.com; s=arc-20160816; b=ITHxJpSU9HYA97vDJD8FwLaRbK1mvnljbB83351/unWqh8UVoOTItdzm9IiHbRBFP1 QSbLlFmep5bEQaEjzI/qJBmdAlZyJFyyOg9lpDFPA3pdRkb6Z784MUzGdeV/lWHluSjK ZHKs4ZEw6PBp1DPCftJTSYwVQCCmu+qk6SBCraBuTUtlLy5KgUDtNb45txjO1ryKkdfW w7DbCcb6VFvZms6uVa1Acn/o3jF2D92bfMwRMoG1Sb1q5h6ancr2GvEFBPO5y4I/EIxC V/Biapxpeaq0aSPYlXMjodU1qobzmVfUJkxYjTkYGhTKfraFxqoyRNwLaKhpI8H9OCOE 97fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from:dkim-signature:arc-authentication-results; bh=MG/WVtA1JfUEIV6/jt18wgZ+2Dcu1GpCoKb1iglGZUs=; b=qzeTgSLRDuy1TymAzFKMft8JCydjyQNodgWdDHmQsjrWnpHAUIEltpiHGkgrtE4aV8 PmE8R/8hFAlaNBqszAtmJDxPTJP2yaJr1vBapbFiecrqbVrIzAAu+VpVAoWpBsBOj6Gi momDaXiw6z4m1wR60B9tk2ACvi1/xXSff9oyR2AJWsaVaJiKm6a9wyNEIBumSnYyTpQx j1idyuQi1+AFnD0hlTMZYms2oa+EFhPb3sEjCQoekIpZQK1Lcc1UUxEQ7EI3eAEaohhj kIAGlO72b6KO+RFfKwi3MNmka1563bMMH+Xcqv3rXMf+ADAlhN/l3VHvgiVC1qThIYqg wTZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ToYIbCf4; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id d131si1580046qke.44.2018.04.10.12.52.26 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 10 Apr 2018 12:52:26 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=ToYIbCf4; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:39842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5zJa-0001vH-9i for patch@linaro.org; Tue, 10 Apr 2018 15:52:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f5z79-0000Ia-Ul for qemu-devel@nongnu.org; Tue, 10 Apr 2018 15:39:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f5z79-0006Pf-3w for qemu-devel@nongnu.org; Tue, 10 Apr 2018 15:39:35 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:39223) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f5z78-0006Oz-TL for qemu-devel@nongnu.org; Tue, 10 Apr 2018 15:39:35 -0400 Received: by mail-wm0-x243.google.com with SMTP id b21so644465wme.4 for ; Tue, 10 Apr 2018 12:39:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MG/WVtA1JfUEIV6/jt18wgZ+2Dcu1GpCoKb1iglGZUs=; b=ToYIbCf4effGlsu+mBy9Jv87xugsTpaYgcK5zUuNYSGEj0L6qKOqV72orpuiEK2uR5 4GboRRyC13hh+j0MEomtQa1VPT0NRSA4I/LGKmQjsZghuEyjhI6fuuDRk9rpXD0x9Rs+ kaYlnrrJP2djAUVi/qD+7/qM36Eqjbtw6iMfM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MG/WVtA1JfUEIV6/jt18wgZ+2Dcu1GpCoKb1iglGZUs=; b=aEfuSuCs0fMYKhBtawmFCGjxkj4tiFOxKIMVAFRuyDfjZS05JiU7BK3EJ5gsXUEOtV XemeLZtua4RIZYp/GHpx2JTbjYdKlIO9Ih6hiN/yqhYzby3vMJbWm9zsqz7gik20xi48 t0OuhD70m801uJ7CtY3q1RAMttRTbYDXKX2gvtB54vi42LYcoakdz5QU1LptE6EYxxQf gdzutfgdBKOZYmmGU1RSySWQuFMviVY43gaGMH7dp89K44kKWDTxknFnTSETupsSW7CH AiWJauvK8ogCed1hTa+AndYMGAZ0YgsTwfcvxPcgU/DU7UZOC8+d5fA39j8ra/YrjS7U hakg== X-Gm-Message-State: ALQs6tBuBMYiO51SwrtRY8p2VzJDUT78J6/gcE+eSK+B+Vr05iu3ORo1 gmd9PWPLs6a61gXxxC+Uqn72kQ== X-Received: by 10.28.107.151 with SMTP id a23mr534568wmi.14.1523389173755; Tue, 10 Apr 2018 12:39:33 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 185sm3450088wmj.46.2018.04.10.12.39.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 10 Apr 2018 12:39:28 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 7F2003E0BD7; Tue, 10 Apr 2018 20:39:20 +0100 (BST) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Date: Tue, 10 Apr 2018 20:39:10 +0100 Message-Id: <20180410193919.28026-16-alex.bennee@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180410193919.28026-1-alex.bennee@linaro.org> References: <20180410193919.28026-1-alex.bennee@linaro.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::243 Subject: [Qemu-devel] [PATCH v1 15/24] tests/tcg/i368: fix hello-i386 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?Alex_Benn=C3=A9e?= , famz@redhat.com, cota@braap.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is a direct syscall test so needs additional CFLAGS and LDFLAGS. Signed-off-by: Alex Bennée --- tests/tcg/i386/Makefile.target | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.16.2 Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé diff --git a/tests/tcg/i386/Makefile.target b/tests/tcg/i386/Makefile.target index 1df69e0dab..44803c0382 100644 --- a/tests/tcg/i386/Makefile.target +++ b/tests/tcg/i386/Makefile.target @@ -9,6 +9,12 @@ CFLAGS+=$(CROSS_CC_GUEST_CFLAGS) endif endif +# +# hello-i386 is a barebones app +# +hello-i386: CFLAGS+=-ffreestanding +hello-i386: LDFLAGS+=-nostdlib + # # test-386 includes a couple of additional objects that need to be linked together #