Broken build on OpenBSD
Mark Kettenis
mark.kettenis at xs4all.nl
Sun Mar 7 14:48:36 CET 2021
> Date: Mon, 1 Mar 2021 09:02:18 -0500
> From: Tom Rini <trini at konsulko.com>
>
> 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?
Looks like somebody made a mistake and put the XSI STREAMS option
marker for it on ENOBUFS just above.
I filed a bug report:
https://bugzilla.kernel.org/show_bug.cgi?id=212103
Cheers,
Mark
More information about the U-Boot
mailing list