All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] xenomai release check
@ 2007-07-12 10:53 Stéphane ANCELOT
  2007-07-12 17:38 ` Philippe Gerum
  0 siblings, 1 reply; 6+ messages in thread
From: Stéphane ANCELOT @ 2007-07-12 10:53 UTC (permalink / raw)
  To: xenomai-help

Hi,

Is it possible to setup a function that returns the xeno version string ?

In cross compiled environment, this will permit to check at runtime that
you are running the program with the expected xeno libraries !!!

We have had following problem on the target we setted up:
kernel modules were right, but usr/xenomai/libs  were coming from an
older xeno release !!
at runtime , our program had some bad issues !

Best Regards
Steph



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

* Re: [Xenomai-help] xenomai release check
  2007-07-12 10:53 [Xenomai-help] xenomai release check Stéphane ANCELOT
@ 2007-07-12 17:38 ` Philippe Gerum
  2007-07-12 22:22   ` Jan Kiszka
  0 siblings, 1 reply; 6+ messages in thread
From: Philippe Gerum @ 2007-07-12 17:38 UTC (permalink / raw)
  To: Stéphane ANCELOT; +Cc: xenomai-help

On Thu, 2007-07-12 at 10:53 +0000, Stéphane ANCELOT wrote:
> Hi,
> 
> Is it possible to setup a function that returns the xeno version string ?
> 

Have a look at XENO_VERSION_CODE and friends in nucleus/version.h

> In cross compiled environment, this will permit to check at runtime that
> you are running the program with the expected xeno libraries !!!
> 
> We have had following problem on the target we setted up:
> kernel modules were right, but usr/xenomai/libs  were coming from an
> older xeno release !!
> at runtime , our program had some bad issues !
> 
> Best Regards
> Steph
> 
> 
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
-- 
Philippe.




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

* Re: [Xenomai-help] xenomai release check
  2007-07-12 17:38 ` Philippe Gerum
@ 2007-07-12 22:22   ` Jan Kiszka
  2007-07-13  8:06     ` Philippe Gerum
  2007-07-13 10:54     ` Stéphane ANCELOT
  0 siblings, 2 replies; 6+ messages in thread
From: Jan Kiszka @ 2007-07-12 22:22 UTC (permalink / raw)
  To: rpm; +Cc: xenomai-help

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Philippe Gerum wrote:
> On Thu, 2007-07-12 at 10:53 +0000, Stéphane ANCELOT wrote:
>> Hi,
>>
>> Is it possible to setup a function that returns the xeno version string ?
>>
> 
> Have a look at XENO_VERSION_CODE and friends in nucleus/version.h

I think Stephan has a different problem:

> 
>> In cross compiled environment, this will permit to check at runtime that
>> you are running the program with the expected xeno libraries !!!
>>
>> We have had following problem on the target we setted up:
>> kernel modules were right, but usr/xenomai/libs  were coming from an
>> older xeno release !!
>> at runtime , our program had some bad issues !

He dynamically linked against some old Xenomai lib over a new kernel,
right? That should be caught by the ABI check on library init these
days. Stephan, can you tell us which versions where involved here?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

* Re: [Xenomai-help] xenomai release check
  2007-07-12 22:22   ` Jan Kiszka
@ 2007-07-13  8:06     ` Philippe Gerum
  2007-07-13 10:54     ` Stéphane ANCELOT
  1 sibling, 0 replies; 6+ messages in thread
From: Philippe Gerum @ 2007-07-13  8:06 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-help

On Fri, 2007-07-13 at 00:22 +0200, Jan Kiszka wrote:
> Philippe Gerum wrote:
> > On Thu, 2007-07-12 at 10:53 +0000, Stéphane ANCELOT wrote:
> >> Hi,
> >>
> >> Is it possible to setup a function that returns the xeno version string ?
> >>
> > 
> > Have a look at XENO_VERSION_CODE and friends in nucleus/version.h
> 
> I think Stephan has a different problem:
> 
> > 
> >> In cross compiled environment, this will permit to check at runtime that
> >> you are running the program with the expected xeno libraries !!!
> >>
> >> We have had following problem on the target we setted up:
> >> kernel modules were right, but usr/xenomai/libs  were coming from an
> >> older xeno release !!
> >> at runtime , our program had some bad issues !
> 
> He dynamically linked against some old Xenomai lib over a new kernel,
> right? That should be caught by the ABI check on library init these
> days. Stephan, can you tell us which versions where involved here?
> 

Not if the ABI numbers haven't changed, so the real question is: which
discrepancy did actually caused the issue, and does it reveal a lack in
updating the ABI revs, or a plain application issue.

> Jan
> 
-- 
Philippe.




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

* Re: [Xenomai-help] xenomai release check
  2007-07-12 22:22   ` Jan Kiszka
  2007-07-13  8:06     ` Philippe Gerum
@ 2007-07-13 10:54     ` Stéphane ANCELOT
  2007-07-13 12:35       ` Philippe Gerum
  1 sibling, 1 reply; 6+ messages in thread
From: Stéphane ANCELOT @ 2007-07-13 10:54 UTC (permalink / raw)
  To: Jan Kiszka; +Cc: xenomai-help

Jan Kiszka a écrit :
> Philippe Gerum wrote:
>> On Thu, 2007-07-12 at 10:53 +0000, Stéphane ANCELOT wrote:
>>> Hi,
>>>
>>> Is it possible to setup a function that returns the xeno version string ?
>>>
>> Have a look at XENO_VERSION_CODE and friends in nucleus/version.h
> 
> I think Stephan has a different problem:
> 
>>> In cross compiled environment, this will permit to check at runtime that
>>> you are running the program with the expected xeno libraries !!!
>>>
>>> We have had following problem on the target we setted up:
>>> kernel modules were right, but usr/xenomai/libs  were coming from an
>>> older xeno release !!
>>> at runtime , our program had some bad issues !
> 

YES, YOU ARE RIGHT , we linked 2.3.0 compiled programs against 2.1.2 libs

> He dynamically linked against some old Xenomai lib over a new kernel,
> right? That should be caught by the ABI check on library init these
> days. Stephan, can you tell us which versions where involved here?
> 
> Jan
> 




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

* Re: [Xenomai-help] xenomai release check
  2007-07-13 10:54     ` Stéphane ANCELOT
@ 2007-07-13 12:35       ` Philippe Gerum
  0 siblings, 0 replies; 6+ messages in thread
From: Philippe Gerum @ 2007-07-13 12:35 UTC (permalink / raw)
  To: Stéphane ANCELOT; +Cc: xenomai-help, Jan Kiszka

On Fri, 2007-07-13 at 10:54 +0000, Stéphane ANCELOT wrote:
> Jan Kiszka a écrit :
> > Philippe Gerum wrote:
> >> On Thu, 2007-07-12 at 10:53 +0000, Stéphane ANCELOT wrote:
> >>> Hi,
> >>>
> >>> Is it possible to setup a function that returns the xeno version string ?
> >>>
> >> Have a look at XENO_VERSION_CODE and friends in nucleus/version.h
> > 
> > I think Stephan has a different problem:
> > 
> >>> In cross compiled environment, this will permit to check at runtime that
> >>> you are running the program with the expected xeno libraries !!!
> >>>
> >>> We have had following problem on the target we setted up:
> >>> kernel modules were right, but usr/xenomai/libs  were coming from an
> >>> older xeno release !!
> >>> at runtime , our program had some bad issues !
> > 
> 
> YES, YOU ARE RIGHT , we linked 2.3.0 compiled programs against 2.1.2 libs
> 

Unfortunately, our ABI revs between those versions are wrong then.

> > He dynamically linked against some old Xenomai lib over a new kernel,
> > right? That should be caught by the ABI check on library init these
> > days. Stephan, can you tell us which versions where involved here?
> > 
> > Jan
> > 
> 
> 
-- 
Philippe.




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

end of thread, other threads:[~2007-07-13 12:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-12 10:53 [Xenomai-help] xenomai release check Stéphane ANCELOT
2007-07-12 17:38 ` Philippe Gerum
2007-07-12 22:22   ` Jan Kiszka
2007-07-13  8:06     ` Philippe Gerum
2007-07-13 10:54     ` Stéphane ANCELOT
2007-07-13 12:35       ` Philippe Gerum

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.