qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Jim Shu <jim.shu@sifive.com>, qemu-devel@nongnu.org
Cc: Laurent Vivier <laurent@vivier.eu>
Subject: Re: [PATCH 0/2] Let gen-vdso tool to use internal ELF header
Date: Fri, 26 Jul 2024 15:28:51 +1000	[thread overview]
Message-ID: <ca0090bb-9784-4355-b5a2-0783dd160c3e@linaro.org> (raw)
In-Reply-To: <20240726043246.10999-1-jim.shu@sifive.com>

On 7/26/24 14:32, Jim Shu wrote:
> Let gen-vdso tool to use QEMU's internal ELF header. It could avoid
> compatibility issue of glibc version in the environment. QEMU RISC-V
> zicfiss/lp extension patchset will add "EM_RISCV" symbol to it. This
> symbol is not supported in the legacy glibc.

I see EM_RISCV added added (by myself, amusingly, as part of a bulk merge) in 2016, 
included in glibc 2.24.

 From repology, vs our oldest supported OS,

centos stream 8:   2.28
debian 11:         2.31
fedora 39:         2.37
opensuse leap 15:  2.28
ubuntu 20.04:      2.31

So unless there's some *other* symbol you require, all supported OS will have EM_RISCV.


r~


  parent reply	other threads:[~2024-07-26  5:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-26  4:32 [PATCH 0/2] Let gen-vdso tool to use internal ELF header Jim Shu
2024-07-26  4:32 ` [PATCH 1/2] include/elf.h: align ELF macro name with glibc Jim Shu
2024-07-26  5:18   ` Richard Henderson
2024-07-26  4:32 ` [PATCH 2/2] linux-user: Add QEMU include path to vdso Jim Shu
2024-07-26  5:32   ` Richard Henderson
2024-07-26  5:28 ` Richard Henderson [this message]
2024-07-26  6:44   ` [PATCH 0/2] Let gen-vdso tool to use internal ELF header Jim Shu

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=ca0090bb-9784-4355-b5a2-0783dd160c3e@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=jim.shu@sifive.com \
    --cc=laurent@vivier.eu \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).