From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] gnu: avr: Use the correct gcc version as native-input. This makes crtatmega32u4.o etc appear in the output. Date: Mon, 15 Aug 2016 14:48:43 -0400 Message-ID: <20160815184843.GA12393@jasmine> References: <20160815104528.31090-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZMwV-0000U0-Ct for guix-devel@gnu.org; Mon, 15 Aug 2016 14:49:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZMwP-0008Ly-JE for guix-devel@gnu.org; Mon, 15 Aug 2016 14:48:58 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:52269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZMwO-0008J2-Dh for guix-devel@gnu.org; Mon, 15 Aug 2016 14:48:53 -0400 Content-Disposition: inline In-Reply-To: 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: "Thompson, David" Cc: guix-devel On Mon, Aug 15, 2016 at 07:34:19AM -0400, Thompson, David wrote: > On Mon, Aug 15, 2016 at 6:45 AM, Danny Milosavljevic > wrote: > > > > See also , . > > > > The easy fix would have been to pass "--enable-device-lib" to libc's configure. > > The right fix: use the right gcc as native input. > > > > * gnu/packages/avr.scm (avr-libc): Replace package by function. > > * gnu/packages/avr.scm (avr-toolchain): Use new avr-libc function. > > Ah, good catch! LGTM. > > Could someone with commit access apply this? I'm currently unable to do it. Pushed as 4d2470b0efb.