All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] user-space support : Inconsistency detected by ld.so
@ 2011-05-06 15:13 Aurele Traynard
  2011-05-06 17:32 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Aurele Traynard @ 2011-05-06 15:13 UTC (permalink / raw)
  To: Xenomai help

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

hello all,

I have a problem whith user-space support :
I compile a program with makefile of Xenomai and when i want to use it this
apear :

Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps:
Assertion`nlist > 1' failed!

compilation process :

DESTDIR=/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging
make
XENO=/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/
arm-none-linux-gnueabi-gcc
-I/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/include
-D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__   -lnative
-L/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/lib
-lxenomai -lpthread  -O -Xlinker -rpath -Xlinker
/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/lib
playing_led_rt.c   -o playing_led_rt
playing_led_rt.c: In function 'main':
playing_led_rt.c:126:2: warning: format '%08X' expects type 'unsigned int',
but argument 3 has type 'long unsigned int'
playing_led_rt.c:128:2: warning: format '%08X' expects type 'unsigned int',
but argument 2 has type 'long unsigned int'

I have made two programs one with rt_tasks but he don't work, so supress all
real-time call and it doesn't work again with the same error.

does anyone have a way to go?
thanks for reply

PS : my config :
CPU (XScale) : PXA270 520MHz, 256Mo RAM (100MHz)
gcc : from CodeSourcery
$ arm-none-linux-gnueabi-gcc --version
$ arm-none-linux-gnueabi-gcc (Sourcery G++ Lite 2010q1-202) 4.4.1

linux : 2.6.33.2
Xenomai 2.5.6
patch : ksrc/arch/arm/patches/adeos-
ipipe-2.6.33-arm-1.18-02.patch

[-- Attachment #2: Type: text/html, Size: 1842 bytes --]

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

* Re: [Xenomai-help] user-space support : Inconsistency detected by ld.so
  2011-05-06 15:13 [Xenomai-help] user-space support : Inconsistency detected by ld.so Aurele Traynard
@ 2011-05-06 17:32 ` Gilles Chanteperdrix
  2011-05-09  6:57   ` Aurele Traynard
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2011-05-06 17:32 UTC (permalink / raw)
  To: Aurele Traynard; +Cc: Xenomai help

On 05/06/2011 05:13 PM, Aurele Traynard wrote:
> hello all,
> 
> I have a problem whith user-space support :
> I compile a program with makefile of Xenomai and when i want to use it this
> apear :
> 
> Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps:
> Assertion`nlist > 1' failed!
> 
> compilation process :
> 
> DESTDIR=/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging
> make
> XENO=/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/
> arm-none-linux-gnueabi-gcc
> -I/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/include
> -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__   -lnative
> -L/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/lib
> -lxenomai -lpthread  -O -Xlinker -rpath -Xlinker
> /home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/lib
> playing_led_rt.c   -o playing_led_rt
> playing_led_rt.c: In function 'main':
> playing_led_rt.c:126:2: warning: format '%08X' expects type 'unsigned int',
> but argument 3 has type 'long unsigned int'
> playing_led_rt.c:128:2: warning: format '%08X' expects type 'unsigned int',
> but argument 2 has type 'long unsigned int'
> 
> I have made two programs one with rt_tasks but he don't work, so supress all
> real-time call and it doesn't work again with the same error.
> 
> does anyone have a way to go?
> thanks for reply

This looks like a bug in the context switch routine. How is
CONFIG_IWMMXT in your kernel configuration?


-- 
                                                                Gilles.


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

* Re: [Xenomai-help] user-space support : Inconsistency detected by ld.so
  2011-05-06 17:32 ` Gilles Chanteperdrix
@ 2011-05-09  6:57   ` Aurele Traynard
  2011-05-09 18:05     ` Gilles Chanteperdrix
  0 siblings, 1 reply; 5+ messages in thread
From: Aurele Traynard @ 2011-05-09  6:57 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai help

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

Hello

it is activate... is it bad or is there a workaround
CONFIG_IWMMXT=y

thanks

2011/5/6 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>

> On 05/06/2011 05:13 PM, Aurele Traynard wrote:
> > hello all,
> >
> > I have a problem whith user-space support :
> > I compile a program with makefile of Xenomai and when i want to use it
> this
> > apear :
> >
> > Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps:
> > Assertion`nlist > 1' failed!
> >
> > compilation process :
> >
> >
> DESTDIR=/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging
> > make
> >
> XENO=/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/
> > arm-none-linux-gnueabi-gcc
> >
> -I/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/include
> > -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__   -lnative
> >
> -L/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/lib
> > -lxenomai -lpthread  -O -Xlinker -rpath -Xlinker
> >
> /home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/lib
> > playing_led_rt.c   -o playing_led_rt
> > playing_led_rt.c: In function 'main':
> > playing_led_rt.c:126:2: warning: format '%08X' expects type 'unsigned
> int',
> > but argument 3 has type 'long unsigned int'
> > playing_led_rt.c:128:2: warning: format '%08X' expects type 'unsigned
> int',
> > but argument 2 has type 'long unsigned int'
> >
> > I have made two programs one with rt_tasks but he don't work, so supress
> all
> > real-time call and it doesn't work again with the same error.
> >
> > does anyone have a way to go?
> > thanks for reply
>
> This looks like a bug in the context switch routine. How is
> CONFIG_IWMMXT in your kernel configuration?
>
>
> --
>                                                                 Gilles.
>

[-- Attachment #2: Type: text/html, Size: 2480 bytes --]

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

* Re: [Xenomai-help] user-space support : Inconsistency detected by ld.so
  2011-05-09  6:57   ` Aurele Traynard
@ 2011-05-09 18:05     ` Gilles Chanteperdrix
  2011-05-10 13:36       ` Aurele Traynard
  0 siblings, 1 reply; 5+ messages in thread
From: Gilles Chanteperdrix @ 2011-05-09 18:05 UTC (permalink / raw)
  To: Aurele Traynard; +Cc: Xenomai help

On 05/09/2011 08:57 AM, Aurele Traynard wrote:
> Hello
> 
> it is activate... is it bad or is there a workaround
> CONFIG_IWMMXT=y

I am unable to find the exact post, but at some point in the past around
august 2009, we commented out the code in Xenomai context switch, which
takes care of IWMMXT. This means that real-time tasks should run without
using iwmmxt. And that Xenomai should be compiled with
CONFIG_XENO_HW_FPU off.


-- 
                                                                Gilles.


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

* Re: [Xenomai-help] user-space support : Inconsistency detected by ld.so
  2011-05-09 18:05     ` Gilles Chanteperdrix
@ 2011-05-10 13:36       ` Aurele Traynard
  0 siblings, 0 replies; 5+ messages in thread
From: Aurele Traynard @ 2011-05-10 13:36 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: Xenomai help

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

I made a kernel without IWMMXT and it works fine

thanks a lot!

2011/5/9 Gilles Chanteperdrix

> On 05/09/2011 08:57 AM, Aurele Traynard wrote:
> > Hello
> >
> > it is activate... is it bad or is there a workaround
> > CONFIG_IWMMXT=y
>
> I am unable to find the exact post, but at some point in the past around
> august 2009, we commented out the code in Xenomai context switch, which
> takes care of IWMMXT. This means that real-time tasks should run without
> using iwmmxt. And that Xenomai should be compiled with
> CONFIG_XENO_HW_FPU off.
>
>
> --
>                                                                 Gilles.
>
2011/5/6 Gilles Chanteperdrix
This looks like a bug in the context switch routine. How is
CONFIG_IWMMXT in your kernel configuration?

On 05/06/2011 05:13 PM, Aurele Traynard wrote:
> hello all,
>
> I have a problem whith user-space support :
> I compile a program with makefile of Xenomai and when i want to use it
this
> apear :
>
> Inconsistency detected by ld.so: dl-deps.c: 622: _dl_map_object_deps:
> Assertion`nlist > 1' failed!
>
> compilation process :
>
> DESTDIR=/home/aurele/workdir/
test/test_noyau/buildroot-2010.08/output/staging
> make
>
XENO=/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/
> arm-none-linux-gnueabi-gcc
>
-I/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/include
> -D_GNU_SOURCE -D_REENTRANT -Wall -pipe -D__XENO__   -lnative
>
-L/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/lib
> -lxenomai -lpthread  -O -Xlinker -rpath -Xlinker
>
/home/aurele/workdir/test/test_noyau/buildroot-2010.08/output/staging/usr/xenomai/lib
> playing_led_rt.c   -o playing_led_rt
> playing_led_rt.c: In function 'main':
> playing_led_rt.c:126:2: warning: format '%08X' expects type 'unsigned
int',
> but argument 3 has type 'long unsigned int'
> playing_led_rt.c:128:2: warning: format '%08X' expects type 'unsigned
int',
> but argument 2 has type 'long unsigned int'
>
> I have made two programs one with rt_tasks but he don't work, so supress
all
> real-time call and it doesn't work again with the same error.
>
> does anyone have a way to go?
> thanks for reply

[-- Attachment #2: Type: text/html, Size: 2870 bytes --]

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

end of thread, other threads:[~2011-05-10 13:36 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 15:13 [Xenomai-help] user-space support : Inconsistency detected by ld.so Aurele Traynard
2011-05-06 17:32 ` Gilles Chanteperdrix
2011-05-09  6:57   ` Aurele Traynard
2011-05-09 18:05     ` Gilles Chanteperdrix
2011-05-10 13:36       ` Aurele Traynard

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.