From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10765 Path: news.gmane.org!.POSTED!not-for-mail From: Laine Gholson Newsgroups: gmane.linux.lib.musl.general Subject: ldd not working on ET_EXEC executables Date: Mon, 5 Dec 2016 19:39:32 -0600 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1480988392 7096 195.159.176.226 (6 Dec 2016 01:39:52 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2016 01:39:52 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux armv7l; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: musl@lists.openwall.com Original-X-From: musl-return-10778-gllmg-musl=m.gmane.org@lists.openwall.com Tue Dec 06 02:39:48 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1cE4jU-00016j-Lq for gllmg-musl@m.gmane.org; Tue, 06 Dec 2016 02:39:48 +0100 Original-Received: (qmail 3079 invoked by uid 550); 6 Dec 2016 01:39:49 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 2024 invoked from network); 6 Dec 2016 01:39:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=hNq5TPDnYblKDVfdyR2y5+G91Wu51dnVTjWUeT9G6aw=; b=bkIyNGAKHJUvZ6m9beM/Z7CyjNQYB0rwGpI3w1dbQalDmp8AgOnoDXz/UZLDdt3LdP +SM1cFs36oMubqrtHCn2j1J4X4M9d3jHWpD4eJC7vWwNSgeTeJDRBvidqdh4S/Rd3QAv w0DlThT9jYDeUBzKnzg1Qmn+EJ4zC2Xtg4YUbFMUDi70xdVYC7yeUAXkB8d/N8y5mH74 naYMX5g7SsJNf79KucaMFiCc2s3vJ/O+RnoI4ZEFgu3N2L0T0L1mAyV699tHBI0ZrRNH txYoLKVqxIZnpn7zIskO8EDh9lyt/HcrUfVzer4BFEFpEphu2gpvMOEEUN5cpeH7GW3u iL8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=hNq5TPDnYblKDVfdyR2y5+G91Wu51dnVTjWUeT9G6aw=; b=ml8g0pAcxEIFnvEwpipQNIwj+K0KTsgop4KWciBLLxIrJPYTHv0vFscaddKxDONs6z kuZuyeO9HqJnHTkgMFjXhLllf+Mu1eQ3idJF2VerUTa13/dDLq/oeYAogBhaYfen1M2r MurjC1f7RVEbGiLz0Mwu95/enBCiLsCVK+DLEq32MVez+WSFeDbOuVSn+ybuIhuvDFDa b3jpFTujMYfuxO/i4UfFDSu2deA1+2Cp2CNekikrobrdL0Gy6Billv0/sSsdP5hZdqJH W3bKUjvRiuiZqpkpH49rCEa3noJaz6ruUIWhWQcN5A/Y5hsYEWers2yGLBrsBIMleHhh rTUw== X-Gm-Message-State: AKaTC01kN4pipTRukVj4nCmv1Jo8DIJghEpT7A+QuoVh+uOyT+mfyUJon7wsLI9o3HUanQ== X-Received: by 10.107.197.1 with SMTP id v1mr50048653iof.119.1480988375198; Mon, 05 Dec 2016 17:39:35 -0800 (PST) Xref: news.gmane.org gmane.linux.lib.musl.general:10765 Archived-At: 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 $ 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 Any idea why ldd says executables with the ET_EXEC type aren't valid?