Frank Kuehndel created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5139
## Summary We have a CI job which executs the exact instructions from the [rtems user manual: Bare Metal Rust with RTEMS](https://docs.rtems.org/branches/master/user/rust/bare-metal.html#bare-metal-rust-with-rtems) and therefore runs `hello.exe` from the RTEMS samples. This executable crashes when executed. The Ticker sample crashes too. This is **not** a Rust bug! This is just RTEMS without any Rust involved! Basically, it does: 1. Run RSB for Risc-V to install Tools. 2. Build for Risc-V 3. Run the `hello.exe` sample The output looks like: ``` + qemu-system-riscv64 -M virt -nographic -bios build/riscv/rv64imafdc/testsuites/samples/hello.exe *** FATAL *** fatal source: 9 (RTEMS_FATAL_SOURCE_EXCEPTION) mstatus 0x8000000a00007800 mcause 0x0000000000000007 mepc 0x0000000080005d66 ra 0x0000000080005d36 sp 0x0000000080057a40 gp 0x0000000080053800 tp 0x0000000000000000 t0 0x000000008000b56e t1 0x000000000000000f t2 0x0000000000000000 s0 0x000000008005c470 s1 0x0000000000000010 a0 0x0000000080055010 a1 0x0000000000000000 a2 0xffffff788005c480 a3 0x00000000800550b0 a4 0x0000000100000000 a5 0x0000000000000000 a6 0x0000000000000000 a7 0x0000000000000008 s2 0x000000877ffa3b80 s3 0x0000000000000011 s4 0x00000087fffffff0 s5 0x0000000000000020 s6 0x000000877ffa3b91 s7 0x0000008800000000 s8 0x000000008005c46f s9 0x0000000000000000 s10 0x0000000000000000 s11 0x0000000000000000 t3 0x00000000000000f6 t4 0x0000000000000000 t5 0x0000000000000000 t6 0x0000000000000000 fcsr 0x00000000 RTEMS version: 6.0.0.eaaeebedda43a9e9886078389b3af05d0c267a7a RTEMS tools: 13.3.0 20240521 (RTEMS 6, RSB 78680c889c2458f26170fe6e4a05c37791aacc87, Newlib 1b3dcfd) executing thread is NULL ``` The first known buggy build was: | | Version/Commmit | | ------ | ------ | |Date: |2024-10-26T02:33:07+02:00 | |rtems-docs: |a3cfaea265cb6b5af8f0eb6cb5f4ace32873ecf3 | |rtems-source-builder: |78680c889c2458f26170fe6e4a05c37791aacc87 | |rtems: |eaaeebedda43a9e9886078389b3af05d0c267a7a | The last known good build was: | | Version/Commmit | | ------ | ------ | |Date: |2024-10-25T02:33:14+02:00 | |rtems-docs: |2cafea3f43db17f7f0355078449acd77527e2dd3 | |rtems-source-builder: |d7870131e4de88f35ed137e62c83874597ccee82 | |rtems: |e0f1c8fe0b20ae486f5b99c3a9155686bc3a11f2 | By the way, the build of `hello.exe` for SPARC (which is also part of the RTEMS user manual instructions) is not affected and works fine. ## Steps to reproduce Follow the instructions in [Bare Metal Rust with RTEMS](https://docs.rtems.org/branches/master/user/rust/bare-metal.html#bare-metal-rust-with-rtems) ### Pre-set options -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5139 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
