[PATCH] [RTEMS] Update RTEMS thread model

Daniel Gutson daniel.gutson at tallertechnologies.com
Wed Sep 2 11:27:21 UTC 2015


El 2/9/2015 5:17, "Sebastian Huber" <sebastian.huber at embedded-brains.de>
escribió:
>
>
>
> On 01/09/15 13:05, Sebastian Huber wrote:
>>
>> On 01/09/15 12:10, Sebastian Huber wrote:
>>>
>>> Shared mutexes are not implemented in general.
>>
>>
>> This works now also:
>>
>> https://gcc.gnu.org/ml/gcc-patches/2015-09/msg00027.html
>>
>
> With this additional fix:
>
> https://gcc.gnu.org/ml/gcc/2015-09/msg00021.html
>
> We have these results:
>
>
> Target is arm-unknown-rtems4.11
> Host   is arm-unknown-rtems4.11
> Build  is x86_64-pc-linux-gnu
>
>                 === libstdc++ tests ===
>
> Schedule of variations:
>
rtems-arm-realview_pbx_a9_qemu/-march=armv7-a/-mthumb/-mfpu=neon/-mfloat-abi=hard
>
> Running target
rtems-arm-realview_pbx_a9_qemu/-march=armv7-a/-mthumb/-mfpu=neon/-mfloat-abi=hard
>
> Using
/scratch/git-rtems-testing/dejagnu/boards/rtems-arm-realview_pbx_a9_qemu.exp
as board description file for target.
> Using /usr/share/dejagnu/config/sim.exp as generic interface file for
target.
> Using /usr/share/dejagnu/baseboards/basic-sim.exp as board description
file for target.
> Using
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/config/default.exp
as tool-and-target-specific interface file.
> Running
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/libstdc++-abi/abi.exp
...
> Running
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/libstdc++-dg/conformance.exp
...
> FAIL: 25_algorithms/copy/streambuf_iterators/wchar_t/4.cc execution test
> FAIL: 25_algorithms/find/istreambuf_iterators/wchar_t/2.cc execution test
> FAIL: 25_algorithms/random_shuffle/moveable.cc execution test

I'm very interested in this last one. Is this an XFail? Could you please
post both the dejagnu test and the output?
We use move semantics everywhere and I'd want to be sure it's working OK.
Specially since this doesn't seem to be related to concurrency but just
algorithms.

Thanks,

    Daniel.

> FAIL: 27_io/basic_istream/extractors_other/wchar_t/2.cc execution test
> FAIL: 27_io/basic_istream/get/wchar_t/2.cc execution test
> FAIL: 27_io/basic_istream/ignore/wchar_t/3.cc execution test
> FAIL: 27_io/basic_istream/seekg/wchar_t/sstream.cc execution test
> FAIL: 27_io/basic_istream/tellg/wchar_t/sstream.cc execution test
> FAIL: 27_io/basic_ostream/inserters_other/wchar_t/1.cc execution test
> FAIL: 27_io/basic_stringbuf/setbuf/char/4.cc execution test
> FAIL: 27_io/objects/wchar_t/12048-1.cc execution test
> FAIL: 27_io/objects/wchar_t/12048-2.cc execution test
> FAIL: 27_io/objects/wchar_t/12048-3.cc execution test
> FAIL: 27_io/objects/wchar_t/12048-4.cc execution test
> WARNING: program timed out.
> FAIL: 30_threads/async/42819.cc execution test
> WARNING: program timed out.
> FAIL: 30_threads/async/49668.cc execution test
> WARNING: program timed out.
> FAIL: 30_threads/async/any.cc execution test
> WARNING: program timed out.
> FAIL: 30_threads/async/async.cc execution test
>
> WARNING: program timed out.
> FAIL: 30_threads/condition_variable/members/3.cc execution test
> FAIL: 30_threads/shared_timed_mutex/try_lock/3.cc execution test
> WARNING: program timed out.
> FAIL: 30_threads/thread/native_handle/cancel.cc execution test
> FAIL: 30_threads/timed_mutex/try_lock_until/57641.cc execution test
> FAIL: tr1/8_c_compatibility/complex/50880.cc (test for excess errors)
> WARNING: tr1/8_c_compatibility/complex/50880.cc compilation failed to
produce executable
> FAIL: tr1/8_c_compatibility/complex/functions.cc (test for excess errors)
> Running
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/libstdc++-prettyprinters/prettyprinters.exp
...
> Running
/home/EB/sebastian_h/archive/gcc-git/libstdc++-v3/testsuite/libstdc++-xmethods/xmethods.exp
...
>
>                 === libstdc++ Summary ===
>
> # of expected passes            9029
> # of unexpected failures        24
>
> # of expected failures          65
> # of unsupported tests          726
>
> Biggest issue: the thread cancel/exit problems. Since this is not an
issue with the thread model, I will commit the patch tomorrow if nobody
objects.
>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20150902/5d4bfff7/attachment-0002.html>


More information about the devel mailing list