svn commit: r311929 - head/sys/boot/common

Ngie Cooper yaneurabeya at gmail.com
Wed Jan 11 22:32:15 UTC 2017


On Wed, Jan 11, 2017 at 2:10 PM, Dimitry Andric <dim at freebsd.org> wrote:

...

> The line:
>
>     extern int errno;
>
> expanded to:
>
>     extern int (* __error());
>
> which is a declaration of an external function pointer called __error
> (albeit with an empty parameter list).  Since nobody actually refers to
> this symbol in libstand, there are no later complaints.
>
> Interestingly, reloc_elf.c does not use errno at all, so I have no idea
> why the include was originally added.

This is why:

95dd728f5ca86 (iedowse  2004-08-28 23:03:05 +0000 221) #else
95dd728f5ca86 (iedowse  2004-08-28 23:03:05 +0000 222)  return (EOPNOTSUPP);
95dd728f5ca86 (iedowse  2004-08-28 23:03:05 +0000 223) #endif

You probably just broke tinderbox on non-x86/-powerpc.
Cheers,
-Ngie


More information about the svn-src-head mailing list