RTEMS Source Builder | Error associate with libpng while building RSB package in RTEMS 7 (#162)
Lahiru Gunathilake (@bllgg)
gitlab at rtems.org
Sun Mar 15 23:34:38 UTC 2026
Lahiru Gunathilake created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/162
## Summary
While building the RSB package for RTEMS 7 using the following command, according to the [project manual for building an RSB package](https://docs.rtems.org/docs/main/user/start/rsb-packages.html) (The original command was written for RTEMS 5):
```
../source-builder/sb-set-builder --prefix=$HOME/RTEMS/rtems/7 --with-rtems-tests=yes bsps/erc32
```
The build failed 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
```
Discussion: [Link](https://users.rtems.org/t/error-building-rsb-package-in-rtems-7-is-this-workflow-deprecated/674)
## Steps to reproduce
* Go through the [documentation](https://docs.rtems.org/docs/main/user/start/rsb-packages.html)
* Obtain the sources from:
* https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git
* https://gitlab.rtems.org/rtems/rtos/rtems.git
* Build the RSB package with
```
../source-builder/sb-set-builder --prefix=$PREFIX/rtems/7 --with-rtems-tests=yes bsps/erc32
```
instead of using the prefix as $PREFIX/rtems/5
* See the error log in the `PREFIX/src/rsb/rtems/rsb-report-libpng-v1.6.37-sparc-rtems7-1.txt` or something similar to that
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/162
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260315/a0a0ce5d/attachment-0001.htm>
More information about the bugs
mailing list