From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id +DBFHtxkhGXWWgAAkFu2QA (envelope-from ) for ; Thu, 21 Dec 2023 17:16:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CBOzGNxkhGWVTgAA62LTzQ (envelope-from ) for ; Thu, 21 Dec 2023 17:16:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=foundationdevices.com header.s=google header.b=iMu4Cp89; 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"; dmarc=pass (policy=reject) header.from=foundationdevices.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703175388; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=qwKI2llT8O3ecLCY48LtRz/nDSAm3QF/yO8f3mWyAJ4=; b=TNXMLuWDI//qv+IyxjxC1aTgf6j7V0u6WFAEje3EyxTQGTXd6yF+v/1z15LMSWMcDgHSIc Vbw+579JT7j6d1xY4qgR45Z96y4uJ83wphuNWSNcYT3PwosNDlxDmIWozqTommujGNl/vX ZQK30PDzmx6PasZ3jou3KkqQllkH5alDiQsrezzb7ljo8BVlvVNKH6KQfarSUdbFeT5cfa LcTf63mvyz8tI2fSYSzKN38HoGqpMYTNsFpB4bSWJ0hbCvUwNs6eWnwNWYb3V6orQfzMLb 4aldSbYteY+l9+3zgxzRlA5URNgLYaKe1z+qga/5e8gJ7oKJHu5rtYZJFCcXhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703175388; a=rsa-sha256; cv=none; b=C3rgc7Ho/4xkzPaJVuanJJDKWRDLpMpESp2462wACavfqNMMgnbylCrPvhsD9xFK3cWrNq b+QxD4Yrq6Ja7fpDBCjnYMfXjchuS+Gfhy4E8jrgfG4M/jvBcXHy44nxW/lK4UssiGcdov XPXam7eVTUqphIVk+2MyoCQsmMRYeo7D8WjiLYGvoP0CHpMhaYaVbBQgi5B+/QCETQlx7X r6v6LSkz88fv7YErN1ikT8gi7AwbwLZuCwf6+oOfronskZkXwpB9w0sH7B0l/a7cOZAFOa s97Dw8gc7dFOw7pvItKssPX/zZicssf+R2QJkkKvpchiKzrFwURcD85ieIxZVw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=foundationdevices.com header.s=google header.b=iMu4Cp89; 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"; dmarc=pass (policy=reject) header.from=foundationdevices.com 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 E51075A94B for ; Thu, 21 Dec 2023 17:16:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGLij-0007B8-Os; Thu, 21 Dec 2023 11:16:25 -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 1rGJcS-0005Qz-25 for guix-devel@gnu.org; Thu, 21 Dec 2023 09:01:48 -0500 Received: from mail-vk1-xa2b.google.com ([2607:f8b0:4864:20::a2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rGJcQ-0005b8-Bz for guix-devel@gnu.org; Thu, 21 Dec 2023 09:01:47 -0500 Received: by mail-vk1-xa2b.google.com with SMTP id 71dfb90a1353d-4b6d201adf0so180157e0c.0 for ; Thu, 21 Dec 2023 06:01:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1703167304; x=1703772104; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=qwKI2llT8O3ecLCY48LtRz/nDSAm3QF/yO8f3mWyAJ4=; b=iMu4Cp893CA+Yfe893yRIF04Iyngr27OoM2a+yD9G7+xz/S0VN5F6DejgB9MUKeHzl 9tNsO6PBKS0FsbTFbkkR6PwVEGDh7tbkd23pxqzUOR3H4ZEzjnB2A1U5HcQPc+YD8HKt BlC9dPudsgKbPsS093ptSIxGAheEW/1JZQ8FybZJiGtNQQa6NPkvJSq2+UOeT2epoqtv yZhnY0e24EpmTkFIyFc5Vy05J7UDXKo7gdew+1D9YTXJ1YDKJqx0ymUHcyzbYnUePkog njhOUAx/C8qOcHDPaUfd9v5yj6cDu2fXhLe3ihPSA78uOubtpTnHKu+ejIcYDIvL5w25 YXlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703167304; x=1703772104; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qwKI2llT8O3ecLCY48LtRz/nDSAm3QF/yO8f3mWyAJ4=; b=qYW2CW2jBDFmxsBAXA9ZBC5vvFWSA59vqCgmDEE9UOQkAeyj66g4sPVl1nptDl2btD TOp8XP1Qkk6/MIfOhpi1GNLyU2NxwVhf7fGzMLQkceYgXUSa6mqvN59Rk/CqXTgl3otK FGsH7t1M6m3XD0NqZsdOUrAcY002GEZkfaWMLOozF9I0HEwDiXsrD9BFFJLmxKk8SpPb l1CJVV5M2U/BNEUrmBJPL5kEMPjK0eD8qJisGbG5U4sU+J28QLV7jTjP+3Yw5AC9iFb5 JUzLYK/2NY3FMmkB0InD1m9Hr9WqE+bh02OKAJN52u0ikXlDMs+ZqRTG2oARY7XQLzq+ 112w== X-Gm-Message-State: AOJu0YzzIBG9yzJZi5XLCIreBBbdevaIMOKu8mkTHiLCZUBphlbs7FIO lW94iHc/bko/4KOIq8ovYKQveg7Vf1vYNpaqE9nR7griPW1ZnxGsRns= X-Google-Smtp-Source: AGHT+IFhVkpewwZSmpgF8w/YCepJjsTQ9w3nUMFxjggIXcBAMc5/zHPfw1N7wbP0EKyivqatbeUnAkgiWgm69sDQu8c= X-Received: by 2002:a05:6122:4492:b0:4b6:c59e:21fc with SMTP id cz18-20020a056122449200b004b6c59e21fcmr901546vkb.19.1703167304355; Thu, 21 Dec 2023 06:01:44 -0800 (PST) MIME-Version: 1.0 References: <0db7f8a7-906f-6552-26e8-93162f6d266e@vodafonemail.de> In-Reply-To: From: Jean-Pierre De Jesus Diaz Date: Thu, 21 Dec 2023 14:01:33 +0000 Message-ID: Subject: Re: A different way to build GCC to overcome issues, especially with C++ for embedded systems To: Attila Lendvai Cc: Stefan , guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::a2b; envelope-from=jean@foundationdevices.com; helo=mail-vk1-xa2b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 21 Dec 2023 11:16:25 -0500 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: -7.39 X-Spam-Score: -7.39 X-Migadu-Queue-Id: E51075A94B X-Migadu-Scanner: mx11.migadu.com X-TUID: bOb6f06MtVRE Hello everyone, I was working before on embedded toolchains with Guix and added AVR platform as a result. [1] Just FYI, I have a WIP patch series to add support for arm-none-eabi using the Guix cross compilation methods, e.g.: using #:target and so on and also to add an user installable toolchain as done with AVR on [1]. The arm-none-eabi target is not finished yet since I'm running into some issues when building Axoloti which depends on the (gnu packages embedded) toolchains and I'm trying to migrate it to use `cross-gcc-toolchain` but it is proving a bit difficult due to search paths but I'm trying to solve it anyway. >$ make >[ 1%] Linking ASM executable bs2_default.elf >arm-none-eabi-gcc: error: nosys.specs: No such file or directory > >IIRC, this happens with the vanilla guix packages when i try to use a gcc package instead of a gcc-toolchain package. This happens when the toolchain doesn't have the Newlib C library which includes the nosys.specs file so probably if Newlib is present it's then that GCC can't find the specs file. [1]: https://issues.guix.gnu.org/66263 -- Jean-Pierre De Jesus DIAZ Foundation Devices, Inc.