From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WMdGNdYIpWVNJQEAqHPOHw:P1 (envelope-from ) for ; Mon, 15 Jan 2024 11:28:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WMdGNdYIpWVNJQEAqHPOHw (envelope-from ) for ; Mon, 15 Jan 2024 11:28:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=soverin1 header.b="HT8/2Kzb"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705314518; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=uIHc3BYLfOvjhgPLJGNOimVFKlFIcYz+y4rmOAlr4tI=; b=eTRyOzIIMvUaDE9nrUl7e+sIOs5aSc3KcN1ZN3TnD93reR57LPz15eIZETVuAZ15pFvDBa xIwoV3jZP3myy9Lz2Hfx3p+eIrcGusFspCktHsNTobMMAQhcQbVbAgfkuo7BYPCi2U/9MZ RkOgl9JUVUERcvrq3MhPUHFyZ5m5dYAJaDYJE34qSAzhFR7umiUzTJJ3wofjB/wCb+S4GZ WO3R+h40+CE/uNTQ/wm+iEzWNz8xPZIxHWPwdZcDAnaTO7BQq6ycqIDRb+qOCWyM+ZTK5N MNo9oRuR2Qw5EiB6TH+lxmjmMoLaJeOZrihg75dHlokd8r0zmVUxlBA4RspKzg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705314518; a=rsa-sha256; cv=none; b=ZHRAHxLYvlwYVc/Q6D/3pSkiN0RLwReuQuYKJgRCftGXR7df42DJgqmim1X2qdboL9Jupl wQ8HvNnaMddF++kg0Hghsy9JFH3clO4/IzvVdWEpfEtG8A1bSrAwjg6nxtLwx4bOjykNlF kjinvFVmrCvyIb/IAypjhVu2J69nPlTkI5l4vgKLOxFfzuFG67kb9ikN7VDtL/9nXO+v50 AaPHzrNZO0IQWawhq8sZh7EWKwE5UhDlVbPFRaoMaeMeED0zSO0il9Neo75VXqoUt8+Ow6 q1TTd6wspvBVEedtPJOwihcrwsGFeI9BC1uhPywlTS4S4GzSNU6C/Jn0+Ywl8w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=soverin1 header.b="HT8/2Kzb"; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" 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 C653B6DB02 for ; Mon, 15 Jan 2024 11:28:38 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPKCQ-0005nF-2M; Mon, 15 Jan 2024 05:28:10 -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 1rPKCO-0005n3-8M for help-guix@gnu.org; Mon, 15 Jan 2024 05:28:08 -0500 Received: from dane.soverin.net ([185.233.34.157]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rPKCL-0000oU-Gx for help-guix@gnu.org; Mon, 15 Jan 2024 05:28:08 -0500 Received: from smtp.soverin.net (unknown [10.10.4.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dane.soverin.net (Postfix) with ESMTPS id 4TD7dF2Mg1zyV4 for ; Mon, 15 Jan 2024 10:28:01 +0000 (UTC) Received: from smtp.soverin.net (smtp.soverin.net [10.10.4.100]) by soverin.net (Postfix) with ESMTPSA id 4TD7dD44v4zFp for ; Mon, 15 Jan 2024 10:28:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=soverin1; t=1705314481; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uIHc3BYLfOvjhgPLJGNOimVFKlFIcYz+y4rmOAlr4tI=; b=HT8/2KzbG1ezxE0iEKEnrkeNpSBLYANSg+CPB4JAhLus9A+zl28P5/Uigxi3aZ7YBgIZII 4fpHik+M2qUU+BJX2hTYRHPQdeFtQkD0fOfVSiT8mLkkZomy/ZOdpyeri6BVGphqjn6sXZ cUm/G8l2YA4srBZKHA1CMeBWNoACQuEc8h5HUPC4h9Xom2Hs0KYpMiGvupu2TXcNSPiHB1 L6/YIQy0W/C/uNvhiRKltD8QSZoUZv6Nzl4wZn+KnAAK0RjfJiCXuvUJv2oQ38TyNYxMQK Bih19hSxLwU0FDhC6tw0pJnqBeFCkw/hKvD2h+6hLPFOj4v1FgAqcNLQjEtPOQ== Message-ID: <8ad04cec-ccb8-a7fe-dbf9-4ea8ef443bba@elenq.tech> Date: Mon, 15 Jan 2024 11:28:00 +0100 MIME-Version: 1.0 Subject: Re: Cross-compilation arm-none-eabi Content-Language: en-US, es-ES, eu To: help-guix@gnu.org References: <87zfx6yk2w.fsf@rymdkoloni.se> From: Ekaitz Zarraga In-Reply-To: <87zfx6yk2w.fsf@rymdkoloni.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.233.34.157; envelope-from=ekaitz@elenq.tech; helo=dane.soverin.net 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, 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-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -7.49 X-Spam-Score: -7.49 X-Migadu-Queue-Id: C653B6DB02 X-TUID: 2m9m2xr1TGiy Hi On 2024-01-15 11:20, Kristoffer Ström wrote: > > Hello! > > I'm trying to use `qmk` to build firmware for my keyboard, but i'm > running into cross complilation issues that i have no idea where to > start on. > > When running in a shell with `qmk` i get > > arm-none-eabi-gcc: command not found > > The only maybe related package i've been able to find is > `raspi-arm-chainloader`, however this fails to build (it seems also in > CI) > > https://data.guix.gnu.org/revision/45a6af1c18b254e2a5bb26c6bab465c3d4476a75/package/raspi-arm-chainloader/0.1?locale=en_US.UTF-8 > > <- link to failing build on data.guix.gnu.org > > Am i missing something? How would i make the cross-compile gcc available > in a shell environment? > > Thx, Kristoffer > Give a try to this in a `manifest.scm` file. (use-modules (gnu packages embedded)) (packages->manifest (list (make-arm-none-eabi-toolchain-7-2018-q2-update))) Since some recent changes in guix we have to make-... the package for these cross-compilers. I don't like it, but it has some reason behind. Cheers, PS: There are other problems with cross compilation I hope you don't get after this, if you do, please keep me posted and I'll try to help.