From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ekaitz Zarraga Subject: bug#39794: AVR-Toolchain-5 avr/io not found Date: Wed, 26 Feb 2020 08:44:35 +0000 Message-ID: References: Reply-To: Ekaitz Zarraga Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:43092) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j6sKT-0007p2-Lm for bug-guix@gnu.org; Wed, 26 Feb 2020 03:46:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j6sKQ-00042d-O1 for bug-guix@gnu.org; Wed, 26 Feb 2020 03:46:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:50382) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j6sKQ-00041b-2v for bug-guix@gnu.org; Wed, 26 Feb 2020 03:46:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j6sKQ-0007fX-15 for bug-guix@gnu.org; Wed, 26 Feb 2020 03:46:02 -0500 In-Reply-To: Sender: "Debbugs-submit" Resent-Message-ID: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: "39794@debbugs.gnu.org" <39794@debbugs.gnu.org> Follow up of the problem: Looks like what it's missing is `multilib`, avr-gcc-4.9 package description= clearly activates multilib and states that in a comment: (define-public avr-gcc-4.9 (let ((xgcc (cross-gcc "avr" #:xgcc gcc-4.9 #:xbinutils avr-binutils))) (package (inherit xgcc) (name "avr-gcc") (arguments (substitute-keyword-arguments (package-arguments xgcc) ((#:phases phases) `(modify-phases ,phases ;; Without a working multilib build, the resulting GCC lacks ;; support for nearly every AVR chip. (add-after 'unpack 'fix-genmultilib (lambda _ ;; patch-shebang doesn't work here because there are actua= lly ;; several scripts inside this script, each with a #!/bin/= sh ;; that needs patching. (substitute* "gcc/genmultilib" (("#!/bin/sh") (string-append "#!" (which "sh")))) #t)))) ((#:configure-flags flags) `(delete "--disable-multilib" ,flags)))) ... But looks like the avr-gcc-5.5, which is just inheriting the same descripti= on, is not able to create the multilib. Any idea about why? I think once we solve that we could have a reasonable avr-toolchain and als= o go for newer versions. Regards, Ekaitz ElenQ Technology Ethical Innovation