Cannot build busybox with no LFS

deweloper at wp.pl deweloper at wp.pl
Mon Jun 8 15:32:05 UTC 2026


Hi,

busybox 1.38 with CONFIG_LFS *disabled* fails to build against uClibc 1.0.58 (was OK in 1.0.57):

include/libbb.h:339:14: error: size of array ‘BUG_off_t_size_is_misdetected’ is negative
  339 |         char BUG_off_t_size_is_misdetected[sizeof(off_t) == sizeof(uoff_t) ? 1 : -1];
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This is probably related to commit 87b3542 in uclibc-ng, supposed to fix long-lasting "ABI mismatch entirely inside uClibc-ng", which added:
#define __USE_FILE_OFFSET64	1

According to the description in Config.in, the LFS option should let me decide whether I want busybox to "Support files > 2 GB" or not.
But it doesn't. Instead, busybox forces me to say "yes" just because underlying C library exposes some feature.

-- 


More information about the busybox mailing list