Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y
authorAlice Ferrazzi <alicef@gentoo.org>
Thu, 18 Jan 2018 15:41:17 +0000 (15:41 +0000)
committerAlice Ferrazzi <alicef@gentoo.org>
Wed, 7 Feb 2018 07:36:20 +0000 (07:36 +0000)
New 4.14 kernel is using CONFIG_UNWINDER_ORC=y by default
but having USE="minimal" is removing virtual/libelf,
this is breaking the Kernel compilation.
Closes: https://github.com/gentoo/gentoo/pull/6898

eclass/kernel-2.eclass

index a42d5f5ec24bc2ae25196795a94cffb018aca29e..6ffbd37f300e3c16c878c56945e7a367eceefc19 100644 (file)
@@ -606,6 +606,7 @@ if [[ ${ETYPE} == sources ]]; then
                sys-devel/make
                dev-lang/perl
                sys-devel/bc
+               virtual/libelf
        )"
 
        SLOT="${PVR}"