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 02:49:47 +0000
From: Petr Hosek <phosek@...omium.org>
To: musl@...ts.openwall.com
Subject: Re: Support for out-of-tree build

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.

Content of type "text/html" skipped

View attachment "support-out-of-tree-build.patch" of type "text/x-patch" (13770 bytes)

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.