Next 20190620: fails to compile in netfilter on x86-32
Hi!
I get this during compilation:
CC net/netfilter/core.o
In file included from net/netfilter/core.c:19:0:
./include/linux/netfilter_ipv6.h: In function ‘nf_ipv6_cookie_init_sequence’:
./include/linux/netfilter_ipv6.h:174:2: error: implicit declaration of function ‘__cookie_v6_init_sequence’ [-Werror=implicit-function-declaration]
return __cookie_v6_init_sequence(iph, th, mssp);
^
./include/linux/netfilter_ipv6.h: In function ‘nf_cookie_v6_check’:
./include/linux/netfilter_ipv6.h:189:2: error: implicit declaration of function ‘__cookie_v6_check’ [-Werror=implicit-function-declaration]
return __cookie_v6_check(iph, th, cookie);
^
cc1: some warnings being treated as errors scripts/Makefile.build:278: recipe for target
'net/netfilter/core.o' failed
make[2]: *** [net/netfilter/core.o] Error 1 scripts/Makefile.build:498: recipe for target 'net/netfilter' failed make[1]: *** [net/netfilter] Error 2
Is it known?
Best regards,
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Hi Pavel,
Quoted 26 lines · On Fri, 21 Jun 2019 13:03:11 +0200 Pavel Machek <[email protected]> wrote:
I get this during compilation:
CC
net/netfilter/core.o
In file included fromnet/netfilter/core.c:19:0:
./include/linux/netfilter_ipv6.h: In function ‘nf_ipv6_cookie_init_sequence’:
./include/linux/netfilter_ipv6.h:174:2: error: implicit declaration of function ‘__cookie_v6_init_sequence’ [-Werror=implicit-function-declaration]return __cookie_v6_init_sequence(iph, th, mssp); ^ ./include/linux/netfilter_ipv6.h: In function‘nf_cookie_v6_check’:
./include/linux/netfilter_ipv6.h:189:2: error: implicit declaration of function ‘__cookie_v6_check’ [-Werror=implicit-function-declaration]
return__cookie_v6_check(iph, th, cookie);
^
cc1: some warnings being treated as errorsscripts/Makefile.build:278: recipe for target
'net/netfilter/core.o' failed
make[2]: *** [net/netfilter/core.o] Error 1scripts/Makefile.build:498: recipe for target 'net/netfilter' failed make[1]: *** [net/netfilter] Error 2
Quoted 1 line
Is it known?
Yes, and should be fixed in next-20190621.
Signature · 2 lines
Cheers, Stephen Rothwell
Re: Next 20190621: fails to link f2fs in x86-32
HI!
Quoted 27 lines · On Fri, 21 Jun 2019 13:03:11 +0200 Pavel Machek <[email protected]> wrote:
Quoted 26 lines
I get this during compilation:
CC
net/netfilter/core.o
In file included fromnet/netfilter/core.c:19:0:
./include/linux/netfilter_ipv6.h: In function ‘nf_ipv6_cookie_init_sequence’:
./include/linux/netfilter_ipv6.h:174:2: error: implicit declaration of function ‘__cookie_v6_init_sequence’ [-Werror=implicit-function-declaration]return __cookie_v6_init_sequence(iph, th, mssp); ^ ./include/linux/netfilter_ipv6.h: In function‘nf_cookie_v6_check’:
./include/linux/netfilter_ipv6.h:189:2: error: implicit declaration of function ‘__cookie_v6_check’ [-Werror=implicit-function-declaration]
return__cookie_v6_check(iph, th, cookie);
^
cc1: some warnings being treated as errorsscripts/Makefile.build:278: recipe for target
'net/netfilter/core.o' failed
make[2]: *** [net/netfilter/core.o] Error 1scripts/Makefile.build:498: recipe for target 'net/netfilter' failed make[1]: *** [net/netfilter] Error 2
Quoted 3 lines
Quoted 1 line
Is it known?
Yes, and should be fixed in next-20190621.
Ok, that one is indeed gone. Now I'm getting failure in f2fs:
ld: fs/f2fs/gc.o: in function `f2fs_resize_fs':
gc.c:(.text+0x3a91): undefined reference to `__umoddi3'
ld: gc.c:(.text+0x3b70): undefined reference to `__udivdi3'
make: *** [Makefile:1052: vmlinux] Error 1
I'll try compiling on on older gcc.
Best regards,
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Re: Next 20190621: fails to link f2fs in x86-32
Hi!
Quoted 29 lines
Quoted 25 lines
Quoted 25 lines
I get this during compilation:
CC
net/netfilter/core.o
In file included fromnet/netfilter/core.c:19:0:
./include/linux/netfilter_ipv6.h: In function ‘nf_ipv6_cookie_init_sequence’:
./include/linux/netfilter_ipv6.h:174:2: error: implicit declaration of function ‘__cookie_v6_init_sequence’ [-Werror=implicit-function-declaration]return __cookie_v6_init_sequence(iph, th, mssp); ^ ./include/linux/netfilter_ipv6.h: In function‘nf_cookie_v6_check’:
./include/linux/netfilter_ipv6.h:189:2: error: implicit declaration of function ‘__cookie_v6_check’ [-Werror=implicit-function-declaration]
return__cookie_v6_check(iph, th, cookie);
^
cc1: some warnings being treated as errorsscripts/Makefile.build:278: recipe for target
'net/netfilter/core.o' failed
make[2]: *** [net/netfilter/core.o] Error 1scripts/Makefile.build:498: recipe for target 'net/netfilter' failed make[1]: *** [net/netfilter] Error 2Quoted 3 lines
Quoted 1 line
Is it known?
Yes, and should be fixed in next-20190621.
Quoted 8 lines
Ok, that one is indeed gone. Now I'm getting failure in f2fs:
ld:
fs/f2fs/gc.o: in function `f2fs_resize_fs':
gc.c:(.text+0x3a91): undefined reference to `__umoddi3'
ld: gc.c:(.text+0x3b70): undefined reference to `__udivdi3'
make: *** [Makefile:1052: vmlinux] Error 1I'll try compiling on on older gcc.
Same result:
fs/f2fs/gc.o: In function `f2fs_resize_fs':
gc.c:(.text+0x3a62): undefined reference to __umoddi3' gc.c:(.text+0x3b5e): undefined reference to __udivdi3' Makefile:1052: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1
make took 12 minutes 8 seconds
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Re: Next 20190621: fails to link f2fs in x86-32
In reply to Pavel MachekHi all,
Quoted 5 lines · On Sat, 22 Jun 2019 19:49:45 +0200 Pavel Machek <[email protected]> wrote:
ld:
fs/f2fs/gc.o: in function `f2fs_resize_fs':
gc.c:(.text+0x3a91): undefined reference to `__umoddi3'
ld: gc.c:(.text+0x3b70): undefined reference to `__udivdi3'
make: *** [Makefile:1052: vmlinux] Error 1
This should be fixed in today's linux-next.
Signature · 2 lines
Cheers, Stephen Rothwell
Re: Next 20190621: fails to link f2fs in x86-32
Quoted 10 lines · Stephen Rothwell
Hi all,
Quoted 5 lines · On Sat, 22 Jun 2019 19:49:45 +0200 Pavel Machek <[email protected]> wrote:
ld:
fs/f2fs/gc.o: in function `f2fs_resize_fs':
gc.c:(.text+0x3a91): undefined reference to `__umoddi3'
ld: gc.c:(.text+0x3b70): undefined reference to `__udivdi3'
make: *** [Makefile:1052: vmlinux] Error 1This should be fixed in today's linux-next.
Thanks, I tested 5.2.0-rc6-next-20190627+ and that seems to work here.
Best regards,
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html