27/05/2025 14:04, changqing...@windriver.com:
> From: Changqing Li <changqing...@windriver.com>
> 
> To support Y2038 issue, for 32bit system, -D_TIME_BITS=64 is passed to
> gcc, struct timespec time->tv_sec is 64bit, but size_t is 32bits, so
> dpdk will compile failed with error:
> "../git/lib/ethdev/ethdev_trace.h: In function
> 'rte_eth_trace_timesync_write_time':
> ../git/lib/eal/include/rte_common.h:498:55: error: size of unnamed array
> is negative
>   498 | #define RTE_BUILD_BUG_ON(condition) ((void)sizeof(char[1 -
>       2*!!(condition)]))"
> 
> Add a new tracepoint function for type time_t to fix this issue
> 
> Signed-off-by: Changqing Li <changqing...@windriver.com>

Applied, thanks.



Reply via email to