Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 599376 - sys-kernel/hardened-sources-4.8.6: error: redefinition of ‘clear_free_pages’
Summary: sys-kernel/hardened-sources-4.8.6: error: redefinition of ‘clear_free_pages’
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 09:52 UTC by Toralf Förster
Modified: 2016-11-18 22:36 UTC (History)
2 users (show)

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


Attachments
.config (.config,100.25 KB, text/x-mpsub)
2016-11-10 10:02 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2016-11-10 09:52:49 UTC
CC      kernel/power/snapshot.o
kernel/power/snapshot.c:1157:6: error: redefinition of ‘clear_free_pages’
 void clear_free_pages(void)
      ^
kernel/power/snapshot.c:1023:6: note: previous definition of ‘clear_free_pages’ was here
 void clear_free_pages(void)
      ^
scripts/Makefile.build:289: recipe for target 'kernel/power/snapshot.o' failed
make[2]: *** [kernel/power/snapshot.o] Error 1
scripts/Makefile.build:440: recipe for target 'kernel/power' failed
make[1]: *** [kernel/power] Error 2
Makefile:972: recipe for target 'kernel' failed
make: *** [kernel] Error 2
Comment 1 Toralf Förster gentoo-dev 2016-11-10 10:02:06 UTC
Created attachment 452880 [details]
.config
Comment 2 Toralf Förster gentoo-dev 2016-11-12 07:53:48 UTC
fixed in 4.8.7
Comment 3 Toralf Förster gentoo-dev 2016-11-12 08:32:16 UTC
gah - not fixed with 4.8.7
Comment 4 Toralf Förster gentoo-dev 2016-11-12 13:00:51 UTC
upstream:


Nope, bad git merge.  Will fix in the next version, weird that I didn't
run into this error!

-Brad
Comment 5 Anthony Basile gentoo-dev 2016-11-12 13:57:01 UTC
This looks like bug #599404 but in a different file withing kernel/power.  It may in fact be the same bug.
Comment 6 Manuel Rüger (RETIRED) gentoo-dev 2016-11-14 11:24:42 UTC
*** Bug 599404 has been marked as a duplicate of this bug. ***
Comment 7 Anthony Basile gentoo-dev 2016-11-16 11:49:59 UTC
can people please try 4.8.8 which I just put on the tree.

for upstream 4.8.8 = grsecurity-3.1-4.8.8-201611150756
Comment 8 Manuel Rüger (RETIRED) gentoo-dev 2016-11-16 12:53:11 UTC
I can't reproduce with 4.8.8
Comment 9 Toralf Förster gentoo-dev 2016-11-16 12:55:19 UTC
(In reply to Anthony Basile from comment #7)
compiles and boots fine at affected system
Comment 10 Frédéric Barthelery 2016-11-18 19:15:27 UTC
Fixed in hardened-sources-4.8.8
Comment 11 Manuel Rüger (RETIRED) gentoo-dev 2016-11-18 22:36:43 UTC
Marking it as resolved as three people have confirmed the fix.