All of lore.kernel.org
 help / color / mirror / Atom feed
* ARC arch support: uClibc status ?
@ 2017-06-23 13:23 Mylene Josserand
  2017-06-23 13:40 ` Richard Purdie
  0 siblings, 1 reply; 4+ messages in thread
From: Mylene Josserand @ 2017-06-23 13:23 UTC (permalink / raw)
  To: openembedded-core; +Cc: Thomas Petazzoni, Antoine Ténart, Alexey Brodkin

Hello everyone,


We are currently adding to Yocto project the Synopsys ARC CPU
architecture, which is only available with uClibc library.

We currently have a layer which adds the support of this architecture 
and uClibc support as it is, now, removed from OE-core.

Many configurations/fixes are needed in OpenEmbedded-core's recipes to 
build successfully with this C library (library's dependencies, 
autotools configuration, etc).

We wanted to send patches to fix them but it seems that all uClibc's 
references are now removed from OE-core, even in recipes:

https://patchwork.openembedded.org/patch/140943/
https://patches.openembedded.org/patch/140906/

What is the status of it? Remove entirely uClibc from OE-core?
Could you give us advice on how to handle uClibc?  Should we create a 
"meta-uclibc" layer which adds support of it + bbappend for all the 
OE-core's recipes that currently fail because of uClibc's misconfiguration?

I guess that there is no plan to add uClibc's configuration in OE-core's 
recipes (even without uClibc itself), right?


Thank you in advance,

Best regards,

-- 
Mylène Josserand, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ARC arch support: uClibc status ?
  2017-06-23 13:23 ARC arch support: uClibc status ? Mylene Josserand
@ 2017-06-23 13:40 ` Richard Purdie
  2017-06-23 13:46   ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2017-06-23 13:40 UTC (permalink / raw)
  To: Mylene Josserand, openembedded-core
  Cc: Thomas Petazzoni, Antoine Ténart, Alexey Brodkin

Hi,

On Fri, 2017-06-23 at 15:23 +0200, Mylene Josserand wrote:
> We are currently adding to Yocto project the Synopsys ARC CPU
> architecture, which is only available with uClibc library.
> 
> We currently have a layer which adds the support of this
> architecture 
> and uClibc support as it is, now, removed from OE-core.
> 
> Many configurations/fixes are needed in OpenEmbedded-core's recipes
> to 
> build successfully with this C library (library's dependencies, 
> autotools configuration, etc).
> 
> We wanted to send patches to fix them but it seems that all uClibc's 
> references are now removed from OE-core, even in recipes:
> 
> https://patchwork.openembedded.org/patch/140943/
> https://patches.openembedded.org/patch/140906/
> 
> What is the status of it? Remove entirely uClibc from OE-core?
> Could you give us advice on how to handle uClibc?  Should we create
> a 
> "meta-uclibc" layer which adds support of it + bbappend for all the 
> OE-core's recipes that currently fail because of uClibc's
> misconfiguration?
> 
> I guess that there is no plan to add uClibc's configuration in OE-
> core's 
> recipes (even without uClibc itself), right?

We dropped uclibc from OE-Core around a year ago in favour of musl
since it seems to work for all the use cases we've been aware of from
our users and nobody was willing to maintain it.

Since then the uclibc overrides and other pieces in core have bitrotted
to the point it was clear nobody was actively using or maintaining
them. I therefore proposed some patches removing them, those were
agreed by several developers and no objections were seen. We therefore
cleaned up the remaining pieces.

I believe that we have enhanced the extension mechanisms within the
core such that a meta-uclibc layer would be possible now, even for the
site files and insane.bbclass mappings and so on. It would need to add
some of the extensions removed from the core and then it should be
buildable again.

If you can't make anything work from the layer let us know and we can
try and figure out a way to solve that. I don't think the uclibc pieces
would be coming back into OE-Core any time soon though as whilst it
does have some niche markets left (e.g. arc), I can't see it being
widely used by the majority of OE users/arches.

(As an aside I haven't looked at it at all but does musl support arc?)

Cheers,

Richard



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ARC arch support: uClibc status ?
  2017-06-23 13:40 ` Richard Purdie
@ 2017-06-23 13:46   ` Khem Raj
       [not found]     ` <1498225858.3451.20.camel@synopsys.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Khem Raj @ 2017-06-23 13:46 UTC (permalink / raw)
  To: Richard Purdie
  Cc: Thomas Petazzoni, Antoine Ténart, Alexey Brodkin,
	Patches and discussions about the oe-core layer

On Fri, Jun 23, 2017 at 6:40 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> Hi,
>
> On Fri, 2017-06-23 at 15:23 +0200, Mylene Josserand wrote:
>> We are currently adding to Yocto project the Synopsys ARC CPU
>> architecture, which is only available with uClibc library.
>>
>> We currently have a layer which adds the support of this
>> architecture
>> and uClibc support as it is, now, removed from OE-core.
>>
>> Many configurations/fixes are needed in OpenEmbedded-core's recipes
>> to
>> build successfully with this C library (library's dependencies,
>> autotools configuration, etc).
>>
>> We wanted to send patches to fix them but it seems that all uClibc's
>> references are now removed from OE-core, even in recipes:
>>
>> https://patchwork.openembedded.org/patch/140943/
>> https://patches.openembedded.org/patch/140906/
>>
>> What is the status of it? Remove entirely uClibc from OE-core?
>> Could you give us advice on how to handle uClibc?  Should we create
>> a
>> "meta-uclibc" layer which adds support of it + bbappend for all the
>> OE-core's recipes that currently fail because of uClibc's
>> misconfiguration?
>>
>> I guess that there is no plan to add uClibc's configuration in OE-
>> core's
>> recipes (even without uClibc itself), right?
>
> We dropped uclibc from OE-Core around a year ago in favour of musl
> since it seems to work for all the use cases we've been aware of from
> our users and nobody was willing to maintain it.
>
> Since then the uclibc overrides and other pieces in core have bitrotted
> to the point it was clear nobody was actively using or maintaining
> them. I therefore proposed some patches removing them, those were
> agreed by several developers and no objections were seen. We therefore
> cleaned up the remaining pieces.
>
> I believe that we have enhanced the extension mechanisms within the
> core such that a meta-uclibc layer would be possible now, even for the
> site files and insane.bbclass mappings and so on. It would need to add
> some of the extensions removed from the core and then it should be
> buildable again.
>
> If you can't make anything work from the layer let us know and we can
> try and figure out a way to solve that. I don't think the uclibc pieces
> would be coming back into OE-Core any time soon though as whilst it
> does have some niche markets left (e.g. arc), I can't see it being
> widely used by the majority of OE users/arches.
>
> (As an aside I haven't looked at it at all but does musl support arc?)
>

I dont see arc support in upstream musl, It could good if it was there
since that could unleash whole OE on arc architecture. We can do
successful world builds on musl much like glibc now a days.

> Cheers,
>
> Richard
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ARC arch support: uClibc status ?
       [not found]     ` <1498225858.3451.20.camel@synopsys.com>
@ 2017-06-23 13:54       ` Khem Raj
  0 siblings, 0 replies; 4+ messages in thread
From: Khem Raj @ 2017-06-23 13:54 UTC (permalink / raw)
  To: Alexey Brodkin; +Cc: thomas.petazzoni, antoine.tenart, openembedded-core

On Fri, Jun 23, 2017 at 6:50 AM, Alexey Brodkin
<Alexey.Brodkin@synopsys.com> wrote:
> Hi Khem,
>
> On Fri, 2017-06-23 at 06:46 -0700, Khem Raj wrote:
>> On Fri, Jun 23, 2017 at 6:40 AM, Richard Purdie
>> <richard.purdie@linuxfoundation.org> wrote:
>> >
>> > Hi,
>> >
>> > On Fri, 2017-06-23 at 15:23 +0200, Mylene Josserand wrote:
>> > >
>> > > We are currently adding to Yocto project the Synopsys ARC CPU
>> > > architecture, which is only available with uClibc library.
>> > >
>> > > We currently have a layer which adds the support of this
>> > > architecture
>> > > and uClibc support as it is, now, removed from OE-core.
>> > >
>> > > Many configurations/fixes are needed in OpenEmbedded-core's recipes
>> > > to
>> > > build successfully with this C library (library's dependencies,
>> > > autotools configuration, etc).
>> > >
>> > > We wanted to send patches to fix them but it seems that all uClibc's
>> > > references are now removed from OE-core, even in recipes:
>> > >
>> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__patchwork.openembedded.org_patch_140943_&d=DwIBaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFD
>> > > Dl656eViXO7breS55ytWkhpk5R81I&m=vXM6W0k4FOex1pzJnHfSDtrgw08G-uIiKgZJinDWFtI&s=wd0w1NqlVaNUjpgkDUqxfK2izS-a-XotxpeCqt3Mcro&e=
>> > > https://urldefense.proofpoint.com/v2/url?u=https-3A__patches.openembedded.org_patch_140906_&d=DwIBaQ&c=DPL6_X_6JkXFx7AXWqB0tg&r=lqdeeSSEes0GFDDl
>> > > 656eViXO7breS55ytWkhpk5R81I&m=vXM6W0k4FOex1pzJnHfSDtrgw08G-uIiKgZJinDWFtI&s=4Y1JNumo1mAFnPDzX2CaFZw9gfkSF2TJa_vIGO8A9yA&e=
>> > >
>> > > What is the status of it? Remove entirely uClibc from OE-core?
>> > > Could you give us advice on how to handle uClibc?  Should we create
>> > > a
>> > > "meta-uclibc" layer which adds support of it + bbappend for all the
>> > > OE-core's recipes that currently fail because of uClibc's
>> > > misconfiguration?
>> > >
>> > > I guess that there is no plan to add uClibc's configuration in OE-
>> > > core's
>> > > recipes (even without uClibc itself), right?
>> >
>> > We dropped uclibc from OE-Core around a year ago in favour of musl
>> > since it seems to work for all the use cases we've been aware of from
>> > our users and nobody was willing to maintain it.
>> >
>> > Since then the uclibc overrides and other pieces in core have bitrotted
>> > to the point it was clear nobody was actively using or maintaining
>> > them. I therefore proposed some patches removing them, those were
>> > agreed by several developers and no objections were seen. We therefore
>> > cleaned up the remaining pieces.
>> >
>> > I believe that we have enhanced the extension mechanisms within the
>> > core such that a meta-uclibc layer would be possible now, even for the
>> > site files and insane.bbclass mappings and so on. It would need to add
>> > some of the extensions removed from the core and then it should be
>> > buildable again.
>> >
>> > If you can't make anything work from the layer let us know and we can
>> > try and figure out a way to solve that. I don't think the uclibc pieces
>> > would be coming back into OE-Core any time soon though as whilst it
>> > does have some niche markets left (e.g. arc), I can't see it being
>> > widely used by the majority of OE users/arches.
>> >
>> > (As an aside I haven't looked at it at all but does musl support arc?)
>> >
>>
>> I dont see arc support in upstream musl, It could good if it was there
>> since that could unleash whole OE on arc architecture. We can do
>> successful world builds on musl much like glibc now a days.
>
> Indeed there's no musl port for ARC [yet].
> But we're almost done with glibc port and it looks like we'll need to switch
> to glibc for OE/Yocto which I believe is doable.
>
> I guess glibc is still the first class-citizen in OE, right?
>

yes that is right.

> -Alexey


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-23 13:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-23 13:23 ARC arch support: uClibc status ? Mylene Josserand
2017-06-23 13:40 ` Richard Purdie
2017-06-23 13:46   ` Khem Raj
     [not found]     ` <1498225858.3451.20.camel@synopsys.com>
2017-06-23 13:54       ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.