Linux Perf Users
 help / color / mirror / Atom feed
From: Emiliano Ingrassia <ingrassia@epigenesys.com>
To: Arnd Bergmann <arnd@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	"linux-perf-users@vger.kernel.org"
	<linux-perf-users@vger.kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>, Jiri Olsa <jolsa@kernel.org>,
	Paul Walmsley <paul.walmsley@sifive.com>,
	Namhyung Kim <namhyung@kernel.org>,
	linux-riscv <linux-riscv@lists.infradead.org>,
	Bruce Ashfield <bruce.ashfield@gmail.com>,
	Khem Raj <raj.khem@gmail.com>,
	Richard Purdie <richard.purdie@linuxfoundation.org>
Subject: Re: perf tools build broken for RISCV 32 bit
Date: Mon, 18 Jan 2021 16:33:31 +0100	[thread overview]
Message-ID: <YAWqS9YZ0rpXPoSN@ingrassia.epigenesys.com> (raw)
In-Reply-To: <CAK8P3a3Vc4wrLvrfwkHd6HCMohk07Yi6P_jKaC_5AybCMBNjPA@mail.gmail.com>

Hi Arnd,

On Mon, Jan 18, 2021 at 04:19:47PM +0100, Arnd Bergmann wrote:
> On Mon, Jan 18, 2021 at 3:53 PM Emiliano Ingrassia
> <ingrassia@epigenesys.com> wrote:
> >
> > Hi,
> >
> > after some searching I found this patch from Yocto project:
> >
> > https://www.mail-archive.com/linux-yocto@lists.yoctoproject.org/msg01004.html.
> >
> > I don't know if it's ever been proposed as mainline patch.
> >
> > What do you think about it? Could it be the right solution?
>
> No. While this makes it work on rv32, it does not fix it in a
> way that makes it work on other architectures with a time64
> libc. If you fix it, please do it in a way that works on all architectures.

Ok, I totally agree with you on this point.

So, it is right to conclude that the problem is not in perf
implementation but in the libc implementation?
That is, for example, glibc should define SYS_futex as SYS_futex_time64
in case of riscv 32 bit because of its support to 64 bit time_t?

>
> I had really expected both Alistair and Khem to know better.
>
>       Arnd

Thank you, best regards.

Emiliano

  reply	other threads:[~2021-01-18 15:46 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-14 18:38 perf tools build broken for RISCV 32 bit Emiliano Ingrassia
2021-01-14 19:16 ` Arnd Bergmann
2021-01-15 11:13   ` Emiliano Ingrassia
2021-01-18 11:35   ` Emiliano Ingrassia
2021-01-18 11:56     ` Arnd Bergmann
2021-01-18 14:25       ` Emiliano Ingrassia
2021-01-18 14:39         ` Arnd Bergmann
2021-01-18 14:53         ` Emiliano Ingrassia
2021-01-18 15:19           ` Arnd Bergmann
2021-01-18 15:33             ` Emiliano Ingrassia [this message]
2021-01-18 15:44               ` Arnd Bergmann
2021-01-18 16:34                 ` Emiliano Ingrassia
2021-01-18 17:00                   ` Arnd Bergmann
2021-01-18 19:58               ` Arnd Bergmann
2021-01-19 16:53                 ` Emiliano Ingrassia
2021-01-19 19:47                   ` Arnd Bergmann
2021-01-20 14:44                     ` Emiliano Ingrassia
2021-01-20 15:29                       ` Arnd Bergmann
2021-01-20 15:45                         ` Emiliano Ingrassia
2021-01-20 16:03                           ` Arnd Bergmann
2021-01-20 17:56                             ` Emiliano Ingrassia

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=YAWqS9YZ0rpXPoSN@ingrassia.epigenesys.com \
    --to=ingrassia@epigenesys.com \
    --cc=acme@redhat.com \
    --cc=aou@eecs.berkeley.edu \
    --cc=arnd@kernel.org \
    --cc=bruce.ashfield@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=namhyung@kernel.org \
    --cc=palmer@dabbelt.com \
    --cc=paul.walmsley@sifive.com \
    --cc=raj.khem@gmail.com \
    --cc=richard.purdie@linuxfoundation.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox