From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8948 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Support for out-of-tree build Date: Mon, 30 Nov 2015 16:14:32 -0500 Message-ID: <20151130211432.GV3818@brightrain.aerifal.cx> References: <20151117234330.GH3818@brightrain.aerifal.cx> <20151118001955.GI3818@brightrain.aerifal.cx> <20151118214452.GQ3818@brightrain.aerifal.cx> <20151120222000.GA3818@brightrain.aerifal.cx> <20151130013555.GT3818@brightrain.aerifal.cx> 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 1448918097 10102 80.91.229.3 (30 Nov 2015 21:14:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2015 21:14:57 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8961-gllmg-musl=m.gmane.org@lists.openwall.com Mon Nov 30 22:14:49 2015 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 1a3Vma-0007F2-Rz for gllmg-musl@m.gmane.org; Mon, 30 Nov 2015 22:14:48 +0100 Original-Received: (qmail 27888 invoked by uid 550); 30 Nov 2015 21:14:46 -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 27862 invoked from network); 30 Nov 2015 21:14:45 -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:8948 Archived-At: On Mon, Nov 30, 2015 at 02:49:47AM +0000, Petr Hosek wrote: > On Sun, Nov 29, 2015 at 5:36 PM Rich Felker wrote: > > > With ARCH=sh and SUBARCH=-nofpu and ASMSUBARCH=-nofpu, it looks to > > me like both src/setjmp/sh/setjmp.o and src/setjmp/sh-nofpu/setjmp.s > > will get included, rather than the latter replacing the former. > > > > Thanks, I managed to replicate that error. > > > > > When I tried this change, I started getting duplicate symbol errors when > > > linking libc.so, but with the original it seems to be working fine (this > > > particular case was when ARCH=arm SUBARCH=hf ASMSUBARCH=ebhf). > > > > I didn't mean to get rid of the existing subst, but to introduce a > > second one, so that src/whatever/$(ARCH)@(ASMSUBARCH)/foo.o > > excludes/replaces both src/whatever/$(ARCH)/foo.o and > > src/whatever/foo.o. > > > > Got it, I've added the additional subst which solves the problem. I'm trying it again now, and I'm still getting an error trying to build in a fresh out-of-tree dir: make: *** No rule to make target `obj/crt/i386/', needed by `obj/crt/crt1.o'. Stop. Rich