Re: Build failure on armhf

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

 



Hi Andreas,

On Sat, Dec 12, 2015 at 5:57 AM, Andreas Enge <andreas@xxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux