Error building RSB package in RTEMS 7 - Is this workflow deprecated?

Hello everyone,

I was following the RTEMS setup and went through the (2.8. Build an RSB Package — RTEMS User Manual 7.1023b8c (8th January 2026) documentation) documentation and attempted to build the toolsuite, BSP, and tests all at once using the following command (the previous command was written for RTEMS 5):

../source-builder/sb-set-builder --prefix=$HOME/RTEMS/rtems/7 --with-rtems-tests=yes bsps/erc32

The build fails during the libpng compilation. The C compiler throws an implicit declaration error for feenableexcept because Newlib for SPARC doesn’t seem to implement it:

../libpng-1.6.37/contrib/libtests/pngvalid.c:11662:4: error: implicit declaration of function 'feenableexcept'; did you mean 'feraiseexcept'? [-Wimplicit-function-declaration]
11662 |    feenableexcept(FE_DIVBYZERO | FE_INVALID | FE_OVERFLOW);
      |    ^~~~~~~~~~~~~~
      |    feraiseexcept

Could you please clarify if this “all-in-one” tool suite and BSPs build method via the RSB is deprecated for RTEMS 7, or am I doing something wrong? I thought that way, as the documentation still has the command for RTEMS 5 and the build failure.

Thank you

This looks like a bug. The RSB ERC23 BSP builds the 7/rtems-packages and the libpng package appears to be failing to build with an error. The package may need to be updated.

Please raise an issue?

If you would like to look at updating the package that would be appreciated. Thanks

1 Like

Thank you @kiwichris. I will raise an issue.

I raised an issue Error associate with libpng while building RSB package in RTEMS 7 (#162) · Issues · RTEMS / Tools / RTEMS Source Builder · GitLab