Closed Freey0 closed 2 weeks ago
Builds on main
(4cc3134aa1c), have you updated using west update
?
Builds on (4cc3134), have you updated using ?
main``west update
Build on -- Zephyr version: 3.7.99 (/home/xxx/zephyr), build: v3.7.0-3233-g4cc3134aa1c1, Yes, Has been updated using west update
Confirmed, on Ubuntu 20.04/GCC 9.4.0
Probably some picolibc/gcc issue.
FYI #78687 has been merged and will cause build failures on Ubuntu 20.04 which ships with python 3.8
cmake is mis-detecting compiler features in this configuration, which is done by compiling some short code snippets. That's leading it down a backwards-compatibility code path which the bug represented in the error message.
It looks like the issue boils down to not using -fno-common
while compiling that particular test. I've fixed the test (so that you'll get aliases working) and also fixed the backwards compatibility code path in case someone builds with a compiler that doesn't have the alias attribute.
See https://github.com/picolibc/picolibc/pull/841 -- once that is merged upstream, I'll work on getting it into the zephyr module.
Describe the bug
Follow the Networking with native_sim board tutorial, Failed to build echo_server on the native_sim board
To Reproduce
west build -p always -b native_sim zephyr/samples/net/sockets/echo_server
Expected behavior
build success Impact
Logs and console output
Environment (please complete the following information):
Commit SHA or Version used
Ubuntu20.04 zephyr-sdk-0.16.8 main
Additional context