You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _raise_r function in components/newlib/syscalls.c and components/newlib/syscall_table.c is missing the second parameter (the signal number). This can cause compile errors if you include a header on the command line using "-include".
Expected Behavior
Should build without error.
Actual Behavior
Build fails.
Steps to reproduce
(purely contrived example...project doesn't actually do it this way)
make V=1 CFLAGS="-include ${IDF_PATH}/components/newlib/include/sys/signal.h"
Code to reproduce this issue
From components/newlib/syscalls.c: (missing signal parameter)
void _raise_r(struct _reent *r)
{
abort();
}
From components/newlib/syscall_table.c: (missing signal parameter)
Environment
Problem Description
The _raise_r function in components/newlib/syscalls.c and components/newlib/syscall_table.c is missing the second parameter (the signal number). This can cause compile errors if you include a header on the command line using "-include".
Expected Behavior
Should build without error.
Actual Behavior
Build fails.
Steps to reproduce
(purely contrived example...project doesn't actually do it this way)
Code to reproduce this issue
From components/newlib/syscalls.c: (missing signal parameter)
From components/newlib/syscall_table.c: (missing signal parameter)
Debug Logs
The text was updated successfully, but these errors were encountered: