Changes to stat ABI

From: Paul Floyd <paulf2718_at_gmail.com>
Date: Sat, 14 May 2022 20:08:51 UTC
Hi


Has anything changed in the way that the libc functions in the stat 
family are compiled on FreeBSD 13.1 amd64 with clang 13?


I'm getting a few Valgrind regression test failures related to this:

FreeBSD 13 / clang 11

==84746== Syscall param fstatat(flag) contains uninitialised byte(s)
==84746==    at 0x49942EA: ??? (in /lib/libc.so.7)
==84746==    by 0x499018B: fstatat (in /lib/libc.so.7)
==84746==    by 0x201E7D: main (stat.c:67)

FreeBSD 13.1 / clang 13

==57383== Syscall param fstatat(flag) contains uninitialised byte(s)
==57383==    at 0x499239A: ??? (in /lib/libc.so.7)
==57383==    by 0x201E57: main (stat.c:67)

A+

Paul