all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Using arch for kernel config file breaks kernel builds
@ 2016-09-14  9:17 Carlos Sánchez de La Lama
  2016-09-14 20:54 ` David Craven
  0 siblings, 1 reply; 2+ messages in thread
From: Carlos Sánchez de La Lama @ 2016-09-14  9:17 UTC (permalink / raw)
  To: guix-devel

Hi guys,

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.

I see two options:
1) go back to using system instead of arch (which would allow different
config files for, say, i386 and i686).
2) rename all i686 config files to i386.

In any case, current HEAD does not build 32-bit x86 kernels. I have
renamed config file ti -i386 in my local copy to be able to build.

BR

Carlos

-- 
'Common misconception that; than fun is relaxing. If it is, you're not doing it
right.'

Iain M. Banks, "The Player of Games" (1988)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Using arch for kernel config file breaks kernel builds
  2016-09-14  9:17 Using arch for kernel config file breaks kernel builds Carlos Sánchez de La Lama
@ 2016-09-14 20:54 ` David Craven
  0 siblings, 0 replies; 2+ messages in thread
From: David Craven @ 2016-09-14 20:54 UTC (permalink / raw)
  To: Carlos Sánchez 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-09-14 20:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-14  9:17 Using arch for kernel config file breaks kernel builds Carlos Sánchez de La Lama
2016-09-14 20:54 ` David Craven

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.