From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: Re: Using arch for kernel config file breaks kernel builds Date: Wed, 14 Sep 2016 22:54:39 +0200 Message-ID: References: <7tlgyulu0w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkHE1-0007kt-1B for guix-devel@gnu.org; Wed, 14 Sep 2016 16:56:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkHDw-0000ze-Kn for guix-devel@gnu.org; Wed, 14 Sep 2016 16:56:07 -0400 Received: from mail-yw0-f171.google.com ([209.85.161.171]:33058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkHDv-0000uf-Da for guix-devel@gnu.org; Wed, 14 Sep 2016 16:56:04 -0400 Received: by mail-yw0-f171.google.com with SMTP id i129so42203787ywb.0 for ; Wed, 14 Sep 2016 13:55:41 -0700 (PDT) In-Reply-To: <7tlgyulu0w.fsf@gmail.com> 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: =?UTF-8?Q?Carlos_S=C3=A1nchez_de_La_Lama?= Cc: guix-devel > seems a commit yesterday (c258807a) broke kernel compilation on > i686. When searching for kernel configuration file, > system->linux-architecture reduces i686 to i386, but no matching > configuration file exists. Sorry about that. Thank you for reporting the issue. > I see two options: > 1) go back to using system instead of arch (which would allow different > config files for, say, i386 and i686). Sounds good - kernel-config should take a system instead of an arch, since we are really interested in getting a configuration for the guix system and the ARCH that linux-libre uses is an implementation detail. One difficulty that arises is that %current-target-system is a target triplet and not a guix system. I don't like adding more special casing like a (target-triplet->system) function - but we may have to... I'll fix this tomorrow morning. > 2) rename all i686 config files to i386.