Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 496748 - sys-kernel/hardened-sources-3.12.6-r3 does not compile with KBUILD_OUTPUT
Summary: sys-kernel/hardened-sources-3.12.6-r3 does not compile with KBUILD_OUTPUT
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-02 10:29 UTC by Martin Väth
Modified: 2014-09-14 00:17 UTC (History)
1 user (show)

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


Attachments
kconfig (config,82.98 KB, text/plain)
2014-01-08 23:27 UTC, Martin Väth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2014-01-02 10:29:47 UTC
sys-kernel/hardened-sources-3.12.6-r3 fails to build the compiler plugins (in the very beginning) the error being that the plugin source files cannot be found.
With <=sys-kernel/hardened-sources-3.12.6-r2 there is no such problem.

I use a separate $KBUILD_OUTPUT directory for building, so I suppose there was some restructuring not honouring that the current directory can differ from $KERNEL_DIR.
Comment 1 Anthony Basile gentoo-dev 2014-01-08 21:24:39 UTC
Hi Martin, can you get my your kconfig file so I can reproduce.
Comment 2 Martin Väth 2014-01-08 23:27:16 UTC
Created attachment 367448 [details]
kconfig

With hardened-sources-3.12.6-r4 the compilation problem has vanished
(but the semaphore problem of bug 497140 has occured).

I upload the .config file anyway. (I just realize that I forgot to mention that I always use overlayfs patches, but I guess this should not be related with these two bugs.)

In case it plays a role: I am using gcc-4.8.2, binutils-2.23.2 [bfd linker], glibc-2.17 (the latter was perhaps glibc-2.16.0 when I tested last time.)