-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Posix: fix build failure #235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Fixes: a48f137 ("Posix Port: Comment and remove unused variables (FreeRTOS#230)") The above commit introduced the compile error: /FreeRTOS/FreeRTOS/Source/portable/ThirdParty/GCC/Posix/port.c: In function ‘prvSetupSignalsAndSchedulerPolicy’: /FreeRTOS/FreeRTOS/Source/portable/ThirdParty/GCC/Posix/port.c:528:28: error: incompatible type for argument 3 of ‘pthread_sigmask’ *&xSchedulerOriginalSignalMask ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/signal.h:359, from FreeRTOS/FreeRTOS/Source/portable/ThirdParty/GCC/Posix/port.c:53: /usr/include/x86_64-linux-gnu/bits/sigthread.h:33:31: note: expected ‘__sigset_t * restrict’ {aka ‘struct <anonymous> * restrict’} but argument is of type ‘sigset_t’ {aka ‘struct <anonymous>’} __sigset_t *__restrict __oldmask)__THROW;
What is the failing check?
|
Hi @twpedersen A subset of the repo's files require a FreeRTOS Kernel Header (version + copyright + license). |
Thank you. |
is there no interest in fixing a build failure in the LTS release, or am I the only one seeing this? |
/bot run checks |
Thanks guys 🙏 |
Fixing pointer prefix misshap similar to FreeRTOS#235' for our 2020-12 release. Issue - https://forums.freertos.org/t/posix-port-compile-issues/11323
* Build: transform scons into Makefile * Build: add Makefile dependencies * Build: remove some tabs from Makefile * Build: Make builds out of source, move wait for event to kernel port * Test: update the full test to print status messages * Build: replace lpthread with pthread Co-authored-by: Alfred Gedeon <[email protected]>
Fixes: a48f137 ("Posix Port: Comment and remove unused variables (#230)")
The above commit introduced the compile error: