From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mta1.formilux.org (mta1.formilux.org [51.159.59.229]) (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 BDA733043CF for ; Sat, 4 Apr 2026 13:43:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=51.159.59.229 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775310219; cv=none; b=ABu0pxdevyMu9dVJvrKd/tpWEH5gdOcj/p51Bq+REg1KzvyEZ3DbEXnVmJEF1gDLyEVxNShgb33b8py93zSesOTwK1ghWOXTofAP8KDCz2zVDtC7zNjEor9lSm7dIPCYIqLysWCK1PYE6kaZLhFJK668NjJ5xmJZsZ14YPm4iRc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775310219; c=relaxed/simple; bh=ijXIRfz7qIqmGJdUUfdzt40AKXj9rx9mt5wK7X3bLTY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qBNjzFtMYL4xQeGqJ1IVKuYqCSkFx59tZ24xROTlOMYTXxw9oopI88/VMGyYcS7h81Qfm2RsT2HRoSkQGpSyWnZPYRgOnXKrZWPLZEJtqyEq4Yr6t+QGv5+TdBI1qCMDTyw4V850LgXkLNHWH40e5xnFKIVmYMyFqZWSZTGsZPY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=1wt.eu; spf=pass smtp.mailfrom=1wt.eu; dkim=pass (1024-bit key) header.d=1wt.eu header.i=@1wt.eu header.b=RPT6+YIs; arc=none smtp.client-ip=51.159.59.229 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=1wt.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=1wt.eu Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=1wt.eu header.i=@1wt.eu header.b="RPT6+YIs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1wt.eu; s=mail; t=1775310215; bh=o7YrQeIMfEj4EQ3rIaVgQ6BqOtDSGU/Vq2c9AgJhK9o=; h=From:Message-ID:From; b=RPT6+YIsc/zVnQjJBbvL4nlkU6X6tpK1IcZi7BBBov081o3wyk1Xdfsf0PjxqwZKx VxFvMotn0MJcKoU7cLpYqA/h4+HWpEZWEM4O5jRiV/zrbBodNhwWPPs7vFFUkcW1P/ wAKAteq7M9X7JfyLywl7ChU/oE2cN9GOVZo8wH48= Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by mta1.formilux.org (Postfix) with ESMTP id 0FC61C0BF0; Sat, 04 Apr 2026 15:43:35 +0200 (CEST) Date: Sat, 4 Apr 2026 15:43:34 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] selftests/nolibc: only use libgcc when really necessary Message-ID: References: <20260404-nolibc-libgcc-v1-1-eb3ecfe0e176@weissschuh.net> 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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260404-nolibc-libgcc-v1-1-eb3ecfe0e176@weissschuh.net> On Sat, Apr 04, 2026 at 02:59:03PM +0200, Thomas Weißschuh wrote: > nolibc should work without libgcc to be compatible with as many > toolchains as possible. Currently the functionality tested by > nolibc-test does not contain any dependencies, make sure it stays > this way by not linking libgcc anymore. > > On the ppc target GCC always emits references to '_restgpr_' functions, > so keep linking libgcc there. > > Signed-off-by: Thomas Weißschuh Yeah, it's a good idea to enforce this, as it's very easy to get trapped into unwanted dependencies again. Acked-by: Willy Tarreau Willy