Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 449374 - hardened-sources-3.7.0 ERROR: Failed to compile the "modules" target: conflicting types for 'fhash' in aoecmd.c and gracl.h
Summary: hardened-sources-3.7.0 ERROR: Failed to compile the "modules" target: conflic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Kernel Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-30 23:50 UTC by Josef
Modified: 2013-01-22 13:32 UTC (History)
3 users (show)

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


Attachments
.config that failed (.config,86.09 KB, text/plain)
2013-01-04 16:06 UTC, Michael Weber (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josef 2012-12-30 23:50:05 UTC
* ERROR: Failed to compile the "modules" target...
[...]
*  CC [M]  drivers/block/aoe/aoecmd.o
*drivers/block/aoe/aoecmd.c:271:1: error: conflicting types for 'fhash'
*include/linux/gracl.h:273:1: note: previous definition of 'fhash' was here
*make[2]: *** [drivers/block/aoe/aoecmd.o] Error 1
*make[1]: *** [drivers/block/aoe] Error 2
*make: *** [drivers] Error 2

Seems to be fixed in the latest patch, according to http://forums.grsecurity.net/viewtopic.php?f=3&t=3179
Comment 1 Josef 2012-12-31 01:13:45 UTC
sys-kernel/hardened-sources-3.7.1-r1 modules compile well :-)
Comment 2 Michael Weber (RETIRED) gentoo-dev 2013-01-04 16:06:00 UTC
Created attachment 334432 [details]
.config that failed

I can confirm this problem.

# gcc-config -l
 [1] x86_64-pc-linux-gnu-4.5.4 *
 [2] x86_64-pc-linux-gnu-4.5.4-hardenednopie
 [3] x86_64-pc-linux-gnu-4.5.4-hardenednopiessp
 [4] x86_64-pc-linux-gnu-4.5.4-hardenednossp
 [5] x86_64-pc-linux-gnu-4.5.4-vanilla
 [6] x86_64-pc-linux-gnu-4.6.3
 [7] x86_64-pc-linux-gnu-4.6.3-hardenednopie
 [8] x86_64-pc-linux-gnu-4.6.3-hardenednopiessp
 [9] x86_64-pc-linux-gnu-4.6.3-hardenednossp
 [10] x86_64-pc-linux-gnu-4.6.3-vanilla
Comment 3 PaX Team 2013-01-18 21:54:29 UTC
this should be fixed in the latest grsec, can you confirm it?