mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Isaac Dunham <ibid.ag@gmail.com>
To: Timo Teras <timo.teras@iki.fi>
Cc: musl@lists.openwall.com
Subject: Re: ELF loader rejects older glibc binary
Date: Thu, 26 Jun 2014 17:17:43 -0700	[thread overview]
Message-ID: <20140627001742.GA1558@newbook> (raw)
In-Reply-To: <20140626105008.16436a57@vostro>


As was suggested, I tried paxctl:
dcp/usr/local/Brother/Printer/DCP7065DN# paxctl -c -pem lpd/rawtobr3
file lpd/rawtobr3 had a PT_GNU_STACK program header, converted

dcp/usr/local/Brother/Printer/DCP7065DN# ldd lpd/rawtobr3
ldd: lpd/rawtobr3: Not a valid dynamic program

dcp/usr/local/Brother/Printer/DCP7065DN# strace ldd lpd/rawtobr3
execve("/usr/bin/ldd", ["ldd", "lpd/rawtobr3"], [/* 19 vars */]) = 0
open("lpd/rawtobr3", O_RDONLY|O_LARGEFILE) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\324\207\4\0104\0\0\0"..., 936) = 936
mmap2(0x8048000, 49152, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4ed25000
munmap(0x4ed25000, 49152)               = 0
writev(2, [{"ldd: lpd/rawtobr3: Not a valid d"..., 47}, {NULL, 0}], 2ldd: lpd/rawtobr3: Not a valid dynamic program
) = 47
exit_group(1)                           = ?
+++ exited with 1 +++

That's all I know.

Thanks,
Isaac Dunham


  reply	other threads:[~2014-06-27  0:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26  3:59 Isaac Dunham
2014-06-26  7:50 ` Timo Teras
2014-06-27  0:17   ` Isaac Dunham [this message]
2014-06-27  0:46   ` Isaac Dunham
2014-06-27  2:22     ` Rich Felker
2014-06-26 11:44 ` 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=20140627001742.GA1558@newbook \
    --to=ibid.ag@gmail.com \
    --cc=musl@lists.openwall.com \
    --cc=timo.teras@iki.fi \
    /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).