Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 5 Dec 2016 19:39:32 -0600
From: Laine Gholson <laine.gholson@...il.com>
To: musl@...ts.openwall.com
Subject: ldd not working on ET_EXEC executables

Hello,

I am running musl on a ARM platform, and ldd won't work on a executable with the ET_EXEC type.

running GNU ld 2.25.1, gcc 6.2.0, and musl 1.1.15-git-71-g54991729

  $ gcc -fPIE -pie test.c -o test-pie
  $ ldd test-pie
<no error>
  $ gcc -fno-PIE -no-pie test.c -o test-nopie
  $ ldd test-nopie
ldd: test-nopie: Not a valid dynamic program
  $ elfedit --output-type DYN test-nopie
  $ ldd test-nopie
<no error>

Any idea why ldd says executables with the ET_EXEC type aren't valid?

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.