Building with the attached random configuration file,
ERROR: "__divdi3" [net/ceph/libceph.ko] undefined!
On Tue, Apr 21, 2015 at 08:10:44AM -0700, Jim Davis wrote:
> Building with the attached random configuration file,
>
> ERROR: "__divdi3" [net/ceph/libceph.ko] undefined!
Commit 7321f19d ("crush: straw2 bucket type with an efficient 64-bit crush_ln()").
+ draw = ln / w;
where 'ln' is 64 bit.
Some other oddies in that patch, such as
+#if defined(__linux__)
+#include <linux/types.h>
+#elif defined(__FreeBSD__)
+#include <sys/types.h>
+#endif
and lots of coding style violations.
Guenter
On Tue, 21 Apr 2015, Guenter Roeck wrote:
> On Tue, Apr 21, 2015 at 08:10:44AM -0700, Jim Davis wrote:
> > Building with the attached random configuration file,
> >
> > ERROR: "__divdi3" [net/ceph/libceph.ko] undefined!
>
> Commit 7321f19d ("crush: straw2 bucket type with an efficient 64-bit crush_ln()").
>
> + draw = ln / w;
>
> where 'ln' is 64 bit.
>
> Some other oddies in that patch, such as
>
> +#if defined(__linux__)
> +#include <linux/types.h>
> +#elif defined(__FreeBSD__)
> +#include <sys/types.h>
> +#endif
>
> and lots of coding style violations.
Thanks for the report--we'll fix it up!
sage
On Tue, Apr 21, 2015 at 7:21 PM, Sage Weil <[email protected]> wrote:
> On Tue, 21 Apr 2015, Guenter Roeck wrote:
>> On Tue, Apr 21, 2015 at 08:10:44AM -0700, Jim Davis wrote:
>> > Building with the attached random configuration file,
>> >
>> > ERROR: "__divdi3" [net/ceph/libceph.ko] undefined!
>>
>> Commit 7321f19d ("crush: straw2 bucket type with an efficient 64-bit crush_ln()").
>>
>> + draw = ln / w;
>>
>> where 'ln' is 64 bit.
>>
>> Some other oddies in that patch, such as
>>
>> +#if defined(__linux__)
>> +#include <linux/types.h>
>> +#elif defined(__FreeBSD__)
>> +#include <sys/types.h>
>> +#endif
>>
>> and lots of coding style violations.
>
> Thanks for the report--we'll fix it up!
Fixed in ceph-client/master, should make it to linux-next tomorrow.
Thanks,
Ilya