Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 20 Feb 2014 17:50:47 +0000
From: Oliver Schneider <musl-mailinglist@...rot.com>
To: musl@...ts.openwall.com
Subject: How can I assess compatibility of a statically linked binary?

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.

Thanks,

// Oliver

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.