All of lore.kernel.org
 help / color / mirror / Atom feed
* I think lib/copperplate depends on glibc while using dual kernel configuration.Am i right?
@ 2020-04-10  3:56 孙世龙
  2020-04-11  7:22 ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: 孙世龙 @ 2020-04-10  3:56 UTC (permalink / raw)
  To: xenomai

Hi,
  I am using xenomai-3.1.

   Two figures are contained in url
https://gitlab.denx.de/Xenomai/xenomai/-/wikis/Start_Here.

   Since the architecture showed in figure 2 named xenomai 3 single kernel
configuration, i could draw the conclusion that copperplate interface
depends on the glibc.

   But i don't think i can draw the same conclusion from the Figure 1.
Xenomai 3 dual kernel configuration.

  When i enable the --enable-pshared compiler option, I could clearlly see
the create_main_heap function calls shm_open which is provided by glibc.
  So, i think copperplate interface depends on glibc while using dual
kernel configuration.Am i right?

  Thanks a lot.Looking forward to your reply.
  Best regards.

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

* Re: I think lib/copperplate depends on glibc while using dual kernel configuration.Am i right?
  2020-04-10  3:56 I think lib/copperplate depends on glibc while using dual kernel configuration.Am i right? 孙世龙
@ 2020-04-11  7:22 ` Jan Kiszka
  2020-04-11 16:45   ` cern
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Kiszka @ 2020-04-11  7:22 UTC (permalink / raw)
  To: 孙世龙, xenomai

On 10.04.20 05:56, 孙世龙 via Xenomai wrote:
> Hi,
>    I am using xenomai-3.1.
>
>     Two figures are contained in url
> https://gitlab.denx.de/Xenomai/xenomai/-/wikis/Start_Here.
>
>     Since the architecture showed in figure 2 named xenomai 3 single kernel
> configuration, i could draw the conclusion that copperplate interface
> depends on the glibc.
>
>     But i don't think i can draw the same conclusion from the Figure 1.
> Xenomai 3 dual kernel configuration.
>
>    When i enable the --enable-pshared compiler option, I could clearlly see
> the create_main_heap function calls shm_open which is provided by glibc.
>    So, i think copperplate interface depends on glibc while using dual
> kernel configuration.Am i right?

Xenomai does not replace a libc when using the cobalt mode. It only
provides alternatives to certain time-sensitive services. So a libc,
like glibc, remains a natural dependency, for Xenomai libs themselves as
well as the target application.

Jan


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

* Re: I think lib/copperplate depends on glibc while using dual kernel configuration.Am i right?
  2020-04-11  7:22 ` Jan Kiszka
@ 2020-04-11 16:45   ` cern
  2020-04-11 17:52     ` Jan Kiszka
  0 siblings, 1 reply; 4+ messages in thread
From: cern @ 2020-04-11 16:45 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: 孙世龙, xenomai

Hi,
Apr 11, 2020, 09:22 by xenomai@xenomai.org:

> On 10.04.20 05:56, 孙世龙 via Xenomai wrote:
>
>> Hi,
>>  I am using xenomai-3.1.
>>
>>  Two figures are contained in url
>> https://gitlab.denx.de/Xenomai/xenomai/-/wikis/Start_Here.
>>
>>  Since the architecture showed in figure 2 named xenomai 3 single kernel
>> configuration, i could draw the conclusion that copperplate interface
>> depends on the glibc.
>>
>>  But i don't think i can draw the same conclusion from the Figure 1.
>> Xenomai 3 dual kernel configuration.
>>
>>  When i enable the --enable-pshared compiler option, I could clearlly see
>> the create_main_heap function calls shm_open which is provided by glibc.
>>  So, i think copperplate interface depends on glibc while using dual
>> kernel configuration.Am i right?
>>
>
> Xenomai does not replace a libc when using the cobalt mode. It only
> provides alternatives to certain time-sensitive services. So a libc,
> like glibc, remains a natural dependency, for Xenomai libs themselves as
> well as the target application.
>
What about musl or other libc interpretations? (I haven't tried it yet, it's in my plan.)

Cern.

>
> Jan
>



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

* Re: I think lib/copperplate depends on glibc while using dual kernel configuration.Am i right?
  2020-04-11 16:45   ` cern
@ 2020-04-11 17:52     ` Jan Kiszka
  0 siblings, 0 replies; 4+ messages in thread
From: Jan Kiszka @ 2020-04-11 17:52 UTC (permalink / raw)
  To: cern; +Cc: 孙世龙, xenomai

On 11.04.20 18:45, cern@tuta.io wrote:
> Hi,
> Apr 11, 2020, 09:22 by xenomai@xenomai.org:
>
>> On 10.04.20 05:56, 孙世龙 via Xenomai wrote:
>>
>>> Hi,
>>>   I am using xenomai-3.1.
>>>
>>>   Two figures are contained in url
>>> https://gitlab.denx.de/Xenomai/xenomai/-/wikis/Start_Here.
>>>
>>>   Since the architecture showed in figure 2 named xenomai 3 single kernel
>>> configuration, i could draw the conclusion that copperplate interface
>>> depends on the glibc.
>>>
>>>   But i don't think i can draw the same conclusion from the Figure 1.
>>> Xenomai 3 dual kernel configuration.
>>>
>>>   When i enable the --enable-pshared compiler option, I could clearlly see
>>> the create_main_heap function calls shm_open which is provided by glibc.
>>>   So, i think copperplate interface depends on glibc while using dual
>>> kernel configuration.Am i right?
>>>
>>
>> Xenomai does not replace a libc when using the cobalt mode. It only
>> provides alternatives to certain time-sensitive services. So a libc,
>> like glibc, remains a natural dependency, for Xenomai libs themselves as
>> well as the target application.
>>
> What about musl or other libc interpretations? (I haven't tried it yet, it's in my plan.)
>

It should work, but I didn't try myself. We have uclibc running, at
least on some arch.

Jan


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

end of thread, other threads:[~2020-04-11 17:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-10  3:56 I think lib/copperplate depends on glibc while using dual kernel configuration.Am i right? 孙世龙
2020-04-11  7:22 ` Jan Kiszka
2020-04-11 16:45   ` cern
2020-04-11 17:52     ` Jan Kiszka

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.