From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-185.mta1.migadu.com (out-185.mta1.migadu.com [95.215.58.185]) (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 082A73E9C33 for ; Thu, 6 Aug 2026 20:30:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.185 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786048218; cv=none; b=mQIhFcT9bpgxQ58S0tlti/lpIAbuEH0TFDVaSXJBa5s6v3TNZjOfgadCgcuPIhhWqwII1nQ7qZgsBs3aORO9TBF1shLXpVQhRplze+mcAsePENFlgj+Nyva8Y3yYSNS6+Nd9uKnj5PkbNSP+PrOMnewuRa7/rgzMaZcbictXESQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786048218; c=relaxed/simple; bh=p6LZX1eSh7OiICqAmn3/p2e/P7OsJa9OIknN76EyCis=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=rXSbHdcFtTgGGnQJXWJ3DmsTYlZo2ClFtwF7SAp0U2+7vDxPt1Lnmq/HW4mWxrAsLyYCDk8Lt3Ftduef6ii2IAnp40w+3gLJq8Pp/34oFk4SYtHdNtzQpr8qoiauiBebKbU2wJYVr2DSM45idEiliAf5T/osv4Rch+8DZa6T0e4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=mBQJb8gT; arc=none smtp.client-ip=95.215.58.185 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="mBQJb8gT" Message-ID: <455a0c97-9507-4035-ba12-82afc30ae51a@linux.dev> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1786048213; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HHBNxU8iQ9bhuCdbWfe0js0K+5MqccYz2yBcRa2afJk=; b=mBQJb8gTVmEyaIq7YZKUh31T4UMYQHN2xNWQjH7Y1jO52xSf4pqrwbKiKcl4rqiZPPPuy7 ihajCDiXFJITdsporXo+C0LcuqXs/MBumUjg2wv/U5ZsKVVPJ0XQe2kIxM6LScfS9TGvvQ 9rQEA96ifDbOU8uFMB9fsSs73VaFLJw= Date: Thu, 6 Aug 2026 13:29:51 -0700 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH 0/3] selftests/bpf: Fixes for out-of-tree builds To: =?UTF-8?B?UmljYXJkbyBCLiBNYXJsacOocmUgKFNVU0Up?= , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Eduard Zingerman , Kumar Kartikeya Dwivedi , Martin KaFai Lau , Song Liu , Yonghong Song , Jiri Olsa , Emil Tsalapatis , Shuah Khan Cc: bpf@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org References: <20260728-selftests-bpf_oot-v1-0-05feb15d94db@marliere.net> Content-Language: en-US X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Ihor Solodrai In-Reply-To: <20260728-selftests-bpf_oot-v1-0-05feb15d94db@marliere.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT On 7/28/26 5:06 PM, Ricardo B. Marlière (SUSE) wrote: > Hello, > > When doing a simple out-of-tree build, e.g.: > > $ git clean -fdx > $ mkdir ../build > $ make defconfig O=../build > $ scripts/kconfig/merge_config.sh -O ../build ../build/.config tools/testing/selftests/bpf/{config,config.x86_64} > $ make O=../build > $ make -C tools/testing/selftests install O=$PWD/../build SKIP_TARGETS= TARGETS=bpf > > Will leave behind several build artifacts: > > [...] > > This series fixes this. Hi Ricardo, I think we should wait for the selftests makefile refactoring series [1] to land first, and then address the issues you've found. When you do the respin, please test both build and clean with an in-tree kernel build and with O= Sending a few comments in a bit. [1] https://lore.kernel.org/bpf/20260804170156.1709916-1-nickolay.lysenko@gmail.com/ > > [...] >