On Fri, Feb 8, 2019 at 9:35 AM Alexey Brodkin <[email protected]> wrote: > > Hi Khem, > > > -----Original Message----- > > From: Khem Raj <[email protected]> > > Sent: Friday, February 8, 2019 8:28 PM > > To: Alexey Brodkin <[email protected]> > > Cc: Patches and discussions about the oe-core layer > > <[email protected]>; Ross > > Burton <[email protected]>; [email protected]; Bruce > > Ashfield > > <[email protected]> > > Subject: Re: [PATCH] linux-yocto: Add dependency on libgcc for ARC > > > > On Fri, Feb 8, 2019 at 7:32 AM Alexey Brodkin > > <[email protected]> wrote: > > > > > > As of now in case of ARC there's no in-kernel implementation of basic > > > libgcc > > > functions used for millicode, multiplication, division etc instead we > > > simply > > > link with libgcc.a which provides everything used by the compiler. > > > > > > > this is something you would be fixing in kernel eventually? > > we can carry this as a workaround until then but it really needs to be > > fixed in kernel. > > Well we do have it in our plans but given this is more a nice feature > than something critical (as currently used approach with libgcc works > perfectly fine) it might not be done very soon. > > Thus we'll need to keep this work-around for now. > > BTW exporting of libgcc parts into kernel means we'll need to > keep it in sync with real libgcc later which is not optimal as well.
aarch64 kernel also bootstrapped with lbgcc for quite a while and then moved away I can understand that there might be bigger fish to fry, but this is not a insignificant issue where you make kernel dependency on toolchain runtime go away. > > -Alexey -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
