On 25/07/2023 15:47, Ryan Roberts wrote: > On 25/07/2023 14:00, Mark Brown wrote: >> On Tue, Jul 25, 2023 at 06:26:34PM +0530, Naresh Kamboju wrote: >>> selftests: arm64: za-fork.c build failed with clang-16 due to below >>> warnings / errors on Linux next-20230725. >> >> Ryan, this looks to be your setvbuf() change: > > Thanks, Mark, for adding me in. Yes this is due to my change ensure that stdout > is never block buffered, since this was causing a lot of duplicated output for > mm selftests due to lots of in-test fork()ing. > > It looks like these tests are using nolibc, which doesn't implement setvbuf(). > I'm working on a fix, which will add setvbuf() to nolibc (which will be a nop > since nolibc never buffers). FYI fix posted here: https://lore.kernel.org/lkml/20230726070655.2713530-1-ryan.roberts@xxxxxxx/ > > Thanks, > Ryan > >