In case of 64 bit inodes calls to 32 bit variants of stat() will cause EOVERFLOW and avahi will terminate with
Value too large for defined data type FILE_OFFSET_BITS=64 makes the code receive 64 bit values. Signed-off-by: Bastian Stender <b...@pengutronix.de> --- rules/avahi.make | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/avahi.make b/rules/avahi.make index 8a10d15ea..2e796bce4 100644 --- a/rules/avahi.make +++ b/rules/avahi.make @@ -83,6 +83,8 @@ AVAHI_CONF_OPT := \ --with-autoipd-group=$(PTXCONF_AVAHI_AUTOIP_GROUP) \ --with-systemdsystemunitdir=/usr/lib/systemd/system +AVAHI_CFLAGS:= -D_FILE_OFFSET_BITS=64 + # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -- 2.11.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de