On 05/23/2017 11:42 AM, Florian Fainelli wrote: > > make -C > /local/users/fainelli/openwrt/trunk/build_dir/target-x86_64_musl/linux-uml/linux-4.4.69 > HOSTCFLAGS="-O2 > -I/local/users/fainelli/openwrt/trunk/staging_dir/host/include > -I/local/users/fainelli/openwrt/trunk/staging_dir/host/usr/include > -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="" > ARCH="um" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" > KBUILD_BUILD_TIMESTAMP="Tue May 23 03:21:55 2017" > KBUILD_BUILD_VERSION="0" > HOST_LOADLIBES="-L/local/users/fainelli/openwrt/trunk/staging_dir/host/lib" > CONFIG_SHELL="bash" V='' cmd_syscalls= CC="gcc" modules > make[5]: Entering directory `/local/users/fainelli/linux' > CHK include/generated/uapi/linux/version.h > CHK include/config/kernel.release > CHK include/generated/utsrelease.h > CHK scripts/mod/devicetable-offsets.h > CC arch/x86/um/user-offsets.s > arch/x86/um/user-offsets.c: In function 'foo': > arch/x86/um/user-offsets.c:53: error: invalid application of 'sizeof' to > incomplete type 'struct _xstate' > make[6]: *** [arch/x86/um/user-offsets.s] Error 1 > make[5]: *** [arch/x86/um/user-offsets.s] Error 2 > make[5]: Leaving directory `/local/users/fainelli/linux' > > Sounds familiar?
Found the problem and submitted a candidate fix to keep UML from both building and running on older hosts. -- Florian

