[Buildroot] [PATCH 2/2] toolchain: Add glibc support for ARCv2

Alexey Brodkin Alexey.Brodkin at synopsys.com
Thu Oct 5 21:30:24 UTC 2017


Hi Arnout,

On Wed, 2017-10-04 at 18:41 +0200, Arnout Vandecappelle wrote:
> 
> On 28-09-17 20:50, Alexey Brodkin wrote:
> > 
> > Hi Thomas, Arnout,
> > 
> > On Fri, 2017-09-15 at 01:14 +0300, Alexey Brodkin wrote:
> > > 
> > > Finally there's working ARC port of glibc thanks to Vineet and Cuper!
> > > This port is based on pretty recent glibc's master branch and ARC
> > > changes are being reviewed now in glibc's mailing list.
> > > 
> > > Thus we again have to use sources from our GitHub but as soon as there's
> > > a glibc release with our patches applied we'll switch to unpstream releases
> > > and will drop our glibc GitHub repo alltogether.
> > > 
> > > Note now we cut tags in glibc repo simultaneously with tags
> > > in Binutils and GCC repos and so to make sure everything works in the best
> > > way we plan to update glibc tag together with Binutils and GCC.
> > > 
> > > Also note as of today ARCompact (AKA ARCv1 ISA) is not supported in glibc
> > > but we plan to fix it soonish so for now we make glibc intentionally
> > > dependent on archs38.
> > > 
> > > Signed-off-by: Alexey Brodkin <abrodkin at synopsys.com>
> > > Cc: Cupertino Miranda <cmiranda at synopsys.com>
> > > Cc: Vineet Gupta <vgupta at synopsys.com>
> > > Cc: Anton Kolesov <akolesov at synopsys.com>
> > 
> > This patch was sitting in patchwork for 2 weeks now.
> > If there're any complaints an suggestions why don't we merge it?
> 
>  Since I merged the bump to glibc 2.26, patch 1 is not correct anymore.

I'll send a respin shortly, OK?

>  Would it be useful to instead add patches to our glibc to add ARC support? Or
> are the ARC patches too difficult to backport?

Well not now definitely. The point is:
 a) ARC port is not yet merged upstream
 b) Our patches are on top of pretty much up-to-date master branch,
    which means they alone won't apply on top of the most recent release

> 
> 
> > 
> > I'd like to see how we ramp-up with glibc toolchain for ARC.
> > That said once the patch is applied would be good to add
> > a corresponding config for autobuilder.
> 
>  You can actually do that yourself by adding a config to
> support/config-fragments/autobuild and updating toolchain-configs.csv
> in that directory. Something like br-arc-full-internal.config but then with glibc.

Sure, will do once glibc for ARC is supported in BR.

-Alexey


More information about the buildroot mailing list