HHello everyone, My BSP still uses an older version of Linux and libc with a 32-bit time_t. While migrating to ptxdist-2025.01.0, I encountered an unexpected crash in the ntpd service. Specifically, when the BSP acts as an ntpd server, the crash occurs on the client side. After investigating the issue, I believe I have identified a bug. On my system, time_t is effectively an int32_t. In the function that converts a double to the NTP time format, I found the following code: double d; uint32_t intl; intl = (uint32_t)(time_t)d; Here, the integer part of d represents the number of seconds since 1900-01-01T00:00:00.0, which exceeds 31 bits. Casting d to time_t in the server truncates the value to 0x7fffffff, leading to a crash in the client. The solution is to avoid the cast to time_t when sizeof(time_t) == 4. I have attached a proposed patch for this issue. If someone with more authority in the project could report this upstream, that would be appreciated. Best regards, Ruggero