mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Jeffrey Walton <noloader@gmail.com>
To: musl@lists.openwall.com
Subject: [musl] getauxval availability
Date: Sun, 16 Feb 2020 08:43:54 -0500	[thread overview]
Message-ID: <CAH8yC8=i5P7WcGDR8f2_kaypjaDX9nZSowmPaKY4vV+7_MpckQ@mail.gmail.com> (raw)

Hi Everyone,

We use getauxval on Linux when available to determine cpu caps. For
Glibc the code looks like (http://lwn.net/Articles/519085/):

#if (((__GLIBC__ * 100) + __GLIBC_MINOR__) >= 216)
# define GETAUXV_AVAILABLE 1
#endif

I need a similar test for musl. It looks like the function was added
at https://git.musl-libc.org/cgit/musl/commit/?id=21ada94c4b8c. I
don't see how to map a commit to a release for the web front-end musl
uses.

The release page indicates it should be available with musl-1.0.1,
which was released April 16 2014
(https://www.musl-libc.org/releases/). But I am not sure about the
musl release process, and what is included in a release tarball.

What is the first release of musl that contains 21ada94c4b8c ?

Jeff

             reply	other threads:[~2020-02-16 13:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-16 13:43 Jeffrey Walton [this message]
2020-02-16 16:06 ` Rich Felker
2020-02-16 16:15 ` Szabolcs Nagy

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='CAH8yC8=i5P7WcGDR8f2_kaypjaDX9nZSowmPaKY4vV+7_MpckQ@mail.gmail.com' \
    --to=noloader@gmail.com \
    --cc=musl@lists.openwall.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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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).