From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id mBhFLWiA7GS+HAAAauVa8A:P1 (envelope-from ) for ; Mon, 28 Aug 2023 13:09:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mBhFLWiA7GS+HAAAauVa8A (envelope-from ) for ; Mon, 28 Aug 2023 13:09:28 +0200 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 9D17431C4E for ; Mon, 28 Aug 2023 13:09:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail2 header.b=H4+xXwoS; 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=none) header.from=elenq.tech ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1693220968; 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=9mPfEYv/4X30Y/QNdSQg6cFbsaDyEENNU6GAsUbRXPo=; b=azFPp+uaJ+Im047r/WECkwvLHJiB3muiBys60u0DEx7EhbWOWymyA1sH+sUXiXFdeQ+4t4 jmbkDOSOyFO427bkIlPqJ3x7gofkCKac6jkZlspZ497rT2enYuT9Pg+pyYGJ5MpagWiFPW KCoIahvvLmn8VyAnb1t5VcOHStWoIFBbkUZ4WAWGa1szdQVXaXUjGx1sQnH8pbLAStWNdM nwogYQjpZ/igr2O8IcKgdj9pk14W1kKwoMyslXHaKImHzpDj18csVx8JX2u65C0Jcj2nb3 Q0qXNaUZoLTgwGWDSAj0XCT9HIm6guozAJkCIDfcOPkM7mTLTh5Lm+GqT3T7Lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=elenq.tech header.s=protonmail2 header.b=H4+xXwoS; 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=none) header.from=elenq.tech ARC-Seal: i=1; s=key1; d=yhetil.org; t=1693220968; a=rsa-sha256; cv=none; b=fjQJkB3ZCqn7XI+x/GAmfOgFleBXYVdOT3K0l4pTet9vZXjQJGm1azP1wtoohkcCp6LCaG L6erPA2Tz6tA03hZcp+mBklwzgCVYDHs2LmVsp3p5I6m6Ay8tY5A27Og0JtZvAKAl9o3kI oxPVv0x1emBDfJBG+yet3xG/lcCxx+9td62O0aCqRP3VvtRYlnHPUoxpvERM3X+Ut0bw+Z GEenjtu1FTLeBDPvGP22CZzbRjVSeKmAphNbejaIjnGk36LTZsstR2R1nSLe8UxKmiWY61 sSt3T6jZNnD82JYC+uzKYXnO1l3V+fGGvZ3LrzhRLRjAOHlRQJ+JdXxzN7UfyQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qaa7J-0003Yb-PN; Mon, 28 Aug 2023 07:09:10 -0400 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 1qaa7I-0003YM-0B for guix-devel@gnu.org; Mon, 28 Aug 2023 07:09:08 -0400 Received: from mail-0301.mail-europe.com ([188.165.51.139]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qaa75-0005v6-2w for guix-devel@gnu.org; Mon, 28 Aug 2023 07:08:58 -0400 Date: Mon, 28 Aug 2023 11:08:24 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail2; t=1693220928; x=1693480128; bh=9mPfEYv/4X30Y/QNdSQg6cFbsaDyEENNU6GAsUbRXPo=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=H4+xXwoSLDl/DXBzz5xRRXIl2a/FruqX2BsO285gkkU7yeMDbyQPcgcfYr3xpojKi 4YWv8MTv1JzkEmgQuFcwRvelZHArlgJRScKrKEYbx9r5PY2LIcUhpj89dks8WNMOeH r+Eti6N5EmUEdTos6XtnAMXMl+KnWlCvdK81U9dRf9QzYwxFcYcUaX5fgs3w12hDda luBc5MKXJgXxhR748hcoBgA8k4h3kyn+Od3aCUTeLFCO1J1cxqTJVrLjG0s+Zmefx1 sN+qunuQyKHiAsI9Gk5PB0M5Rd8jqF6KhQxEhpp2vXLyoiRva7695CUqsHGlVNML7S 3/KVZTQVHNG3w== To: =?utf-8?B?5a6L5paH5q2m?= From: Ekaitz Zarraga Cc: "guix-devel\\@gnu.org" Subject: Re: GDB-multiarch Message-ID: In-Reply-To: <87ttsjo2b1.fsf@envs.net> References: <87ttsjo2b1.fsf@envs.net> Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=188.165.51.139; envelope-from=ekaitz@elenq.tech; helo=mail-0301.mail-europe.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 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -9.60 X-Spam-Score: -9.60 X-Migadu-Queue-Id: 9D17431C4E X-TUID: UpwsdAgVvjAY ElenQ Technology Ethical Innovation ------- Original Message ------- On Monday, August 28th, 2023 at 11:04 AM, =E5=AE=8B=E6=96=87=E6=AD=A6 wrote: > Ekaitz Zarraga ekaitz@elenq.tech writes: >=20 > > Hi all, > >=20 > > As you might know I'm talking part on the RISC-V bootstrapping efforts = in Guix. > > This makes me need a multi-architecture GDB. So I made this simple pack= age: > >=20 > > ``` scheme > > (define-module (gdb) > > #:use-module (gnu packages) > > #:use-module (gnu packages gdb) > > #:use-module ((guix licenses) #:select (gpl3+)) > > #:use-module (guix packages) > > #:use-module (guix utils)) > >=20 > > (define-public gdb-multiarch-12 > > (package > > (inherit gdb/pinned) > > (name "gdb-multiarch") > > (version "12.1") > > (arguments > > `(#:configure-flags > > (list "--enable-targets=3Dall") > > ,@(package-arguments gdb-12))) > > (properties '()))) > >=20 > > (define-public gdb-multiarch gdb-multiarch-12) > > ``` > >=20 > > We could think about upstreaming it, probably replacing the output `gdb= ` binary > > with `gdb-multiarch` as I think Debian does. > >=20 > > I think this might be interesting for many others. > >=20 > > WDYT? > >=20 > > ElenQ Technology > > Ethical Innovation >=20 >=20 > Hello, I have pushed one 'gdb-multiarch' into master as commit ceff14b7cd= 4. >=20 > It have different arguments, which I copied from other places.. >=20 > +(define-public gdb-multiarch > + (package/inherit gdb-12 > + (name "gdb-multiarch") > + (arguments > + `(#:configure-flags > + (list "--enable-targets=3Dall" > + "--enable-multilib" > + "--enable-interwork" > + "--enable-languages=3Dc,c++" > + "--disable-nls") > + ,@(package-arguments gdb-12))) > + (synopsis "The GNU debugger (with all architectures enabled)"))) >=20 >=20 > Does it works for you? Thanks. Yeah, sure! Thanks a lot!