]> www.infradead.org Git - users/jedix/linux-maple.git/commit
uek-rpm: configs: Don't set HAVE_FENTRY on OL6 builds.
authorTodd Vierling <todd.vierling@oracle.com>
Fri, 9 Feb 2018 20:34:50 +0000 (15:34 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Mon, 12 Feb 2018 18:07:05 +0000 (10:07 -0800)
commit7c52874b38b025f8df44fa3124f4b613b4ed345f
tree363253eb6d6ab1995b5d63b97b3ba5428f17d8a9
parent26a0cd21bb764f288f42f4040f3a41e8d7179b3a
uek-rpm: configs: Don't set HAVE_FENTRY on OL6 builds.

CONFIG_HAVE_FENTRY turns on a *conditional* addition of compile time
flags in the top level Makefile (-mfentry -DCC_USES_FENTRY). The OL6
stock gcc-4.4 code doesn't support this, but gcc 4.8+ does. This
changes the way function trace preambles work on the newer compilers,
which breaks kABI.

To do this effectively, the option needs to be removed from
arch/x86/Kconfig ("select HAVE_FENTRY if X86_64") so that it can be
set optionally in the RPM build configs. The OL7 configs properly
contain CONFIG_HAVE_FENTRY=y, so those will continue to build the same.

Orabug: 27509351
Signed-off-by: Todd Vierling <todd.vierling@oracle.com>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
arch/x86/Kconfig
uek-rpm/ol6/config-x86_64
uek-rpm/ol6/config-x86_64-debug