From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thompson, David" 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 07:34:19 -0400 Message-ID: References: <20160815104528.31090-1-dannym@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZG9w-0005QC-34 for guix-devel@gnu.org; Mon, 15 Aug 2016 07:34:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZG9t-00077I-UZ for guix-devel@gnu.org; Mon, 15 Aug 2016 07:34:23 -0400 Received: from mail-ua0-x244.google.com ([2607:f8b0:400c:c08::244]:35555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZG9t-00077D-PM for guix-devel@gnu.org; Mon, 15 Aug 2016 07:34:21 -0400 Received: by mail-ua0-x244.google.com with SMTP id 109so3986657uat.2 for ; Mon, 15 Aug 2016 04:34:20 -0700 (PDT) In-Reply-To: <20160815104528.31090-1-dannym@scratchpost.org> 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: Danny Milosavljevic Cc: guix-devel 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. - Dave