From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 4217314F11E for ; Thu, 5 Sep 2024 05:59:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725515964; cv=none; b=ascoo0OvCQlQa5tdmwqbCZOSGBjw4K7eMlrwr1qn4OB5BkBpeQcg9XRz5/T1ZoQ9lgYjILboRH10EINA2ngoZsR2jgFvtALhtt2U21N2xg5EZ52bRfznxy2RybE2tY5sGZca9Kw3F+p7WMQWzkVRUaceeT5/jGPiUCsQjbMSbXk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1725515964; c=relaxed/simple; bh=2GGQXqn6Bwow+Tl8FfMGEd/u2fuNzbAxofi8uuBriKQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=g5NsG4NqgzksXz4g07e1bP3Akzr6SzURW6MaaQyJMZ+HgqBYBhz09vPfX7KGCJIOlKQLPOBbEA/Q20aSrS3iAct0EnoltnpYaGtxcmocgWki8iqQacgI56ueNmSBTPSqhoFnsnqpbpIzRFP9SbCNpst0uL3ZUbMMQS31TWepK28= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=iO8XDvAe; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="iO8XDvAe" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1725515954; bh=2GGQXqn6Bwow+Tl8FfMGEd/u2fuNzbAxofi8uuBriKQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=iO8XDvAeGcDJ8BTA0NQxT/igRftjWK/ojTZS8d8lgGUCB66Grxy66uT2W3ZAei7oD xO+MZBcbvg/f7RkABfxhjwjkwhkPKW5enCaWd1OyUo9n2t9/oCvy/H5HWLAiYa0uUh /iUg9eHLgP4hG8ayG2couNcQSSGkSFBhQBJnBrCs= Date: Thu, 5 Sep 2024 07:59:13 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Shuah Khan Cc: Willy Tarreau , "Paul E. McKenney" , linux-kernel@vger.kernel.org Subject: Re: [GIT PULL] nolibc for 6.12-rc1 Message-ID: References: <3b9df0a1-7400-4c91-846d-b9e28982a7c3@t-8ch.de> <9de5090f-038f-4d68-af96-fbb9ed45b901@linuxfoundation.org> <9440397d-5077-460d-9c96-6487b8b0d923@t-8ch.de> <13169754-c8ea-4e9e-b062-81b253a07078@linuxfoundation.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <13169754-c8ea-4e9e-b062-81b253a07078@linuxfoundation.org> On 2024-09-04 15:19:42+0000, Shuah Khan wrote: > On 9/4/24 15:13, Thomas Weißschuh wrote: > > On 2024-09-04 15:04:35+0000, Shuah Khan wrote: > > > On 8/27/24 06:56, Shuah Khan wrote: > > > > On 8/24/24 12:53, Thomas Weißschuh wrote: > > > > > Hi Shuah, > > > > > > > > > > The following changes since commit 8400291e289ee6b2bf9779ff1c83a291501f017b: > > > > > > > > > >    Linux 6.11-rc1 (2024-07-28 14:19:55 -0700) > > > > > > > > > > are available in the Git repository at: > > > > > > > > > >    https://git.kernel.org/pub/scm/linux/kernel/git/nolibc/linux-nolibc.git nolibc-20240824-for-6.12-1 > > > > > > > > > > for you to fetch changes up to 25fb329a23c78d59a055a7b1329d18f30a2be92d: > > > > > > > > > >    tools/nolibc: x86_64: use local label in memcpy/memmove (2024-08-16 17:23:13 +0200) > > > > > > > > > > ---------------------------------------------------------------- > > > > > nolibc changes for 6.12 > > > > > > > > > > Highlights > > > > > ---------- > > > > > > > > > > * Clang support (including LTO) > > > > > > > > > > Other Changes > > > > > ------------- > > > > > > > > > > * stdbool.h support > > > > > * argc/argv/envp arguments for constructors > > > > > * Small #include ordering fix > > > > > > > > > > > > > Thank you Thomas. > > > > > > > > Pulled and pushed to linux-kselftest nolibc branch for Linux 6.12-rc1 > > > > > > > > > > I am running sanity tests and getting this message: > > > > > > $HOME/.cache/crosstools/gcc-13.2.0-nolibc/i386-linux/bin/i386-linux-: No such file or directory > > > > This indicates you are using 'run-tests.sh'. > > Pass "-p" to let it download the toolchain automatically. > > > > > I tried setting TOOLCHAIN_BASE to the directory I installed gcc-13.2.0-nolibc > > > > Not sure where this variable comes from, but I have never seen it. > > This is from the notes I got from Willy. Could you forward those to me? > > > Something changed since the last time I did the pull request handling. > > > > In the test setup not much has changed. > > Maybe you cleaned out your ~/.cache? > > Not intentionally ... > Guess I just have to do run download.sh again. I guess download.sh also comes from Willy? > > Or it's the first PR with run-tests.sh? > > I have been running the following successfully in the past: > > From tools/testing/selftests/nolibc > make run > make run-user > > ./run-tests.sh -m user > ./run-tests.sh -m system Ack. Could you provide a transcript of the commands you are running and their outputs, including the failing command? >From the error it looks like run-tests.sh is the one failing, but that script was written completely oblivious to download.sh and TOOLCHAIN_BASE, so those probably won't help solving the issue. The following command should automatically download the toolchains into the location from the error message: ./run-tests.sh -p -m user These toolchains can then also be used for direct "make" invocations through CROSS_COMPILE. As Willy said, thanks for the report! Thomas