Re: libnuma: Problem with static library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Almaz Mirgasimov <mirgasimov.almaz@xxxxxxxxx> writes:

> I have some problem when running my program statically linked with libnuma.
> When I try to run it I get following error message
>
>  request to allocate mask for invalid number; abort
>
> I think the reason for such behavior is not initialized 'cpumask_sz',
> because 'numa_init' was not called automatically.
>
> To solve this problem I slightly patched numactl sources and called
> 'numa_init' in my program manually.
> But is there any better way?

That's a long standing regression from the 2.x changes.

Should be fixed with
http://permalink.gmane.org/gmane.linux.kernel.numa/688

-Andi

-- 
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-numa" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]     [Devices]

  Powered by Linux