-
Notifications
You must be signed in to change notification settings - Fork 174
Labels
area: PicolibcIssues related to PicolibcIssues related to Picolibc
Milestone
Description
Zephyr version as of writing: zephyrproject-rtos/zephyr@53738cf
SDK v0.16.9-rc2
# current main has the 'sdk' command
$ west sdk install -b ~/.local/opt --version 0.16.9-rc2 --toolchain arm-zephyr-eabi
$ git checkout v3.7-branch
$ west update # making sure hal_nxp is up-to-date
$ west build -b mimxrt1064_evk samples/hello_worldThe following output is printed:
In file included from /home/pdgendt/dev/zephyr-main/zephyr/include/zephyr/posix/sys/stat.h:40,
from /home/pdgendt/dev/zephyr-main/zephyr/lib/libc/picolibc/libc-hooks.c:10:
/home/pdgendt/dev/zephyr-main/zephyr/include/zephyr/posix/posix_types.h:77:18: error: conflicting types for 'clockid_t'; have 'uint32_t' {aka 'unsigned int'}
77 | typedef uint32_t clockid_t;
| ^~~~~~~~~
In file included from /home/pdgendt/dev/zephyr-main/zephyr/include/zephyr/posix/posix_types.h:11:
/home/pdgendt/.local/opt/zephyr-sdk-0.16.9-rc2/arm-zephyr-eabi/picolibc/include/sys/types.h:217:25: note: previous declaration of 'clockid_t' with type 'clockid_t' {aka 'long unsigned int'}
217 | typedef __clockid_t clockid_t;
| ^~~~~~~~~
EDIT:
Also confirmed for aarch64-zephyr-elf toolchain.
Metadata
Metadata
Assignees
Labels
area: PicolibcIssues related to PicolibcIssues related to Picolibc