From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/8949 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 17:14:12 -0500 Message-ID: <20151130221412.GW3818@brightrain.aerifal.cx> References: <20151118001955.GI3818@brightrain.aerifal.cx> <20151118214452.GQ3818@brightrain.aerifal.cx> <20151120222000.GA3818@brightrain.aerifal.cx> <20151130013555.GT3818@brightrain.aerifal.cx> <20151130211432.GV3818@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 1448921704 3689 80.91.229.3 (30 Nov 2015 22:15:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Nov 2015 22:15:04 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-8962-gllmg-musl=m.gmane.org@lists.openwall.com Mon Nov 30 23:15:03 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 1a3WiK-0006AB-Ag for gllmg-musl@m.gmane.org; Mon, 30 Nov 2015 23:14:28 +0100 Original-Received: (qmail 9459 invoked by uid 550); 30 Nov 2015 22:14:26 -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 9440 invoked from network); 30 Nov 2015 22:14:26 -0000 Content-Disposition: inline In-Reply-To: <20151130211432.GV3818@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:8949 Archived-At: On Mon, Nov 30, 2015 at 04:14:32PM -0500, Rich Felker wrote: > 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. Manually creating the directory makes the build succeed. I also get, when re-running configure: creating config.mak... ln: ./Makefile: File exists done Not an error, but confusing and not what I would expect. Rich