Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 512416

Summary: sys-kernel/hardened-sources-3.13.10 failed to build: undefined reference to `ip_tunnel_get_stats64'
Product: Gentoo Linux Reporter: Sergey Popov <pinkbyte>
Component: HardenedAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED OBSOLETE    
Severity: normal CC: blueness, hardened-kernel+disabled, pageexec, spender
Priority: Normal Keywords: NeedPatch, STABLE
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://permalink.gmane.org/gmane.linux.kernel/1651771
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey Popov (RETIRED) gentoo-dev 2014-06-04 15:21:15 UTC
In short - build failure caused my missing function ip_tunnel_get_stats64

See URL for discussion about how to fix this properly

After applying patch, everything builds fine
Comment 1 Anthony Basile gentoo-dev 2014-06-04 15:58:37 UTC
Is this a problem in the latest hardened-sources?
Comment 2 Sergey Popov (RETIRED) gentoo-dev 2014-06-05 08:46:09 UTC
Well, it's not hardened issue itself.

As you can see, issue presents in some vanilla kernels too, i can not say in which versions.

hardened-sources-3.14.5 has ip_tunnel_get_stats64 in right place(in net/ipv4/ip_tunnel_core.c)

hardened-sources-3.13.10 has this function in net/ipv4/ip_tunnel.c, which is wrong.
Comment 3 Anthony Basile gentoo-dev 2014-06-09 19:20:02 UTC
@kernel team.  Is this a known issue in vanilla?
Comment 4 Mike Pagano gentoo-dev 2014-06-26 17:15:01 UTC
The 3.13 kernel branch is EOL and this is in 3.15.1. Is there somewhere else you want to see this patch?
Comment 5 Sergey Popov (RETIRED) gentoo-dev 2014-06-27 06:10:38 UTC
(In reply to Mike Pagano from comment #4)
> The 3.13 kernel branch is EOL and this is in 3.15.1. Is there somewhere else
> you want to see this patch?

Did not check other kernels. But if 3.13.10 will remain in STABLE as is now(e.g. broken), it's not good. Either fix it or drop it, please - your choice, as maintainer.

Latest stable(3.14.5-r2) builds fine(as patch was merged upstream)
Comment 6 Mike Pagano gentoo-dev 2014-06-29 21:13:17 UTC
3.13 no longer in tree