On Wed, Feb 19, 2014 at 08:34:31PM +0100, Peeters Simon wrote:
> hej
> 
> This weekend I switched 2 of my devices to kdbus. both running a 32bit
> system (my atom based netbook and a beaglebone black)
> 
> while compiling I ran in to trouble on both devices because of missing
> division and modulo operations for uint64, both related to bloom.size
> in match.c.

This is the kdbus code, right?  Care to provide the real error/warning
messages that were caused at build time?

> So my question is: is it really necessary for bloom.size to be a
> uint64? I can not imagine any use case for bloom sizes exceeding
> UINT32_MAX.
> I am not sure what the proper fix would be, I temporary fixed this by
> casting bloom.size to uint32 where needed, and this works.

Do you have a patch that shows this?

> I also noted that in kdbus.h (while compiling kdbus itself) ioctl.h
> does not get included resulting in missing definitions for _IO() and
> family. (at least on arm)

Care to send a patch?

thanks,

greg k-h
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to