Different sizes for struct _reent?
smorgan at almaden.ibm.com
Wed Jan 5 17:39:02 UTC 2000
Resending: Was accidentally sent to rtems-list instead of rtems-users!
Steve Morgan wrote:
> This is my first posting to this list and I am relatively new to RTEMS,
> so please don't take offense with my obvious ignorance.
> We've built the publicly available RTEMS 4.0.0 for the GHV80960PCI
> evaluation board for the -VH (embedded) variant of Intel's i960
> processor, using a board support package kindly sent to us by Gerwin
> Pfab. (Gerwin: Thanks!!) The resulting system builds and works fine with
> only one known exception: printf() doesn't work.
> After a considerable amount of debugging, head scratching and code
> reading, it seems that the problem is caused by different portions of
> the system thinking that struct _reent has a different structure,
> including a different length. (In one place it seems to have a length of
> 0x58, while in another it seems to have a length of 0x60.) The field
> that determines whether stdio has been initialized is in different
> places in the different versions of struct _reent. Sanely, printf()
> refuses to do anything unless stdio has been initialized.
> I'm sure that I've somehow caused the problem, probably by having
> included some wrong library version or other, but it isn't obvious to me
> where the problem lies. I would truly appreciate your help in tracking
> down and fixing this problem.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 348 bytes
Desc: Card for Steve Morgan
More information about the users