Matteo Concas created a merge request: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/173

Project:Branches: matteo.concas/gaisler-lib-bsd:matteo/up/6/mdns-fix to 
rtems/pkg/rtems-libbsd:6-freebsd-14
Author: Matteo Concas

## Summary

mDNS: Add `-fwrapv` flag

mDNSCore schedules with wrapping int32 tick arithmetic (e.g. timenow +
FutureTime, a - b < 0) and is built with -fwrapv upstream (mDNSPosix/Makefile).

Without it, GCC folds the comparisons and the scheduler breaks whenever the
randomly offset timenow is within FutureTime of INT32_MAX.

See !171 

## Generative AI

<!-- If you have used AI please use the "AI Contribution" template otherwise 
leave this blank see our fulls statement at 
https://www.rtems.org/generative-ai/-->


<!-- Default settings, if it is a dropdown it will set after submission -->

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/merge_requests/173
You're receiving this email because of your account on gitlab.rtems.org. 
Unsubscribe from this thread: 
https://gitlab.rtems.org/-/namespace/20/sent_notifications/6-cd7xcxfpw1b5t6o5r8ldb6hvb-k/unsubscribe
 | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | 
Help: https://gitlab.rtems.org/help


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to