Hi Tom, On Tue, 3 Jun 2025 at 15:23, Tom Rini <[email protected]> wrote: > > On Tue, Jun 03, 2025 at 02:00:23PM -0400, Raymond Mao wrote: > > Hi Tom, > > > > On Tue, 3 Jun 2025 at 11:47, Tom Rini <[email protected]> wrote: > > > > > > On Tue, Jun 03, 2025 at 08:13:58AM -0700, Raymond Mao wrote: > > > > > > > This patch is to solve the sandbox building error: > > > > $ make O=build-sandbox -s sandbox_defconfig > > > > $ make O=build-sandbox -s -j2 > > > > /usr/bin/ld: /tmp/u-boot.27rzOu.ltrans58.ltrans.o: undefined reference > > > > to symbol 'pthread_kill@@GLIBC_2.2.5' > > > > /usr/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: error adding > > > > symbols: DSO missing from command line > > > > collect2: error: ld returned 1 exit status > > > > [...] > > > > > > > > Signed-off-by: Raymond Mao <[email protected]> > > > > --- > > > > arch/sandbox/config.mk | 2 +- > > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > > > OK, but how do you get this failure to start with? What host? > > It failed when I started any sandbox unit test like: > > ./test/py/test.py --bd sandbox --build -k <any_test> > > My local host: Ubuntu v20.04, x86_64 > > We don't see that normally, is there something odd about your compilers? > This is the kind of thing which should be failing everywhere, but isn't. > Thanks. > This failure occured in my host since v2025.07-rc1, but with the same host, same setup and same instructions it worked fine in v2025.04-rc5. Seems that some impacts were introduced during v2025.04-rc5 ~ v2025.07-rc1, which might be worth investigating.
Regards, Raymond > -- > Tom

