Current-Users archive

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

Re: i386 9.99.17 build fails for NET4501 kernel

On Thu, Oct 17, 2019 at 12:43:48PM +0200, Rhialto wrote:
> On Thu 17 Oct 2019 at 11:07:44 +0200, Maxime Villard wrote:
> > I guess we whould disable the messages on this particular file for now as
> > the others have suggested, and file a PR in LLVM/GCC, because apart from
> > a compiler bug I don't see what it could be.
> The original error has no place in a freestanding build anyway, since
> vfork (and longjmp probably too) are concepts of hosted implementations
> only.

Yes and no. GCC has a hard-coded list of functions that always get the
returns_twice attribute. (v)fork is on that list, but also savectx. So
the fix is not to disable the warning, but rename the function.


Home | Main Index | Thread Index | Old Index