[BUG] sandbox_defconfig fails to build with origin/master dadc1e38306b1c3

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Oct 17 13:46:53 CEST 2020


On 10/17/20 1:43 PM, Heinrich Schuchardt wrote:
> Hello Tom, hello Simon,
>
> make sandbox_defconfig
> make V=1
>
> yields:
>
> make -f ./scripts/Makefile.build obj=test/log
>   gcc -Wp,-MD,test/log/.syslog_test.o.d -nostdinc -isystem
> /usr/lib/gcc/x86_64-linux-gnu/10/include -Iinclude
> -I./arch/sandbox/include -include ./include/linux/kconfig.h -D__KERNEL__
> -D__UBOOT__ -Wall -Wstrict-prototypes -Wno-format-security -fno-builtin
> -ffreestanding -std=gnu11 -fshort-wchar -fno-strict-aliasing -fno-PIE
> -Os -fno-stack-protector -fno-delete-null-pointer-checks
> -Wno-stringop-truncation -Wno-maybe-uninitialized -fmacro-prefix-map=./=
> -g -fstack-usage -Wno-format-nonliteral -Wno-address-of-packed-member
> -Wno-unused-but-set-variable -Werror=date-time -Werror -D__SANDBOX__
> -U_FORTIFY_SOURCE -DCONFIG_ARCH_MAP_SYSMEM -fPIC -I/usr/include/SDL2
> -D_REENTRANT -pipe    -DKBUILD_BASENAME='"syslog_test"'
> -DKBUILD_MODNAME='"syslog_test"' -c -o test/log/syslog_test.o
> test/log/syslog_test.c
> test/log/syslog_test.c:21:10: fatal error: syslog_test.h: No such file
> or directory
>    21 | #include <syslog_test.h>
>       |          ^~~~~~~~~~~~~~~
> compilation terminated.
>
> git bisect:
>
> 52d3df7fefe30b05677db9055e68c666a071d89a is the first bad commit
> commit 52d3df7fefe30b05677db9055e68c666a071d89a
> Author: Simon Glass <sjg at chromium.org>
> Date:   Sat Sep 12 11:13:34 2020 -0600
>
>     log: Allow LOG_DEBUG to always enable log output
>
> @Tom:
> Why are such build failures not detected before merging?
>
> Best regards
>
> Heinrich
>

Cf.
[PATCH 1/1] test: fix build failure for syslog_test
https://lists.denx.de/pipermail/u-boot/2020-October/429766.html



More information about the U-Boot mailing list