From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11103 Path: news.gmane.org!.POSTED!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: Static PIE with musl and clang Date: Sun, 5 Mar 2017 13:21:18 +0100 Message-ID: <20170305122118.GG2082@port70.net> References: <1450280459.2314.1488678451062.JavaMail.zimbra@computervoice.com> <20170305024403.GK1520@brightrain.aerifal.cx> <640524050.2626.1488685284594.JavaMail.zimbra@computervoice.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1488716500 11445 195.159.176.226 (5 Mar 2017 12:21:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 5 Mar 2017 12:21:40 +0000 (UTC) User-Agent: Mutt/1.6.0 (2016-04-01) To: musl@lists.openwall.com Original-X-From: musl-return-11118-gllmg-musl=m.gmane.org@lists.openwall.com Sun Mar 05 13:21:35 2017 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 1ckVAG-00023g-0G for gllmg-musl@m.gmane.org; Sun, 05 Mar 2017 13:21:28 +0100 Original-Received: (qmail 9773 invoked by uid 550); 5 Mar 2017 12:21:30 -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 9746 invoked from network); 5 Mar 2017 12:21:29 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <640524050.2626.1488685284594.JavaMail.zimbra@computervoice.com> Xref: news.gmane.org gmane.linux.lib.musl.general:11103 Archived-At: * Paul Sturm [2017-03-04 21:41:24 -0600]: > clang /usr/lib/rcrt1.o ../aslr.c -o aslr -fPIE -shared -Bsymbolic -Wl,--no-dynamic-linker > > ./aslr seg faults when I run it. you did not static link the libc at all