[FFmpeg-devel] aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD

Ramiro Polla ramiro.polla at gmail.com
Mon Sep 9 14:11:56 EEST 2024


On Mon, Sep 9, 2024 at 1:06 PM Brad Smith
<brad-at-comstyle.com at ffmpeg.org> wrote:
> On 2024-09-09 7:00 a.m., Martin Storsjö wrote:
> > On Mon, 9 Sep 2024, Brad Smith wrote:
> >
> >> aarch64: Implement support for elf_aux_info(3) on FreeBSD and OpenBSD
> >>
> >> FreeBSD 12.0+, OpenBSD -current and what will be OpenBSD 7.6 support
> >> elf_aux_info(3).
> >>
> >> Signed-off-by: Brad Smith <brad at comstyle.com>
> >> ---
> >> configure               | 2 ++
> >> libavutil/aarch64/cpu.c | 2 +-
> >> libavutil/cpu.c         | 9 ++++++++-
> >> 3 files changed, 11 insertions(+), 2 deletions(-)
> >
> > LGTM, thanks. (I guess the same change as in aarch64/cpu.c also could
> > be done in other architectures' cpu.c?)
>
> I was looking at ppc for ppc64. Adding some sort of /proc/self/auxv
> fallback to ff_getauxval() and then
> re-writting all that to use ff_getauxval() and have support for
> FreeBSD/powerpc64 and OpenBSD/powerpc64.
> FFmpeg is the only project I have come across so far that does not use
> getauxval() on ppc64.

Patches welcome :). Do you have such a system for testing?


More information about the ffmpeg-devel mailing list