RTEMS | Undefined reference to Stack Checker Reporter (#5497)

Preetam Das (@lostux) gitlab at rtems.org
Sun Feb 22 14:06:03 UTC 2026



Preetam Das created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5497



## Summary

`librtemscpu.a(check.c)`  references `Stack_checker_Reporter` but it is not defnined because it is not configured by the test application.

```bash
[1660/4755] Processing link: build/sparc/erc32/testsuites/libtests/dl01/dl01-tar.o build/sparc/erc32/testsuites/libtests/dl01/init.o build/sparc/erc32/testsuites/libtests/dl01/dl-load.o -> build/sparc/erc32/testsuites/libtests/dl01/dl01.pre
[1661/4755] Processing link: build/sparc/erc32/testsuites/libtests/dl12/dl12-tar.o build/sparc/erc32/testsuites/libtests/dl12/init.o build/sparc/erc32/testsuites/libtests/dl12/dl-load.o -> build/sparc/erc32/testsuites/libtests/dl12/dl12.pre
[1662/4755] Processing link: build/sparc/erc32/testsuites/libtests/dl08/dl08-tar.o build/sparc/erc32/testsuites/libtests/dl08/init.o build/sparc/erc32/testsuites/libtests/dl08/dl-load.o -> build/sparc/erc32/testsuites/libtests/dl08/dl08.pre
[1663/4755] Compiling cpukit/librtemscxx/thread.cpp
[1664/4755] Compiling cpukit/librtemscxx/error.cpp
[1665/4755] Compiling cpukit/libfs/src/ftpfs/tftpDriver.c
[1666/4755] Compiling cpukit/libfs/src/ftpfs/tftpfs.c
/home/pree/.local/rtems/7/lib/gcc/sparc-rtems7/15.2.0/../../../../sparc-rtems7/bin/ld: ./librtemscpu.a(check.c.57.o): in function `rtems_stack_checker_switch_extension':
/home/pree/Programming/gsoc/rtems-gsoc/rtems/build/sparc/erc32/../../../cpukit/libmisc/stackchk/check.c:367:(.text+0x4e8): undefined reference to `Stack_checker_Reporter'
/home/pree/.local/rtems/7/lib/gcc/sparc-rtems7/15.2.0/../../../../sparc-rtems7/bin/ld: /home/pree/Programming/gsoc/rtems-gsoc/rtems/build/sparc/erc32/../../../cpukit/libmisc/stackchk/check.c:367:(.text+0x4ec): undefined reference to `Stack_checker_Reporter'
collect2: error: ld returned 1 exit status

Waf: Leaving directory `/home/pree/Programming/gsoc/rtems-gsoc/rtems/build/sparc/erc32'
Build failed
 -> task in '' failed with exit status 1 (run with -v to display more information)
```

## Steps to reproduce

Build any BSP with tests enabled.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5497
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/20260222/1ee46723/attachment.htm>


More information about the bugs mailing list