From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6732 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: dynamic compile issue Date: Thu, 18 Dec 2014 14:14:12 -0500 Message-ID: <20141218191412.GT4574@brightrain.aerifal.cx> References: <20141218184313.GA1783@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1418930074 11534 80.91.229.3 (18 Dec 2014 19:14:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Dec 2014 19:14:34 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-6745-gllmg-musl=m.gmane.org@lists.openwall.com Thu Dec 18 20:14:27 2014 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Y1gWo-0003zC-Qb for gllmg-musl@m.gmane.org; Thu, 18 Dec 2014 20:14:26 +0100 Original-Received: (qmail 9909 invoked by uid 550); 18 Dec 2014 19:14:25 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 9901 invoked from network); 18 Dec 2014 19:14:24 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:6732 Archived-At: On Thu, Dec 18, 2014 at 01:47:49PM -0500, stephen Turner wrote: > im using PCC as my compiler. it was initially built with gcc but since has > recompiled itself several times. 2 at least in the chroot musl only > environment alone. would this advice still apply? If i understood the pcc > group correctly it should not be responsible for this but i cant help but > think it is. regardless i will look into any advice/leads provided. PCC probably just has /lib/ld-linux.so.2 hard-coded for the "linux" target. You just need to change this when building it for a musl-based system or pass -Wl,-dynamic-linker,/lib/ld-musl-i386.so.1 (or whatever your arch is) on the command line. Rich