Newlib retargetable lock init fails on qemu_xtensa #38234
Labels
area: newlib
Newlib C Standard Library
area: Xtensa
Xtensa Architecture
bug
The issue is a bug, or the PR is fixing a bug
priority: high
High impact/importance bug
Regression
Something, which was working, does not anymore
Milestone
Describe the bug
__retarget_lock_init
fails on theqemu_xtensa
board.To Reproduce
Build
tests/lib/newlib/thread_safety
and run it onqemu_xtensa
.Expected behavior
The
malloc
call in__retarget_lock_init
succeeds.Impact
Any components using the newlib are unusable on Xtensa.
Logs and console output
Environment (please complete the following information):
Additional context
For some unknown reason, a77e756 causes the newlib
malloc
to fail and returnNULL
on Xtensa.After full twister run on the
tests/lib/newlib/thread_safety
, onlyqemu_xtensa
fails and the rest of the platforms succeed.The text was updated successfully, but these errors were encountered: