https://bugs.linaro.org/show_bug.cgi?id=3983
Bug ID: 3983 Summary: Compile fails on OpenSuSE 42.2 Leap with error: negative width in bit field '__error_if_negative' Product: ODP-OVS Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: blocker Priority: --- Component: General Assignee: zoltan.k...@linaro.org Reporter: rper...@litespeedtech.com CC: lng-odp@lists.linaro.org Target Milestone: --- Overview: Unable to compile code: failed in odp_cpumask. The error went back to odp_cpumask.c:11, debug.h:26:38, /usr/include/sched.h:22 and /usr/include/features.h:365. Steps to Reproduce: Just compile Actual Results: Error above Expected Results: Compilation worked. Additional Information: I was able to trace it back to CPU_SETSIZE which went back to /usr/include/bits/sched.h where CPU_SETSIZE is defined to 4096. This causes all kinds of problems. I was able to get the code compiled by setting ODP_CPUMASK_SIZE to 4096 in include/odp/api/abi-default/cpumask.h. I suspect that's not what you're going to want to do in the long haul. Please let me know what you might suggest. Thanks, Bob Perper rper...@litespeedtech.com -- You are receiving this mail because: You are on the CC list for the bug.