<div dir="ltr">note this isn't originally from me... i don't even get what allyesconfig is supposed to mean (obviously!).<div><br></div><div>this was bug 298 on github: <a href="https://github.com/landley/toybox/issues/298">https://github.com/landley/toybox/issues/298</a> (the strace reference in the title turns out to be just because the linker refers to the xfork() reference in strace)</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Oct 27, 2021 at 10:33 PM Rob Landley <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 10/27/21 11:14 AM, enh via Toybox wrote:<br>
> Fixes 298 where `make allyesconfig` failed with an undefined reference<br>
> to xfork().<br>
<br>
The CFG_XXX macros are always #defined, to either 0 or 1. So #if is correct.<br>
What you just did was disable the test.<br>
<br>
What's happening here is allyesconfig is enabling TOYBOX_FORCE_NOMMU which is<br>
removing xfork() which is causing commands that use xfork() without having a<br>
"depends on TOYBOX_FORK" to fail. Which means some commands need "depends on<br>
TOYBOX_FORK" added so allyesconfig won't try to build them, since allyesconfig<br>
forces toybox into nommu support mode and thus disables fork().<br>
<br>
I'd try to fix it if you'd mentioned _what_ failed, but you didn't. I'd check<br>
myself, but I'd have to set up a system it builds in...<br>
<br>
toys/lsb/md5sum.c:76:10: fatal error: openssl/md5.h: No such file or directory<br>
#include <openssl/md5.h><br>
<br>
(I have previously mentioned that allyesconfig is conceptually problematic,<br>
right? Meanwhile, over in the linux kernel, "allnocofig" disables the "embedded"<br>
menu meaning you have to switch ON certain symbols in order to be able to switch<br>
stuff OFF...)<br>
<br>
Rob<br>
</blockquote></div>