Re: Next 20190621: fails to link f2fs in x86-32

From: Pavel Machek
Date: Sat Jun 22 2019 - 13:51:34 EST


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?
> >
> > 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.

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
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: Digital signature