From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id eEkuFVqXQ2eE3AAAqHPOHw:P1 (envelope-from ) for ; Sun, 24 Nov 2024 21:15:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id eEkuFVqXQ2eE3AAAqHPOHw (envelope-from ) for ; Sun, 24 Nov 2024 22:15:06 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-23sep header.b=NZACMJDm; dmarc=pass (policy=quarantine) header.from=vodafonemail.de; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732482906; a=rsa-sha256; cv=none; b=ZT3GsNmFRdzEamgH5iX128DLmgU4LtCWJn6Ol+iGPsJnOyX8VTYe3enFCnvup6YimxT5fj N7UuIPelByP5pqN+IGt7ovXfFbeXcYceLESfAXPaTew+ooegB9vRo7H4om2NWh5NoxhLyc UA5QnLrNJyw+MnOMgK1+RKnDOFzXAQ1SO6LrCA43aV2p3ryCVajGAlK/3j7+3M2ITQamPH RgdZjZpURBNfDQv24SP0Ei2PuwQsAK8xZNl9WQqPsNRn/sFQLvP2/Hm7K+CO3vBari9ajH xPoMlG0PlxevkUiPhKqbn/pjMSo5GfJsh2sLxWWVf1ZdVZruNeTTo/767vccNg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-23sep header.b=NZACMJDm; dmarc=pass (policy=quarantine) header.from=vodafonemail.de; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732482906; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OLMeK+O7FXJmTDm0Y0yPsRgwlsTWKdttKV7QmZC3fMM=; b=SO+CMNdgkE5zQACTJkYDuS8p9srjueE4lD1Yl1pR8xDxiHdCFxKvIkxL+JFbE4dvsUdcA4 kr1Hfm3Oe/5kgqXRHTEeRSI4l/1wCoN5WI/at7v9lyW9tLcxZ5qj2rC6USUzSi/9ZNym1G rNQQTVKCyaUwl8AJfxOLt+Cwsk/SQSU78+Tm5HG6ZdImBc2PkdzmV3DEYw0lcR8XMAfkKI Y3/rIZ1PXsnpTwFrLVZZHcZpM8JUy2k/vvQkRVwuMLvpaJf5ZyRm8XuLXhQHDH3R6uA2Zt xmjl4KrTyPP+WhC8HVUxBJtS9jP3J0ai42tpO6qLpPaG66LN4x4wfDDdvML4hQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D78DE833FD for ; Sun, 24 Nov 2024 22:15:05 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFJwG-0003rf-Jt; Sun, 24 Nov 2024 16:14:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFJwF-0003rT-H2 for guix-devel@gnu.org; Sun, 24 Nov 2024 16:14:39 -0500 Received: from mr4.vodafonemail.de ([145.253.228.164]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tFJwD-0006Nc-0U; Sun, 24 Nov 2024 16:14:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-23sep; t=1732482874; bh=OLMeK+O7FXJmTDm0Y0yPsRgwlsTWKdttKV7QmZC3fMM=; h=Message-ID:Date:User-Agent:Subject:To:References:Content-Language: From:In-Reply-To:Content-Type:From; b=NZACMJDmxDnnt0dur9vg6rHllgfTO9kksTVP/trH/980Ie5ZBUUfeiJPlURNsQVhU /QO53fBRz3mK1f9mP79i3WQ9ebauupCV+8qTBhyMqiudVzerPxJt8JyKgVL/Z0OzEK 6CPNommJ+nSXtJA6AJK8S/m9ZkmCTXI7TdrX7xW4= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr4.vodafonemail.de (Postfix) with ESMTPS id 4XxM6K2t4Zz1y4K; Sun, 24 Nov 2024 21:14:33 +0000 (UTC) Received: from [10.11.12.13] (aftr-62-216-210-135.dynamic.mnet-online.de [62.216.210.135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4XxM5q0KRBz9054; Sun, 24 Nov 2024 21:14:04 +0000 (UTC) Message-ID: <94bbc54c-3856-4adf-854f-f3b282ef35f3@vodafonemail.de> Date: Sun, 24 Nov 2024 22:13:56 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: A different way to bootstrap and build GCC To: Rutherther , guix-devel@gnu.org Cc: Ekaitz Zarraga , Attila Lendvai , =?UTF-8?Q?Sergio_Pastor_P=C3=A9rez?= , Efraim Flashner , Timothy Sample , janneke@gnu.org References: <874j3w1r9r.fsf@ditigal.xyz> Content-Language: en-US From: Stefan In-Reply-To: <874j3w1r9r.fsf@ditigal.xyz> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-purgate-type: clean X-purgate: clean X-purgate-size: 1588 X-purgate-ID: 155817::1732482869-3D7F9477-9879B7B6/0/0 Received-SPF: pass client-ip=145.253.228.164; envelope-from=stefan-guix@vodafonemail.de; helo=mr4.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -1.72 X-Spam-Score: -1.72 X-Migadu-Queue-Id: D78DE833FD X-Migadu-Scanner: mx12.migadu.com X-TUID: L0OfH95i8Cic Hi Rutherther! > I think it's good idea to move away from C_INCLUDE_PATH, > LIBRARY_PATH for the toolchain libraries (glibc, stdlibc++, ...), but > what about other libraries? Those, as far as I can tell, > have to be provided by a search path, as they cannot be compiled inside > the toolchain. Or am I mistaken in this? These search paths stay. > And if this is true, I think it would be good to still keep > this CROSS_* convention For other libraries than the standard ones there will be no real problems, as in Guix the build environments only provide the needed packages, so there shouldn’t be any problems. For cross-compilers used by guix build --target=… these CROSS… variables anyway collect the same paths, namely /include and /lib. So whatever the name of these variables is, it makes no difference. I also think that there won’t be many clashes between include files from packages for the host and include files from packages used with an embedded cross-compiler. I currently don’t see the real need. Even if you install several compilers into your profile, you certainly won’t install embedded source code packages into your profile. Or do you? Even on “usual“ Filesystem-Hierarchy-Standard systems no cross-compiler uses different environment variables for include paths. But to be honest, I'm not really sure about this for embedded cross-compilers yet. Whatever I did myself so far was all fine without these CROSS… variables. So I’d like to first try without as far as possible. Bye Stefan