From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Thibault Subject: Re: [PATCH ARM v8 3/4] mini-os: arm: build system Date: Wed, 22 Oct 2014 11:59:21 +0200 Message-ID: <20141022095921.GH3659@type.bordeaux.inria.fr> References: <1412328051-20015-1-git-send-email-talex5@gmail.com> <1412328051-20015-4-git-send-email-talex5@gmail.com> <1413891867.23337.26.camel@citrix.com> <20141021215012.GI3481@type.youpi.perso.aquilenet.fr> <1413968511.20604.54.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XgshS-0008S7-6I for xen-devel@lists.xenproject.org; Wed, 22 Oct 2014 09:59:26 +0000 Content-Disposition: inline In-Reply-To: <1413968511.20604.54.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Thomas Leonard , Dave.Scott@eu.citrix.com, anil@recoil.org, stefano.stabellini@eu.citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org Ian Campbell, le Wed 22 Oct 2014 10:01:51 +0100, a =E9crit : > On Tue, 2014-10-21 at 23:50 +0200, Samuel Thibault wrote: > > Ian Campbell, le Tue 21 Oct 2014 12:44:27 +0100, a =E9crit : > > > > +ifeq ($(XEN_TARGET_ARCH),arm32) > > > > +# Need libgcc.a for division helpers > > > = > > > Is this the __aeabi_* stuff? > > > = > > > Samuel, is this sort of thing OK in mini-os? Usually on the Xen/kernel > > > side we avoid libgcc.a and instead have our own copies of such helper= s. > > > I don't recall why, I don't think it is licensing (libgcc has an > > > exception). Possibly just to give some control over what gets include= d? > > = > > IIRC we would tend to get additional things brought in, with special > > linker features and all kinds of things we don't want to have to > > support. Since you never know what compiler would be used, it was saner > > to just provide an implementation. > = > So it sounds like we'd be better off finding a BSD licensed > implementation of the require __aeabi_* and including those in mini-os? Yes. Samuel