public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: Mathieu Malaterre <malat@debian.org>
To: libc-help@sourceware.org
Subject: glibc-hwcaps for armv7 (neon-vfpv4)
Date: Thu, 31 Aug 2023 12:06:43 +0200	[thread overview]
Message-ID: <CA+7wUszFL1azk0zhPcF2fiHEuVEVgbwDM0usvEKms4NeyGftkA@mail.gmail.com> (raw)

Dear glibc maintainer,

I fail to understand the ld.so man page (Debian/sid version: man-pages
6.03) for hwcaps support. Specifically I'd like to install a shared
lib on a Debian/armhf system (baseline is neon-less) which was build
with gcc option:

  -march=armv7-a -mfpu=neon-vfpv4

What subfolder should I be using ?

Thanks,

--

Conversely how should I read the following:

% sudo ldconfig -p | grep hwcap
        libfoo.so.160 (libc6,x86-64, hwcap: 0x0004000000000000) =>
/lib/x86_64-linux-gnu/haswell/libfoo.so.160
        libfoo.so.160 (libc6,x86-64, hwcap: 0x0000000000000004) =>
/lib/x86_64-linux-gnu/avx512_1/libfoo.so.160

What does "haswell" / "avx512_1" subfolder implies in terms of gcc
compile options ?

Thanks (again)

-M

             reply	other threads:[~2023-08-31 10:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-31 10:06 Mathieu Malaterre [this message]
2023-08-31 11:24 ` Florian Weimer
2023-08-31 12:08   ` Mathieu Malaterre
2023-08-31 15:30     ` Adhemerval Zanella Netto
2023-09-01  7:18       ` Mathieu Malaterre
2023-08-31 17:20     ` Florian Weimer

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=CA+7wUszFL1azk0zhPcF2fiHEuVEVgbwDM0usvEKms4NeyGftkA@mail.gmail.com \
    --to=malat@debian.org \
    --cc=libc-help@sourceware.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 read-only IMAP folder(s) and NNTP newsgroup(s).