latest repo not building?
david.holmes at oracle.com
Fri Jan 29 23:06:45 UTC 2016
On 30/01/2016 8:43 AM, David Holmes wrote:
> Sorry Rachel, the latest changes I pushed for sched_getaffinity do rely
> on using at least our official gcc version for building - which is
> 4.9.2. I was under the (perhaps mistaken) impression that there was
> already something that prevented us using the older 4.8.x version.
Sorry this is incorrect information. Internally we use devkits which
combine a specific gcc version with a specific OS version. Our current
devkit is using gcc 4.9.2, but the sched_getaffinity code depends on the
OS header files to support dynamic cpu sets (man CPU_SET). I can't say
exactly which OS versions support this but Linux distributions post 2010
should be fine.
So older gcc may be fine, but you need the later OS.
> On 30/01/2016 4:13 AM, Rachel Protacio wrote:
>> I just updated a blank repo and tried to build it, but got this error:
>> error: 'CPU_COUNT_S' was not declared in this scope
>> cpu_count = CPU_COUNT_S(cpus_size, cpus_p);
>> error: 'CPU_COUNT' was not declared in this scope
>> cpu_count = CPU_COUNT(cpus_p);
>> error: 'CPU_FREE' was not declared in this scope
>> It looks from the history that David edited this file today, but maybe
>> it's just my problem? Is anyone else running into this?
More information about the hotspot-runtime-dev