SHIVAM DEOLANKAR commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5497#note_143588 check.c references Stack_checker_Reporter unconditionally, but the symbol is only defined in confdefs/extensions.h when CONFIGURE_STACK_CHECKER_ENABLED is set. This causes undefined references when stack checker is not enabled, since librtemscpu always includes check.c. I modified confdefs/extensions.h so that Stack_checker_Reporter is always defined. When stack checker is enabled, the behavior is unchanged. When it is disabled, the reporter defaults to rtems_stack_checker_reporter_quiet. I also made the inclusion of <rtems/stackchk.h> unconditional so the type is always visible. This keeps configuration policy inside confdefs, avoids weak symbols or spec-level changes, and preserves existing behavior. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5497#note_143588 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
