Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 512416 - sys-kernel/hardened-sources-3.13.10 failed to build: undefined reference to `ip_tunnel_get_stats64'
Summary: sys-kernel/hardened-sources-3.13.10 failed to build: undefined reference to `...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://permalink.gmane.org/gmane.linu...
Whiteboard:
Keywords: NeedPatch, STABLE
Depends on:
Blocks:
 
Reported: 2014-06-04 15:21 UTC by Sergey Popov
Modified: 2014-06-29 21:13 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Popov 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 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 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