[Buildroot] [PATCH 1/1] package/lxc: fix compilation with stub memfd_create
Peter Korsgaard
peter at korsgaard.com
Wed Oct 30 12:35:08 UTC 2019
>>>>> "Patrick" == Patrick Havelange <patrick.havelange at essensium.com> writes:
> This fixes compilation issue in case memfd_create is a stub in libc.
> Patch already merged in lxc master branch
> (344b8ee293f4d3730a70a6ccaa03d7e4a516ae95).
> Copy of the original commit log:
> In case the internal memfd_create has to be used, make sure we don't
> clash with the already existing memfd_create function from glibc.
> This can happen if this glibc function is a stub. In this case, at
> ./configure time, the test for this function will return false, however
> the declaration of that function is still available. This leads to
> compilation errors.
> Signed-off-by: Patrick Havelange <patrick.havelange at essensium.com>
Committed to 2019.02.x and 2019.08.x, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list