Skip to content

[BUG] Posix_GCC demo emits stack warnings #1012

@mickeyl

Description

@mickeyl

Just cloned the FreeRTOS repository to try some things using the "emulator" on macOS/arm64.
Compiled the Posix_GCC demo with

 /V/S/D/l/m/FreeRTOS    FreeRTOS/Demo/Posix_GCC  gcc --version                                                                                                       Do  4 Mai 14:19:23 2023
Apple clang version 14.0.3 (clang-1403.0.22.14.1)
Target: arm64-apple-darwin22.4.0
Thread model: posix

and ran it. It emits the following two warnings all of the time:

[WARN] Increase the stack size to PTHREAD_STACK_MIN.
[WARN] pthread_attr_setstack failed with return value: 22. Default stack will be used.

Is this expected?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions