From: Justin Cormack <justin@specialbusservice.com>
To: musl@lists.openwall.com
Subject: Re: How can I assess compatibility of a statically linked binary?
Date: Thu, 20 Feb 2014 17:59:57 +0000 [thread overview]
Message-ID: <CAK4o1WyuKB=TJ9VQEq=xmcQ_LnErkqQMLyLRkv9TqvZe1Jb4ug@mail.gmail.com> (raw)
In-Reply-To: <53064077.30702@f-prot.com>
[-- Attachment #1: Type: text/plain, Size: 1025 bytes --]
On 20 Feb 2014 17:51, "Oliver Schneider" <musl-mailinglist@f-prot.com>
wrote:
>
> Hi,
>
> when I have a file linked against glibc the file(1) utility will usually
> tell me something like this:
>
> ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked
> (uses shared libs), for GNU/Linux 2.6.15, stripped
>
> However, when I run this on a statically linked binary that uses musl, I
> get
>
> ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked,
> stripped
>
> which gives no indication of the minimum expected kernel. Does that mean
> that this binary will also run on, say, a 2.4.x kernel? I guess not?
>
> How can I tell which kernel interface a certain binary requires? After
> all the system call numbers on which the libc relies change every once
> in a while.
>
The Musl docs say which the earliest supported release is. From memory it
is late 2.4 but I don't recall the exact version. If you don't use some
functionality things might work on an earlier version of course.
Justin
[-- Attachment #2: Type: text/html, Size: 1307 bytes --]
next prev parent reply other threads:[~2014-02-20 17:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-20 17:50 Oliver Schneider
2014-02-20 17:59 ` Justin Cormack [this message]
2014-02-20 18:20 ` Oliver Schneider
2014-02-21 3:50 ` Rich Felker
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='CAK4o1WyuKB=TJ9VQEq=xmcQ_LnErkqQMLyLRkv9TqvZe1Jb4ug@mail.gmail.com' \
--to=justin@specialbusservice.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).