netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Build failure with Linux 4.13+: ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined!
@ 2017-09-09  8:37 Paul Menzel
  2017-09-09 19:22 ` [netfilter-core] " Pablo Neira Ayuso
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Menzel @ 2017-09-09  8:37 UTC (permalink / raw)
  To: netfilter-devel, coreteam; +Cc: Maciej Żenczykowski

Dear Linux folks,


Building the latest master branch from Linus, commit 0e271fd59fe9
(Merge tag 'platform-drivers-x86-v4.14-1' of
git://git.infradead.org/linux-platform-drivers-x86) fails with the error
below. The same development environment worked up to the release of 
Linux
4.13.

```
[…]
   XZKERN  arch/x86/boot/compressed/vmlinux.bin.xz
   CC      arch/x86/boot/compressed/misc.o
ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined!
scripts/Makefile.modpost:91: recipe for target '__modpost' failed
make[3]: *** [__modpost] Error 1
Makefile:1216: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
make[2]: *** Waiting for unfinished jobs....
   MKPIGGY arch/x86/boot/compressed/piggy.S
   AS      arch/x86/boot/compressed/piggy.o
   DATAREL arch/x86/boot/compressed/vmlinux
   LD      arch/x86/boot/compressed/vmlinux
   ZOFFSET arch/x86/boot/zoffset.h
   OBJCOPY arch/x86/boot/vmlinux.bin
   AS      arch/x86/boot/header.o
   LD      arch/x86/boot/setup.elf
   OBJCOPY arch/x86/boot/setup.bin
   BUILD   arch/x86/boot/bzImage
Setup is 17340 bytes (padded to 17408 bytes).
System is 3817 kB
CRC dcf6a07b
Kernel: arch/x86/boot/bzImage is ready  (#124)
scripts/package/Makefile:91: recipe for target 'deb-pkg' failed
make[1]: *** [deb-pkg] Error 2
Makefile:1349: recipe for target 'deb-pkg' failed
make: *** [deb-pkg] Error 2

real    8m28.838s
user    209m25.359s
sys     17m19.136s
```

The same error is mentioned in the review of a patch in September 2016 
[1],
and, indeed, I am build *for* a 32-bit system, `CONFIG_X86_32=y`, *on* a 
64-bit system.


Kind regards,

Paul


[1] https://patchwork.ozlabs.org/patch/674586/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [netfilter-core] Build failure with Linux 4.13+: ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined!
  2017-09-09  8:37 Build failure with Linux 4.13+: ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined! Paul Menzel
@ 2017-09-09 19:22 ` Pablo Neira Ayuso
  2017-09-10  7:06   ` Paul Menzel
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo Neira Ayuso @ 2017-09-09 19:22 UTC (permalink / raw)
  To: Paul Menzel; +Cc: netfilter-devel, coreteam, Maciej Żenczykowski

On Sat, Sep 09, 2017 at 10:37:25AM +0200, Paul Menzel wrote:
> Dear Linux folks,
> 
> 
> Building the latest master branch from Linus, commit 0e271fd59fe9
> (Merge tag 'platform-drivers-x86-v4.14-1' of
> git://git.infradead.org/linux-platform-drivers-x86) fails with the error
> below. The same development environment worked up to the release of Linux
> 4.13.
> 
> ```
> […]
>   XZKERN  arch/x86/boot/compressed/vmlinux.bin.xz
>   CC      arch/x86/boot/compressed/misc.o
> ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined!

https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git/commit/?id=90c4ae4e2c1da9f1eaf846136861af43d4c1ff34

This patch is already in David S. Miller's net tree, so it should hit
upstream soon.

Let me now if you still experience problems after it, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [netfilter-core] Build failure with Linux 4.13+: ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined!
  2017-09-09 19:22 ` [netfilter-core] " Pablo Neira Ayuso
@ 2017-09-10  7:06   ` Paul Menzel
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Menzel @ 2017-09-10  7:06 UTC (permalink / raw)
  To: Pablo Neira Ayuso; +Cc: netfilter-devel, coreteam, Maciej Żenczykowski

Dear Pablo,


On 2017-09-09 21:22, Pablo Neira Ayuso wrote:
> On Sat, Sep 09, 2017 at 10:37:25AM +0200, Paul Menzel wrote:

>> Building the latest master branch from Linus, commit 0e271fd59fe9
>> (Merge tag 'platform-drivers-x86-v4.14-1' of
>> git://git.infradead.org/linux-platform-drivers-x86) fails with the 
>> error
>> below. The same development environment worked up to the release of 
>> Linux
>> 4.13.
>> 
>> ```
>> […]
>>   XZKERN  arch/x86/boot/compressed/vmlinux.bin.xz
>>   CC      arch/x86/boot/compressed/misc.o
>> ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined!
> 
> https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git/commit/?id=90c4ae4e2c1da9f1eaf846136861af43d4c1ff34
> 
> This patch is already in David S. Miller's net tree, so it should hit
> upstream soon.
> 
> Let me now if you still experience problems after it, thanks.

Thank you for your quick reply. When I read it, Linus had already pulled 
this fix in, and the build error is gone now.


Kind regards,

Paul

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-09-10  7:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-09  8:37 Build failure with Linux 4.13+: ERROR: "__udivdi3" [net/netfilter/xt_hashlimit.ko] undefined! Paul Menzel
2017-09-09 19:22 ` [netfilter-core] " Pablo Neira Ayuso
2017-09-10  7:06   ` Paul Menzel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).