From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 2/5] gnu: Add avr-gcc. Date: Thu, 14 Apr 2016 19:06:39 +0200 Message-ID: <87shyoktls.fsf@gnu.org> References: <1460639824-9976-1-git-send-email-dthompson2@worcester.edu> <1460639824-9976-3-git-send-email-dthompson2@worcester.edu> <570FA0F7.4060909@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqkj7-0005Dm-TE for guix-devel@gnu.org; Thu, 14 Apr 2016 13:06:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqkj4-00048P-MX for guix-devel@gnu.org; Thu, 14 Apr 2016 13:06:45 -0400 In-Reply-To: <570FA0F7.4060909@gmail.com> (Manolis Ragkousis's message of "Thu, 14 Apr 2016 16:53:59 +0300") 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+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Manolis Ragkousis Cc: guix-devel@gnu.org Manolis Ragkousis skribis: > Hey David, > > On 04/14/16 16:17, David Thompson wrote: >> + (substitute-keyword-arguments (package-arguments xgcc) >> + ((#:phases phases) >> + `(modify-phases ,phases >> + ;; Without a working multilib build, the resulting GCC lac= ks >> + ;; support for nearly every AVR chip. >> + (add-after 'unpack 'fix-genmultilib >> + (lambda _ >> + (substitute* "gcc/genmultilib" >> + (("#!/bin/sh") (string-append "#!" (which "sh")))) >> + #t)))) > > I think we should add fix-genmultilib to one of the existing standard > phases because this problem appears to Ricardo's arm-none-eabi > cross-toolchain as well. All the cross-toolchains will benefit from this. Agreed. Could you prepare a patch for =E2=80=98core-updates=E2=80=99 that = does this? In the meantime we=E2=80=99ll add something along the lines of what David posted in =E2=80=98master=E2=80=99. Ludo=E2=80=99.