I didn't see that upgrade, but yes it will. expat 2.2.2 demands either getrandom() from glibc (2.25 onwards) or SYS_getrandom (not sure what glibc added this, but its not in Debian 8's 2.19.
Ross On 22 July 2017 at 16:19, Khem Raj <raj.k...@gmail.com> wrote: > On Sat, Jul 22, 2017 at 2:24 AM, Burton, Ross <ross.bur...@intel.com> > wrote: > > > > On 18 July 2017 at 07:01, Dengke Du <dengke...@windriver.com> wrote: > >> > >> using getrandom syscall on linux 3.17+, so when we compiling > >> expat-native > >> on the kernel older than 3.17, that would be failed. > > > > > > It's failing on Debian 8, which is kernel 4.9.0: > > > > | ../expat-2.2.2/lib/xmlparse.c:56:3: error: #error You do not have > support > > for any sources of high quality entropy enabled. For end user security, > that > > is probably not what you want. Your options include: * Linux + glibc > >=2.25 > > (getrandom): HAVE_GETRANDOM, * Linux + glibc <2.25 (syscall > SYS_getrandom): > > HAVE_SYSCALL_GETRANDOM, * BSD / macOS (arc4random_buf): > HAVE_ARC4RANDOM_BUF, > > * libbsd (arc4random_buf): HAVE_ARC4RANDOM_BUF + HAVE_LIBBSD, * Windows > > (RtlGenRandom): _WIN32. If insist on not using any of these, bypass this > > error by defining XML_POOR_ENTROPY; you have been warned. For CMake, one > way > > to pass the define is: cmake -DCMAKE_C_FLAGS="-pipe -O2 > > -DHAVE_SYSCALL_GETRANDOM" . If you have reasons to patch this detection > code > > away or need changes to the build system, please open a bug. Thank you! > > > > (https://autobuilder.yocto.io/builders/nightly-ppc/builds/ > 379/steps/BuildImages/logs/stdio) > > > > I suspect the detection code is well and truly broken. > > > > I posted another patch doing this upgrade. I wonder if it has same > issue. it works on my 3.12 kernel based host. > > > Ross > > > > -- > > _______________________________________________ > > Openembedded-core mailing list > > Openembedded-core@lists.openembedded.org > > http://lists.openembedded.org/mailman/listinfo/openembedded-core > > >
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core