Issue in hello world test
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Feb 19 08:04:10 UTC 2019
On 19/02/2019 08:42, Humaid Bin Haroon wrote:
>
> Hello,
>
> I am having an issue on running the hello world test as directed on
> https://devel.rtems.org/wiki/GSoC/GettingStarted .
>
> Please find below the gdb output for the test using sparc-rtems5.
>
> *** BEGIN OF TEST HELLO WORLD ***
>
> *** TEST VERSION: 5.0.0.bdec62c4d5aa25e5a98b9fafe78936a7beb96a6e
>
> *** TEST STATE: EXPECTED-PASS
>
> *** TEST BUILD: RTEMS_NETWORKING RTEMS_POSIX_API
>
> *** TEST TOOLS: 7.4.0 20181206 (RTEMS 5, RSB
> 98588a55961a92f5d27bfd756dfc9e31b2b1bf98, Newlib 3e24fbf6f)
>
> Hello World
>
> *** END OF TEST HELLO WORLD ***
>
> *** FATAL ***
>
> fatal source: 5 (RTEMS_FATAL_SOURCE_EXIT)
>
> fatal code: 0 (0x00000000)
>
> RTEMS version: 5.0.0.bdec62c4d5aa25e5a98b9fafe78936a7beb96a6e
>
> RTEMS tools: 7.4.0 20181206 (RTEMS 5, RSB
> 98588a55961a92f5d27bfd756dfc9e31b2b1bf98, Newlib 3e24fbf6f)
>
> I would like to know why am I getting RTEMS_FATAL_SOURCE_EXIT?
>
> I had no errors during installation, bootstrapping or building .
>
This fatal error sounds more scary than it is. It is documented here:
https://docs.rtems.org/branches/master/c-user/fatal_error.html#fatal-sources
It is the result of someone calling exit(0).
> Also on testing the BSP using ‘rtems-test --rtems-bsp=erc32
> --rtems-tools=$HOME/quick-start/rtems/5’ I got one failed test:
>
> Passed: 582
>
> Failed: 1
>
> User Input: 5
>
> Expected Fail: 0
>
> Indeterminate: 0
>
> Benchmark: 3
>
> Timeout: 2
>
> Invalid: 0
>
> Wrong Version: 0
>
> Wrong Build: 0
>
> Wrong Tools: 0
>
> ------------------
>
> Total: 593
>
> Failures:
>
> dl09.exe
>
> Can someone please assist me as I am new to RTEMS .
>
Looks good, the dl09 is due to some recent changes in the libdl.
--
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.
More information about the users
mailing list