rtems_libio_init in 4.8.0
Joel Sherrill
joel.sherrill at OARcorp.com
Fri May 23 17:10:31 UTC 2008
Antoine Lacroix wrote:
> You're right Joel, I'm a bit ashamed of my mistake. Strange, it worked fine
> in 4.7.1 without the manager declaration.
>
Ahh.. now I remember the subtle change. In 4.7 and older,
some managers were considered required. Now no
managers are considered required.
confdefs.h didn't change that much between 4.7 and 4.8
except to add new managers. After 4.8, you have more
options but the defaults should be the same as before.
Out of curiosity, did your linked executable get smaller?
Could you share with us the change?
Thanks.
--joel
> Thanks a lot Joel.
> John
>
> ----- Original Message -----
> From: "Joel Sherrill" <joel.sherrill at oarcorp.com>
> To: "John Pickwick" <john.pickwick at free.fr>
> Cc: "RTEMS Users Mailing List" <rtems-users at rtems.com>
> Sent: Friday, May 23, 2008 4:03 PM
> Subject: Re: rtems_libio_init in 4.8.0
>
>
>
>> John Pickwick wrote:
>>
>>> Hi to all,
>>>
>>> I have migrated my application from rtems4.7.1/leon2 to rtems4.8.0/leon2
>>> and
>>> it now fails during boot up phase. I have isolated the source of the
>>> fatal
>>> error call: in rtems_libio_init the first call to rtems_semaphore_create
>>> fails and returns with code RTEMS_TOO_MANY.
>>>
>>> I have not changed anything in my configuration settings, does anybody
>>> have
>>> a clue or a hint about differences in confdefs.h requirements between
>>> 4.7.1
>>> and 4.8.0 ?
>>>
>>>
>> I don't know of anything obvious in confdefs.h.
>>
>> Is your application build with the semaphore manager
>> (e.g. MANAGERS = xxx)? If you don't include the semaphore
>> manager, this is very likely to happen.
>>
>>> Thanx,
>>> John
>>>
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.com
>>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>>
>>>
>> --
>> Joel Sherrill, Ph.D. Director of Research & Development
>> joel.sherrill at OARcorp.com On-Line Applications Research
>> Ask me about RTEMS: a free RTOS Huntsville AL 35805
>> Support Available (256) 722-9985
>>
>>
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.com
>> http://rtems.rtems.org/mailman/listinfo/rtems-users
>>
>>
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.com
> http://rtems.rtems.org/mailman/listinfo/rtems-users
>
--
Joel Sherrill, Ph.D. Director of Research & Development
joel.sherrill at OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
More information about the users
mailing list