guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure on armhf


From: Filipe Brandenburger
Subject: Re: Build failure on armhf
Date: Wed, 30 Dec 2015 09:06:46 -0800

Hi Andreas,

On Sat, Dec 12, 2015 at 5:57 AM, Andreas Enge <address@hidden> wrote:
> numactl fails to build on armhf:
>    http://hydra.gnu.org/build/866208/log/raw
> with the following error message:
> syscall.c:113:2: error: #error "Add syscalls for your architecture or update 
> kernel headers"
>  #error "Add syscalls for your architecture or update kernel headers"
>
> Is this a known limitation?

So syscall.c defines the syscall numbers for syscalls such as
set_mempolicy, migrate_pages, etc. The syscalls numbers are different
on different Linux platforms, so it's only currently defined for a
handful of platforms.

As the error message says, if you find that error, maybe you should
consider adding the syscall numbers for your platform there?

> If yes, could it maybe be detected during the
> call to "configure"?

The detection is fairly complex, it mainly depends on compiler macros
being defined for your platform. Furthermore, adding platform
detection code to configure would probably create duplication, in that
both configure.ac and syscalls.c would need to be updated to add
support for a new platform.

What is the problem you are trying to solve?

Cheers,
Filipe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]