Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 30 Nov 2015 16:14:32 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Support for out-of-tree build

On Mon, Nov 30, 2015 at 02:49:47AM +0000, Petr Hosek wrote:
> On Sun, Nov 29, 2015 at 5:36 PM Rich Felker <dalias@...c.org> 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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.