Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp434010lqm; Wed, 1 May 2024 05:29:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV464mFfL8kuGpZ8Oz7HNemQEaXk/CDfyN+oYZ9Omy5CRVJYJ1euV0UQlpTuY6sq+aaDg53eWSgXi7nJc8yWiS34y0H0e7neL545k9qSQ== X-Google-Smtp-Source: AGHT+IH7DOm5AJU+DYZhO5swP8MHUw5t3VQNnio0i2nEzh0zGTRgVUVvAVKDGLqzB9hCfXcpVhJt X-Received: by 2002:a17:906:3416:b0:a58:e3d5:87bd with SMTP id c22-20020a170906341600b00a58e3d587bdmr2299789ejb.26.1714566582643; Wed, 01 May 2024 05:29:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714566582; cv=pass; d=google.com; s=arc-20160816; b=I7iLH5LHaynFpoC24wOCja4cpRRSdIf201igEhCfkZvw7P0qr0Djv1/OLFbv7FQx42 S0IQJs2/+w2MWUzcvDMzCYSccGdDKdEcWJFM9SHMRHeG68MWv0Ikm+0noVmxxAqer8Kb Y+q+AemuYcrMLp+PL4gYJ06cRctGJV/0ayCRuvXD+kc+U8kka2anRZLyi6ZjXiwA+y29 W9n1SzE/2XraeP4U4lak5n2MQN0d4ICR64NrS/yvXA3xIEIja+UBKelU7ASlR0lAysJ4 P/B/Ex3CSzxzzUDuLyhbcQunQaQxMkkE5BjSJAikDpN+NNt9m1yNMi13xxnJ2tdgz7JC 6vVg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=FgT95PGMM43R3+7UsPIcnBoRcwihTDzWnA0Xq/3sBs0=; fh=Js7PpvEQ3ReoFQaPq6pHhg2QeHNA1tL1BLhj7+72Abo=; b=LFGGdCrAmpqNGDECaT418vCehHlC5JHgojrIuQG5qkni/tj+Tx8oufis1XDLuFG7J9 mbkQ5tTZF7ijWtuoMwjevPZeUdYrOcdqlp2AUSL+mMnrtJH+WueyXgtmAjx7wY0Loo0X nOz73wm2UY4kIXu3rw/oKOpPYKiDbXpkDrWCFBZ/jOPX8+QpWjj7TpG2rnjg3dEPvIfZ LDNr5ZHTuf9NlxLs8lmj73858BHt2mXMrkqz8R4O0n17Ooav/5N5VnjazBC8iesyylDO krm2JclGnjxMP/qbg7uiVILtgOCR72rW09iwzfrgp4TNcCFb/4Yt6g4zn6ORFLWTKc+/ R0ZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="I5vY7/Rg"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-165241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id i16-20020a17090639d000b00a55a3231746si12785477eje.422.2024.05.01.05.29.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 May 2024 05:29:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-165241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b="I5vY7/Rg"; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-165241-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-165241-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 62BDD1F22683 for ; Wed, 1 May 2024 12:29:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C66DB85922; Wed, 1 May 2024 12:29:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="I5vY7/Rg" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 960FC824A3; Wed, 1 May 2024 12:29:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714566561; cv=none; b=TXn8LG4PAREWLEUKWdfof/IHlq/WPKCr+ZiVSTGVDQDsTwW1m0sEhgRwP39CIQqNXu5NQIP+5VUBknJF+VXk/SwhZdZCb3hZfXWa77VqJyA6ITQnnlIQfqP6xLUe/NSj1Kzwc/nSnnFqtsvZ0Z+E5bJtgeIp47WC81GksSTdTcs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714566561; c=relaxed/simple; bh=BDVV3j0LA+Ja8NiNd1uE5LhUyS05s3IQNjzH8ZJ04yo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mGHQas3fjXNw1pMobn9qoX1yc4zzzRnIveD6CDN5rcaGuxU3XzoBRv+BT7QSFYQGG5UxlRuMlfER7Ki8bSNviLLWlCCO+uF5oEyn115QG48zlmpFN1S/EiO22CTDzO6V4M+EZ1Dg/J4Rn1gKfbX7smd4UrLvhDiMNuQsbEOAFk4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=I5vY7/Rg; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1714566558; bh=BDVV3j0LA+Ja8NiNd1uE5LhUyS05s3IQNjzH8ZJ04yo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=I5vY7/RgxjAEu9tC/qOGjymCqWxP0LFB4g8BhBTsNSxxiXF7fAN9/+J4L0wXjFQQm pJVf+CNs3lsZqLDF5SBpSY31VF5srWR4UiIVLTNZusYOXS5LC0zwApNU9LqkBs05vI jsXqiGPdzIeX3hoFldJWZvZCjIUn519VInUF3JyfGaj6SSWsP+lnvCzFkHooW06VA3 X2mPf7mIdaRYWP2resNQdQ1c+hvXmmZII8+vxUG0xazaAqVD+aHtDVBI9Lgg4vOyZ5 QSsIkwR4dh5USNiqhuUJOslKy/SPjQJCsUXQmYAInhM/VPVe/IeLk88uxws2IsPawc 0bsfyjRTy+NDQ== Received: from localhost.localdomain (broslavsky.collaboradmins.com [68.183.210.73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: usama.anjum) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 382F8378206E; Wed, 1 May 2024 12:29:11 +0000 (UTC) From: Muhammad Usama Anjum To: Shuah Khan , Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , Muhammad Usama Anjum , Rick Edgecombe , "Mike Rapoport (IBM)" , Ingo Molnar , Dave Hansen , Alexey Dobriyan , Binbin Wu , "Chang S. Bae" , "Kirill A. Shutemov" , linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Cc: kernel@collabora.com Subject: [PATCH 1/8] selftests: x86: Remove dependence of headers file Date: Wed, 1 May 2024 17:29:11 +0500 Message-Id: <20240501122918.3831734-2-usama.anjum@collabora.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240501122918.3831734-1-usama.anjum@collabora.com> References: <20240501122918.3831734-1-usama.anjum@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Remove header file dependence to remove the following error caught by clang. clang: error: cannot specify -o when generating multiple output files Signed-off-by: Muhammad Usama Anjum --- tools/testing/selftests/x86/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/testing/selftests/x86/Makefile b/tools/testing/selftests/x86/Makefile index 0b872c0a42d20..671b1819694ff 100644 --- a/tools/testing/selftests/x86/Makefile +++ b/tools/testing/selftests/x86/Makefile @@ -72,10 +72,10 @@ all_64: $(BINARIES_64) EXTRA_CLEAN := $(BINARIES_32) $(BINARIES_64) -$(BINARIES_32): $(OUTPUT)/%_32: %.c helpers.h +$(BINARIES_32): $(OUTPUT)/%_32: %.c $(CC) -m32 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl -lm -$(BINARIES_64): $(OUTPUT)/%_64: %.c helpers.h +$(BINARIES_64): $(OUTPUT)/%_64: %.c $(CC) -m64 -o $@ $(CFLAGS) $(EXTRA_CFLAGS) $^ -lrt -ldl # x86_64 users should be encouraged to install 32-bit libraries -- 2.39.2