2015-04-21 15:10:53

by Jim Davis

[permalink] [raw]
Subject: randconfig build error with next-20150421, in net/ceph

Building with the attached random configuration file,

ERROR: "__divdi3" [net/ceph/libceph.ko] undefined!


Attachments:
randconfig-1429626691.txt (93.82 kB)

2015-04-21 16:16:26

by Guenter Roeck

[permalink] [raw]
Subject: Re: randconfig build error with next-20150421, in net/ceph

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

2015-04-21 16:22:14

by Sage Weil

[permalink] [raw]
Subject: Re: randconfig build error with next-20150421, in net/ceph

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

2015-04-21 16:26:14

by Ilya Dryomov

[permalink] [raw]
Subject: Re: randconfig build error with next-20150421, in net/ceph

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