| Summary: | get_nprocs and get_nprocs_conf do not seem to be complete... | ||
|---|---|---|---|
| Product: | uClibc | Reporter: | Ryan Hope <rmh3093> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | CC: | rep.dot.nop, uclibc-cvs, vda.linux |
| Priority: | P5 | ||
| Version: | 0.9.30 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Ryan Hope
2009-02-19 16:12:44 UTC
ehh i think i was wrong in my last post, num_online_cpus() and int num_present_cpus() in include/linux/cpumask.h is what needs to be used probably I do not understand this bug report. What are you trying to do? Do you have a code example which works with e.g. glibc but fails with uclibc? (In reply to comment #2) > I do not understand this bug report. > > What are you trying to do? Do you have a code example which works with e.g. > glibc but fails with uclibc? > I think it was boost that I was trying to compile when I got this error... ./libs/thread/src/pthread/thread.cpp I didn't find the time yet but i fear that this hunk is not adequate, is it? Thanks in advance for checking and reporting back! [patch *] shot-in-the-dark.00: http://repo.or.cz/w/buildroot.git?a=blob_plain;f=toolchain/uClibc/uClibc.075-sysconf-cpus.patch;hb=HEAD this is a bug in boost. it uses glibc-specific stuff instead of the POSIX compliant method. punt this bug as invalid. https://svn.boost.org/trac/boost/ticket/2053 which is not to say that the patch referenced by Bernhand shouldnt be added (it should be). just that adding the symbols get_nprocs/get_nprocs_conf is incorrect. |