BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000899 [uClibc] Standards Compliance minor always 06-12-06 03:11 01-05-08 15:40
Reporter syn View Status public  
Assigned To uClibc
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000899: sched_getaffinity / sched_setaffinity are not implemented
Description When building Busybox against uClibc, I got the error :
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c: In function `taskset_main':
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:16: error: `cpu_set_t' undeclared (first use in this function)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:16: error: (Each undeclared identifier is reported only once
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:16: error: for each function it appears in.)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:16: error: syntax error before "mask"
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:39: warning: implicit declaration of function `CPU_ZERO'
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:39: error: `new_mask' undeclared (first use in this function)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:40: error: `CPU_SETSIZE' undeclared (first use in this function)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:42: warning: implicit declaration of function `CPU_SET'
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:49: warning: implicit declaration of function `sched_getaffinity'
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:49: error: `mask' undeclared (first use in this function)
/home/syn/xivo/uclibc-toolchain/busybox/miscutils/taskset.c:57: warning: implicit declaration of function `sched_setaffinity'

The header bits/sched.h doesn't typedef cpu_set_t and doesn't define some macros. This is simply a matter of complying with glibc, I guess.
Additional Information
Attached Files

- Relationships

- Notes
(0001427)
vapier
06-15-06 08:17

no, uClibc does not implement sched_setaffinity / sched_getaffinity, so the types are also disabled
 
(0003424)
vapier
01-05-08 15:40

the functions in question have been implemented
 

- Issue History
Date Modified Username Field Change
06-12-06 03:11 syn New Issue
06-12-06 03:11 syn Status new => assigned
06-12-06 03:11 syn Assigned To  => uClibc
06-15-06 08:17 vapier Note Added: 0001427
06-15-06 08:17 vapier version 0.9.28 =>
06-15-06 08:17 vapier Summary bits/sched.h lacks declerations => sched_getaffinity / sched_setaffinity are not implemented
01-05-08 15:40 vapier Note Added: 0003424
01-05-08 15:40 vapier Status assigned => closed
01-05-08 15:40 vapier Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker