iostreams test failure on psim
joel.sherrill at OARcorp.com
Tue Jun 17 21:19:20 UTC 2008
Joel Sherrill wrote:
> Till Straumann wrote:
>> Weird. It works for me here on psim but I might use a different
>> 4.9 snapshot (and different gcc/newlib patches).
>> It probably fails creating the __mutex
>> (e.g., rtems_gxx_mutex_init() panics if semaphore
>> creation fails -- do you have enough configured?).
> Yes. I had hand checked that but just to make sure
> I added 10 more to the configuration and it fails in the
> same way. I will check sis to make sure it isn't something
> wrong with the linker script.
It does work on sis. I would really appreciate knowing
if it runs for you.
> I don't have any real changes outstanding now if you
> want to doublecheck the head. I would appreciate it.
>> Joel Sherrill wrote:
>>> This looks vaguely familiar but I don't find it
>>> in the rtems mail list archives:
>>> #3 0x0007b478 in ?? ()
>>> #4 0x000038a0 in get_locale_mutex ()
>>> at ../../../../../gcc-4.3.1/libstdc++-v3/src/locale_init.cc:42
>>> #5 0x00004740 in locale (this=0x7b2ec)
>>> at ../../../../../gcc-4.3.1/libstdc++-v3/src/locale_init.cc:215
>>> #6 0x00001830 in Init (this=<value optimized out>)
>>> #7 0x00000250 in __static_initialization_and_destruction_0 (
>>> __initialize_p=<value optimized out>, __priority=<value optimized out>)
>>> at /opt/rtems-4.9/lib/gcc/powerpc-rtems4.9/4.3.1/include/c++/iostream:77
>>> #8 0x00065a98 in __do_global_ctors_aux ()
>>> #9 0x00065b10 in _init ()
>>> #10 0x00055488 in _Thread_Handler ()
>>> I traced but can't tell much except that somewhere below here, it is dying.
>>> All object create calls are working but I am remembering something was
>>> broken in this area and we had a patch to gcc.
>>> static __gnu_cxx::__mutex locale_mutex;
>>> return locale_mutex;
> 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
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