1.24.x Regression: Cannot compile with glibc<2.12(MNT_DETACH is not defined)
Lélio
busybox at lio.re
Tue Nov 10 19:24:26 UTC 2015
Hello,
glibc2.2+ is supported according to the FAQ, but the symbol MNT_DETACH is not defined in sys/mount.h in glibc<2.10 (this symbol is defined in the kernel (in fs.h) but has not been ported to glibc).
This prevents util-linux/umount.c from compiling. This regression has been introduced by the commit c919d561ad.
This is already worked around in init/bootchartd.c with a conditional include. In order to avoid redundant code, it might be better to fix this define in libbb.h. The attached patch fixes the issue.
Best,
Lélio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20151110/ce523411/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glibc-missing-defines-2.patch
Type: application/octet-stream
Size: 675 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20151110/ce523411/attachment.obj>
More information about the busybox
mailing list