linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Next 20190620: fails to compile in netfilter on x86-32
@ 2019-06-21 11:03 Pavel Machek
  2019-06-21 11:46 ` Stephen Rothwell
  0 siblings, 1 reply; 6+ messages in thread
From: Pavel Machek @ 2019-06-21 11:03 UTC (permalink / raw)
  To: pablo, kadlec, fw, netfilter-devel, coreteam, kernel list, sfr

[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: Next 20190620: fails to compile in netfilter on x86-32
  2019-06-21 11:03 Next 20190620: fails to compile in netfilter on x86-32 Pavel Machek
@ 2019-06-21 11:46 ` Stephen Rothwell
  2019-06-22 17:49   ` Next 20190621: fails to link f2fs in x86-32 Pavel Machek
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2019-06-21 11:46 UTC (permalink / raw)
  To: Pavel Machek; +Cc: pablo, kadlec, fw, netfilter-devel, coreteam, kernel list

[-- Attachment #1: Type: text/plain, Size: 1252 bytes --]

Hi Pavel,

On Fri, 21 Jun 2019 13:03:11 +0200 Pavel Machek <pavel@ucw.cz> wrote:
>
> 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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: Next 20190621: fails to link f2fs in x86-32
  2019-06-21 11:46 ` Stephen Rothwell
@ 2019-06-22 17:49   ` Pavel Machek
  2019-06-22 17:51     ` Pavel Machek
  2019-06-24  0:20     ` Stephen Rothwell
  0 siblings, 2 replies; 6+ messages in thread
From: Pavel Machek @ 2019-06-22 17:49 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: kernel list, jaegeuk, yuchao0, linux-f2fs-devel

[-- Attachment #1: Type: text/plain, Size: 1763 bytes --]

HI!

> On Fri, 21 Jun 2019 13:03:11 +0200 Pavel Machek <pavel@ucw.cz> wrote:
> >
> > 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.

Best regards,
									Pavel

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: Next 20190621: fails to link f2fs in x86-32
  2019-06-22 17:49   ` Next 20190621: fails to link f2fs in x86-32 Pavel Machek
@ 2019-06-22 17:51     ` Pavel Machek
  2019-06-24  0:20     ` Stephen Rothwell
  1 sibling, 0 replies; 6+ messages in thread
From: Pavel Machek @ 2019-06-22 17:51 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: kernel list, jaegeuk, yuchao0, linux-f2fs-devel

[-- Attachment #1: Type: text/plain, Size: 2031 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

* Re: Next 20190621: fails to link f2fs in x86-32
  2019-06-22 17:49   ` Next 20190621: fails to link f2fs in x86-32 Pavel Machek
  2019-06-22 17:51     ` Pavel Machek
@ 2019-06-24  0:20     ` Stephen Rothwell
  2019-06-28 10:10       ` Pavel Machek
  1 sibling, 1 reply; 6+ messages in thread
From: Stephen Rothwell @ 2019-06-24  0:20 UTC (permalink / raw)
  To: Pavel Machek; +Cc: kernel list, jaegeuk, yuchao0, linux-f2fs-devel, Qiuyang Sun

[-- Attachment #1: Type: text/plain, Size: 385 bytes --]

Hi all,

On Sat, 22 Jun 2019 19:49:45 +0200 Pavel Machek <pavel@ucw.cz> 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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

* Re: Next 20190621: fails to link f2fs in x86-32
  2019-06-24  0:20     ` Stephen Rothwell
@ 2019-06-28 10:10       ` Pavel Machek
  0 siblings, 0 replies; 6+ messages in thread
From: Pavel Machek @ 2019-06-28 10:10 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: kernel list, jaegeuk, yuchao0, linux-f2fs-devel, Qiuyang Sun

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

On Mon 2019-06-24 10:20:52, Stephen Rothwell wrote:
> Hi all,
> 
> On Sat, 22 Jun 2019 19:49:45 +0200 Pavel Machek <pavel@ucw.cz> 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.

Thanks, I tested 5.2.0-rc6-next-20190627+ and that seems to work here.

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

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

end of thread, other threads:[~2019-06-28 10:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-21 11:03 Next 20190620: fails to compile in netfilter on x86-32 Pavel Machek
2019-06-21 11:46 ` Stephen Rothwell
2019-06-22 17:49   ` Next 20190621: fails to link f2fs in x86-32 Pavel Machek
2019-06-22 17:51     ` Pavel Machek
2019-06-24  0:20     ` Stephen Rothwell
2019-06-28 10:10       ` Pavel Machek

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