Displaying 3 results from an estimated 3 matches for "__child_stack".
2013 Jul 09
2
[LLVMdev] Error building compiler-rt
...matching function for call to 'clone'
pid_t tracer_pid = clone(TracerThread, tracer_stack.Bottom(),
^~~~~
/usr/include/bits/sched.h:71:12: note: candidate function not viable: requires 4 arguments, but 7 were provided
extern int clone (int (*__fn) (void *__arg), void *__child_stack,
Inside sched.h, clone is indeed declared with four arguments, but, interestingly, the man page for clone provides this prototype:
#include <sched.h>
int clone(int (*fn)(void *), void *child_stack,
int flags, void *arg, ...
/* pid_t *pid, str...
2013 Jul 09
0
[LLVMdev] Error building compiler-rt
...matching function for call to 'clone'
pid_t tracer_pid = clone(TracerThread, tracer_stack.Bottom(),
^~~~~
/usr/include/bits/sched.h:71:12: note: candidate function not viable: requires 4 arguments, but 7 were provided
extern int clone (int (*__fn) (void *__arg), void *__child_stack,
Inside sched.h, clone is indeed declared with four arguments, but, interestingly, the man page for clone provides this prototype:
#include <sched.h>
int clone(int (*fn)(void *), void *child_stack,
int flags, void *arg, ...
/* pid_t *pid, str...
2013 Jul 17
1
[LLVMdev] Error building compiler-rt
...pid_t tracer_pid = clone(TracerThread, tracer_stack.Bottom(),****
>
> ^~~~~****
>
> /usr/include/bits/sched.h:71:12: note: candidate function not viable:
> requires 4 arguments, but 7 were provided****
>
> extern int clone (int (*__fn) (void *__arg), void *__child_stack,****
>
> ** **
>
> Inside sched.h, clone is indeed declared with four arguments, but,
> interestingly, the man page for clone provides this prototype:****
>
> ** **
>
> #include <sched.h>****
>
> ** **
>
> int clone(int (*fn)(void *), void...