Re: selftests: arm64: za-fork.c: kselftest.h:123:2: error: call to undeclared function 'setvbuf'; ISO C99 and later do not support implicit function declarations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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).

Thanks,
Ryan





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux