Broken build on OpenBSD

Tom Rini trini at konsulko.com
Mon Mar 1 15:02:18 CET 2021


On Tue, Feb 23, 2021 at 08:07:21PM +0100, Mark Kettenis wrote:

> Hi Simon,
> 
> Commit c5819701a3de61e2ba2ef7ad0b616565b32305e5 broke the build on
> OpenBSD and probably other non-Linux systems.  ENODATA, which is now
> used in fit_check_format(), isn't defined.  It isn't part of POSIX[1]
> and generally not available on BSD-derived systems.  Could you pick
> another error code for this case?
> 
> Thanks,
> 
> Mark
> 
> [1] It is mentioned in the Open Group Base Specification, however it
>     is part of the obsolete XSI STREAMS extension which was never part
>     of POSIX proper.

Just for the record:

https://man7.org/linux/man-pages/man3/errno.3.html:

ENODATA         No message is available on the STREAM head read queue (POSIX.1-2001).

So perhaps you want to also raise this with the Linux man pages project
folks?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210301/ddc6ec74/attachment.sig>


More information about the U-Boot mailing list