for tool in insmod lsmod rmmod depmod modprobe modinfo; do \
	ln -s -f kmod /workdir/instance-0/output-1/host/bin/$tool; \
done
 /usr/bin/mkdir -p '/workdir/instance-0/output-1/host/share/bash-completion/completions'
 /usr/bin/install -c -m 644 shell-completion/bash/kmod '/workdir/instance-0/output-1/host/share/bash-completion/completions'
 /usr/bin/mkdir -p '/workdir/instance-0/output-1/host/include'
 /usr/bin/install -c -m 644 libkmod/libkmod.h '/workdir/instance-0/output-1/host/include'
 /usr/bin/mkdir -p '/workdir/instance-0/output-1/host/share/pkgconfig'
 /usr/bin/install -c -m 644 tools/kmod.pc '/workdir/instance-0/output-1/host/share/pkgconfig'
 /usr/bin/mkdir -p '/workdir/instance-0/output-1/host/lib/pkgconfig'
 /usr/bin/install -c -m 644 libkmod/libkmod.pc '/workdir/instance-0/output-1/host/lib/pkgconfig'
Making install in libkmod/docs
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[1]: Leaving directory '/workdir/instance-0/output-1/build/host-kmod-33'
mkdir -p /workdir/instance-0/output-1/host/sbin/
ln -sf ../bin/kmod /workdir/instance-0/output-1/host/sbin/depmod
lzop-1.04.tar.gz: OK (sha256: 7e72b62a8a60aff5200a047eea0773a8fb205caf7acbe1774d95147f305a2f41)
>>> host-lzop 1.04 Extracting
gzip -d -c /workdir/instance-0/dl/lzop/lzop-1.04.tar.gz | tar --strip-components=1 -C /workdir/instance-0/output-1/build/host-lzop-1.04   -xf -
>>> host-lzop 1.04 Patching

Applying 0001-allow-overriding-modification-time.patch using patch: 
patching file src/lzop.c
patch -i support/libtool/buildroot-libtool-v2.4.4.patch /workdir/instance-0/output-1/build/host-lzop-1.04/autoconf/ltmain.sh
patching file /workdir/instance-0/output-1/build/host-lzop-1.04/autoconf/ltmain.sh
Hunk #1 succeeded at 2583 (offset -104 lines).
Hunk #2 succeeded at 4172 (offset -105 lines).
Hunk #3 succeeded at 6436 (offset -118 lines).
Hunk #4 succeeded at 6446 (offset -118 lines).
Hunk #5 succeeded at 6734 (offset -123 lines).
Hunk #6 succeeded at 7021 (offset -128 lines).
Hunk #7 succeeded at 7964 (offset -148 lines).
Hunk #8 succeeded at 10554 (offset -156 lines).
>>> host-lzop 1.04 Updating config.sub and config.guess
for file in config.guess config.sub; do for i in $(find /workdir/instance-0/output-1/build/host-lzop-1.04 -name $file); do cp support/gnuconfig/$file $i; done; done
>>> host-lzop 1.04 Configuring
(cd /workdir/instance-0/output-1/build/host-lzop-1.04/ && rm -rf config.cache; GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/workdir/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/workdir/instance-0/output-1/host/lib/pkgconfig:/workdir/instance-0/output-1/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/workdir/instance-0/output-1/host/include" CFLAGS="-O2 -I/workdir/instance-0/output-1/host/include" CXXFLAGS="-O2 -I/workdir/instance-0/output-1/host/include" LDFLAGS="-L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/workdir/instance-0/output-1/host/include" LDFLAGS="-L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib"  CONFIG_SITE=/dev/null ./configure --prefix="/workdir/instance-0/output-1/host" --sysconfdir="/workdir/instance-0/output-1/host/etc" --localstatedir="/workdir/instance-0/output-1/host/var" --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking   )
configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls
configure: Configuring lzop 1.04
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking whether /usr/bin/gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc... none
checking how to run the C preprocessor... /usr/bin/cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking whether the C preprocessor needs special flags... none needed
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking dependency style of /usr/bin/gcc... none
checking whether make supports nested variables... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking whether limits.h is sane... yes
checking lzo/lzoconf.h usability... yes
checking lzo/lzoconf.h presence... yes
checking for lzo/lzoconf.h... yes
checking lzo/lzo1x.h usability... yes
checking lzo/lzo1x.h presence... yes
checking for lzo/lzo1x.h... yes
checking for version information in lzo/lzoconf.h...... v2
checking for __lzo_init_v2 in -llzo2... yes
checking conio.h usability... no
checking conio.h presence... no
checking for conio.h... no
checking direct.h usability... no
checking direct.h presence... no
checking for direct.h... no
checking dos.h usability... no
checking dos.h presence... no
checking for dos.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking share.h usability... no
checking share.h presence... no
checking for share.h... no
checking sys/utime.h usability... no
checking sys/utime.h presence... no
checking for sys/utime.h... no
checking for off_t... yes
checking for ptrdiff_t... yes
checking for size_t... yes
checking return type of signal handlers... void
checking for sys/time.h... (cached) yes
checking for struct stat.st_atim.tv_nsec... yes
checking whether struct stat.st_atim is of type struct timespec... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of __int16... 0
checking size of __int32... 0
checking size of __int64... 0
checking size of void *... 8
checking size of size_t... 8
checking size of ptrdiff_t... 8
checking size of __int32... (cached) 0
checking size of intmax_t... 8
checking size of uintmax_t... 8
checking size of intptr_t... 8
checking size of uintptr_t... 8
checking size of float... 4
checking size of double... 8
checking size of long double... 16
checking size of dev_t... 8
checking size of fpos_t... 16
checking size of mode_t... 4
checking size of off_t... 8
checking size of ssize_t... 8
checking size of time_t... 8
checking for access... yes
checking for alloca... no
checking for atexit... yes
checking for atoi... yes
checking for atol... yes
checking for chmod... yes
checking for chown... yes
checking for clock_getcpuclockid... yes
checking for clock_getres... yes
checking for clock_gettime... yes
checking for ctime... yes
checking for difftime... yes
checking for fstat... yes
checking for getenv... yes
checking for getpagesize... yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime... yes
checking for isatty... yes
checking for localtime... yes
checking for longjmp... yes
checking for lstat... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for mktime... yes
checking for mmap... yes
checking for mprotect... yes
checking for munmap... yes
checking for qsort... yes
checking for raise... yes
checking for rmdir... yes
checking for setjmp... yes
checking for signal... yes
checking for snprintf... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for stricmp... no
checking for strncasecmp... yes
checking for strnicmp... no
checking for strrchr... yes
checking for strstr... yes
checking for time... yes
checking for umask... yes
checking for utime... yes
checking for vsnprintf... yes
checking whether your compiler passes the ACC conformance test... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: unrecognized options: --enable-shared, --disable-static, --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --disable-debug, --with-xmlto, --with-fop, --disable-nls

   lzop configuration summary
   --------------------------
   lzop version               : 1.04
   configured for host        : x86_64-pc-linux-gnu
   source code location       : .
   compiler                   : /usr/bin/gcc
   preprocessor definitions   : -DLZOP_HAVE_CONFIG_H=1
   preprocessor flags         : -I/workdir/instance-0/output-1/host/include
   compiler flags             : -O2 -I/workdir/instance-0/output-1/host/include
   linker flags               : -L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib
   link libraries             : -llzo2 


   lzop 1.04 configured.

   Copyright (C) 1996-2017 Markus Franz Xaver Johannes Oberhumer
   All Rights Reserved.

   lzop and the LZO library are free software; you can redistribute them
   and/or modify them under the terms of the GNU General Public License as
   published by the Free Software Foundation; either version 2 of
   the License, or (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   Markus F.X.J. Oberhumer
   <markus@oberhumer.com>
   http://www.oberhumer.com/opensource/lzop/


Type `make' to build lzop. Type `make install' to install lzop.
After installing lzop, please read the accompanied documentation.

>>> host-lzop 1.04 Building
GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/workdir/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/workdir/instance-0/output-1/host/lib/pkgconfig:/workdir/instance-0/output-1/host/share/pkgconfig"  /usr/bin/make -j1  -C /workdir/instance-0/output-1/build/host-lzop-1.04/
make[1]: Entering directory '/workdir/instance-0/output-1/build/host-lzop-1.04'
/usr/bin/make  all-am
make[2]: Entering directory '/workdir/instance-0/output-1/build/host-lzop-1.04'
  CC       src/c_ansic.o
  CC       src/c_ansim.o
  CC       src/c_init.o
  CC       src/c_none.o
  CC       src/c_screen.o
  CC       src/compress.o
  CC       src/djgpp2.o
  CC       src/filter.o
  CC       src/frames.o
  CC       src/help.o
  CC       src/lzop.o
  CC       src/mblock.o
  CC       src/p_lzo.o
  CC       src/s_curses.o
  CC       src/s_djgpp2.o
  CC       src/s_object.o
  CC       src/s_vcsa.o
  CC       src/util.o
  CCLD     src/lzop
make[2]: Leaving directory '/workdir/instance-0/output-1/build/host-lzop-1.04'
make[1]: Leaving directory '/workdir/instance-0/output-1/build/host-lzop-1.04'
>>> host-lzop 1.04 Installing to host directory
GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/workdir/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/workdir/instance-0/output-1/host/lib/pkgconfig:/workdir/instance-0/output-1/host/share/pkgconfig"  /usr/bin/make -j1 install -C /workdir/instance-0/output-1/build/host-lzop-1.04/
make[1]: Entering directory '/workdir/instance-0/output-1/build/host-lzop-1.04'
make[2]: Entering directory '/workdir/instance-0/output-1/build/host-lzop-1.04'
 /usr/bin/mkdir -p '/workdir/instance-0/output-1/host/bin'
  /usr/bin/install -c src/lzop '/workdir/instance-0/output-1/host/bin'
 /usr/bin/mkdir -p '/workdir/instance-0/output-1/host/share/doc/lzop'
 /usr/bin/install -c -m 644 AUTHORS COPYING NEWS README THANKS doc/lzop.html doc/lzop.man doc/lzop.ps doc/lzop.tex doc/lzop.txt doc/lzop.pod '/workdir/instance-0/output-1/host/share/doc/lzop'
 /usr/bin/mkdir -p '/workdir/instance-0/output-1/host/share/man/man1'
 /usr/bin/install -c -m 644 doc/lzop.1 '/workdir/instance-0/output-1/host/share/man/man1'
make[2]: Leaving directory '/workdir/instance-0/output-1/build/host-lzop-1.04'
make[1]: Leaving directory '/workdir/instance-0/output-1/build/host-lzop-1.04'
>>> linux 5.10.162-cip24-rt10 Downloading
wget -nd -t 3 --no-check-certificate -O '/workdir/instance-0/output-1/build/.linux-cip-5.10.162-cip24-rt10.tar.gz.wHrDFC/output' 'https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot/linux-cip-5.10.162-cip24-rt10.tar.gz' 
WARNING: The certificate is NOT trusted. The certificate issuer is unknown. 
[0] Downloading 'https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot/linux-cip-5.10.162-cip24-rt10.tar.gz' ...
Saving '/workdir/instance-0/output-1/build/.linux-cip-5.10.162-cip24-rt10.tar.gz.wHrDFC/output'
HTTP response 200  [https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot/linux-cip-5.10.162-cip24-rt10.tar.gz]
linux-cip-5.10.162-cip24-rt10.tar.gz: OK (sha256: b5539243f187e3d478d76d44ae13aab83952c94b885ad889df6fa9997e16a441)
>>> linux 5.10.162-cip24-rt10 Extracting
gzip -d -c /workdir/instance-0/dl/linux/linux-cip-5.10.162-cip24-rt10.tar.gz | tar --strip-components=1 -C /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10   -xf -
>>> linux 5.10.162-cip24-rt10 Patching
mkdir -p /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10/drivers/lego
cp -dpfr /workdir/instance-0/output-1/build/ev3dev-linux-drivers-0e551eb25ae8600c1f178814781bfb42dc835496/* /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10/drivers/lego/

Applying 0001-arch-microblaze-mm-init.c-fix-build.patch using patch: 
patching file arch/microblaze/mm/init.c
for p in  ; do if test -d $p ; then TAR="tar" PATH=/workdir/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh  /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10 $p \*.patch || exit 1 ; else TAR="tar" PATH=/workdir/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh  /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10 `dirname $p` `basename $p` || exit 1; fi done
Using /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10/.config as base
#
# merged configuration written to /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10/.config (needs make)
#
>>> linux 5.10.162-cip24-rt10 Updating kernel config with fixups
>>> linux 5.10.162-cip24-rt10 Configuring
>>> linux 5.10.162-cip24-rt10 Building
GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/workdir/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/workdir/instance-0/output-1/host/lib/pkgconfig:/workdir/instance-0/output-1/host/share/pkgconfig" BR_BINARIES_DIR=/workdir/instance-0/output-1/images /usr/bin/make -j1 HOSTCC="/usr/bin/gcc -O2 -isystem /workdir/instance-0/output-1/host/include -L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib" ARCH=arm KCFLAGS="-Wno-attribute-alias" INSTALL_MOD_PATH=/workdir/instance-0/output-1/target CROSS_COMPILE="/workdir/instance-0/output-1/host/bin/armeb-buildroot-linux-gnueabi-" WERROR=0 REGENERATE_PARSERS=1 DEPMOD=/workdir/instance-0/output-1/host/sbin/depmod -C /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10 all
In file included from ./include/linux/rculist.h:10,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from kernel/locking/semaphore.c:30:
In function ‘__list_add’,
    inlined from ‘list_add_tail’ at ./include/linux/list.h:100:2,
    inlined from ‘__down_common’ at kernel/locking/semaphore.c:209:2,
    inlined from ‘__down_killable’ at kernel/locking/semaphore.c:247:9:
./include/linux/list.h:70:20: warning: storing the address of local variable ‘waiter’ in ‘((struct list_head *)sem)[1].prev’ [-Wdangling-pointer=]
   70 |         next->prev = new;
      |         ~~~~~~~~~~~^~~~~
kernel/locking/semaphore.c: In function ‘__down_killable’:
kernel/locking/semaphore.c:207:33: note: ‘waiter’ declared here
  207 |         struct semaphore_waiter waiter;
      |                                 ^~~~~~
kernel/locking/semaphore.c:245:63: note: ‘sem’ declared here
  245 | static noinline int __sched __down_killable(struct semaphore *sem)
      |                                             ~~~~~~~~~~~~~~~~~~^~~
In function ‘__list_add’,
    inlined from ‘list_add_tail’ at ./include/linux/list.h:100:2,
    inlined from ‘__down_common’ at kernel/locking/semaphore.c:209:2,
    inlined from ‘__down_timeout’ at kernel/locking/semaphore.c:252:9:
./include/linux/list.h:70:20: warning: storing the address of local variable ‘waiter’ in ‘((struct list_head *)sem)[1].prev’ [-Wdangling-pointer=]
   70 |         next->prev = new;
      |         ~~~~~~~~~~~^~~~~
kernel/locking/semaphore.c: In function ‘__down_timeout’:
kernel/locking/semaphore.c:207:33: note: ‘waiter’ declared here
  207 |         struct semaphore_waiter waiter;
      |                                 ^~~~~~
kernel/locking/semaphore.c:250:62: note: ‘sem’ declared here
  250 | static noinline int __sched __down_timeout(struct semaphore *sem, long timeout)
      |                                            ~~~~~~~~~~~~~~~~~~^~~
In function ‘__list_add’,
    inlined from ‘list_add_tail’ at ./include/linux/list.h:100:2,
    inlined from ‘__down_common’ at kernel/locking/semaphore.c:209:2,
    inlined from ‘__down’ at kernel/locking/semaphore.c:237:2:
./include/linux/list.h:70:20: warning: storing the address of local variable ‘waiter’ in ‘((struct list_head *)sem)[1].prev’ [-Wdangling-pointer=]
   70 |         next->prev = new;
      |         ~~~~~~~~~~~^~~~~
kernel/locking/semaphore.c: In function ‘__down’:
kernel/locking/semaphore.c:207:33: note: ‘waiter’ declared here
  207 |         struct semaphore_waiter waiter;
      |                                 ^~~~~~
kernel/locking/semaphore.c:235:55: note: ‘sem’ declared here
  235 | static noinline void __sched __down(struct semaphore *sem)
      |                                     ~~~~~~~~~~~~~~~~~~^~~
In function ‘__list_add’,
    inlined from ‘list_add_tail’ at ./include/linux/list.h:100:2,
    inlined from ‘__down_common’ at kernel/locking/semaphore.c:209:2,
    inlined from ‘__down_interruptible’ at kernel/locking/semaphore.c:242:9:
./include/linux/list.h:70:20: warning: storing the address of local variable ‘waiter’ in ‘((struct list_head *)sem)[1].prev’ [-Wdangling-pointer=]
   70 |         next->prev = new;
      |         ~~~~~~~~~~~^~~~~
kernel/locking/semaphore.c: In function ‘__down_interruptible’:
kernel/locking/semaphore.c:207:33: note: ‘waiter’ declared here
  207 |         struct semaphore_waiter waiter;
      |                                 ^~~~~~
kernel/locking/semaphore.c:240:68: note: ‘sem’ declared here
  240 | static noinline int __sched __down_interruptible(struct semaphore *sem)
      |                                                  ~~~~~~~~~~~~~~~~~~^~~
kernel/workqueue.c: In function ‘get_work_pwq’:
kernel/workqueue.c:687:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  687 |                 return (void *)(data & WORK_STRUCT_WQ_DATA_MASK);
      |                        ^
kernel/workqueue.c: In function ‘get_work_pool’:
kernel/workqueue.c:715:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  715 |                 return ((struct pool_workqueue *)
      |                         ^
kernel/workqueue.c: In function ‘get_work_pool_id’:
kernel/workqueue.c:737:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  737 |                 return ((struct pool_workqueue *)
      |                         ^
In file included from ./include/linux/rculist.h:10,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from ./include/linux/ratelimit.h:6,
                 from ./include/linux/dev_printk.h:16,
                 from ./include/linux/device.h:15,
                 from ./include/linux/node.h:18,
                 from ./include/linux/cpu.h:17,
                 from mm/compaction.c:11:
In function ‘__list_cut_position’,
    inlined from ‘list_cut_position’ at ./include/linux/list.h:400:3,
    inlined from ‘move_freelist_tail’ at mm/compaction.c:1241:3:
./include/linux/list.h:370:21: warning: storing the address of local variable ‘sublist’ in ‘*&freepage_6(D)->D.15618.D.15563.lru.next’ [-Wdangling-pointer=]
  370 |         entry->next = list;
      |         ~~~~~~~~~~~~^~~~~~
mm/compaction.c: In function ‘move_freelist_tail’:
mm/compaction.c:1238:19: note: ‘sublist’ declared here
 1238 |         LIST_HEAD(sublist);
      |                   ^~~~~~~
./include/linux/list.h:24:26: note: in definition of macro ‘LIST_HEAD’
   24 |         struct list_head name = LIST_HEAD_INIT(name)
      |                          ^~~~
mm/compaction.c:1236:61: note: ‘freepage’ declared here
 1236 | move_freelist_tail(struct list_head *freelist, struct page *freepage)
      |                                                ~~~~~~~~~~~~~^~~~~~~~
drivers/gpu/drm/nouveau/dispnv50/wndw.c:711:1: warning: conflicting types for ‘nv50_wndw_new_’ due to enum/integer mismatch; have ‘int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type,  const char *, int,  const u32 *, u32,  enum nv50_disp_interlock_type,  u32,  struct nv50_wndw **)’ {aka ‘int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type,  const char *, int,  const unsigned int *, unsigned int,  enum nv50_disp_interlock_type,  unsigned int,  struct nv50_wndw **)’} [-Wenum-int-mismatch]
  711 | nv50_wndw_new_(const struct nv50_wndw_func *func, struct drm_device *dev,
      | ^~~~~~~~~~~~~~
In file included from drivers/gpu/drm/nouveau/dispnv50/wndw.c:22:
drivers/gpu/drm/nouveau/dispnv50/wndw.h:39:5: note: previous declaration of ‘nv50_wndw_new_’ with type ‘int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type,  const char *, int,  const u32 *, enum nv50_disp_interlock_type,  u32,  u32,  struct nv50_wndw **)’ {aka ‘int(const struct nv50_wndw_func *, struct drm_device *, enum drm_plane_type,  const char *, int,  const unsigned int *, enum nv50_disp_interlock_type,  unsigned int,  unsigned int,  struct nv50_wndw **)’}
   39 | int nv50_wndw_new_(const struct nv50_wndw_func *, struct drm_device *,
      |     ^~~~~~~~~~~~~~
In file included from <command-line>:
drivers/ata/libahci.c: In function ‘ahci_led_store’:
././include/linux/compiler_types.h:309:45: error: call to ‘__compiletime_assert_311’ declared with attribute error: BUILD_BUG_ON failed: sizeof(_s) > sizeof(long)
  309 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |                                             ^
././include/linux/compiler_types.h:290:25: note: in definition of macro ‘__compiletime_assert’
  290 |                         prefix ## suffix();                             \
      |                         ^~~~~~
././include/linux/compiler_types.h:309:9: note: in expansion of macro ‘_compiletime_assert’
  309 |         _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
      |         ^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
   39 | #define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
      |                                     ^~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:50:9: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
   50 |         BUILD_BUG_ON_MSG(condition, "BUILD_BUG_ON failed: " #condition)
      |         ^~~~~~~~~~~~~~~~
./include/linux/nospec.h:58:9: note: in expansion of macro ‘BUILD_BUG_ON’
   58 |         BUILD_BUG_ON(sizeof(_s) > sizeof(long));                        \
      |         ^~~~~~~~~~~~
drivers/ata/libahci.c:1142:23: note: in expansion of macro ‘array_index_nospec’
 1142 |                 pmp = array_index_nospec(pmp, EM_MAX_SLOTS);
      |                       ^~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:286: drivers/ata/libahci.o] Error 1
make[2]: *** [scripts/Makefile.build:503: drivers/ata] Error 2
make[1]: *** [Makefile:1837: drivers] Error 2
make: *** [package/pkg-generic.mk:289: /workdir/instance-0/output-1/build/linux-5.10.162-cip24-rt10/.stamp_built] Error 2
make: Leaving directory '/workdir/instance-0/buildroot'