All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>,
	Romain Naour <romain.naour@gmail.com>,
	buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] package/mesa3d: fix build on riscv32
Date: Sat, 21 Aug 2021 21:08:07 +0200	[thread overview]
Message-ID: <20210821210807.2a05b670@windsurf> (raw)
In-Reply-To: <20210821160509.1514047-1-fontaine.fabrice@gmail.com>

On Sat, 21 Aug 2021 18:05:09 +0200
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Fix the following build failure on riscv32:
> 
> ../src/util/futex.h: In function 'sys_futex':
> ../src/util/futex.h:39:19: error: 'SYS_futex' undeclared (first use in this function); did you mean 'sys_futex'?
>    39 |    return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3);
>       |                   ^~~~~~~~~
>       |                   sys_futex
> 
> Fixes:
>  - http://autobuild.buildroot.org/results/692700a5f967760a0b8cd358b1712f1d5a7b681e
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

> ++#ifndef SYS_futex
> ++#define SYS_futex SYS_futex_time64
> ++#endif

Are we sure that SYS_futex is exactly equivalent to SYS_futex_time64 ?
In another e-mail thread Arnout said they are not exactly equivalent.

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2021-08-21 19:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-21 16:05 [Buildroot] [PATCH 1/1] package/mesa3d: fix build on riscv32 Fabrice Fontaine
2021-08-21 19:08 ` Thomas Petazzoni [this message]
2021-08-21 22:06   ` Fabrice Fontaine
2021-08-23 22:06     ` Arnout Vandecappelle
2021-09-06 17:08 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210821210807.2a05b670@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=bernd.kuhls@t-online.de \
    --cc=buildroot@buildroot.org \
    --cc=fontaine.fabrice@gmail.com \
    --cc=romain.naour@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.