When uClibc is build with UCLIBC_HAS_ARC4RANDOM, it provides the arv4random() function, but NOT the arc4random_uniform() function. dhcpcd's configure script checks only for the former, but uses both causing a link-time failure. dhcpcd does have an internal fall-back that provides these two functions. I am attaching a patch for dhcpcd-6.4.3 which will properly check for both functions, and fall back to internal implementation if it does not find both. Reproducible: Always
Created attachment 384206 [details, diff] configure fix for arc4random_uniform check
Fixed upstream here: http://roy.marples.name/projects/dhcpcd/ci/6bd233bd5a9e564d4e2b8e6500bb12a7a8a55420?sbs=0 Instead of using the whole arc4random, I split arc4random_uniform into it's own compat file so we can use the system arc4random function as well so dhcpcd remains small.
Addition fix here: http://roy.marples.name/projects/dhcpcd/ci/884c1a4218b7ab2ac944ba816c219349667b0e74?sbs=0
The patch from comment #1 was added, per Roy, so this is fixed. Thanks for the report.
Thanks much, look forward to the next release