I'm trying to build the latest Xen kernel (from git), and I'm running into problems with their new(?) use of Kconfig to configure it. It seems one can enable or set options by putting values in the environment using a variable named after the config option, but one cannot seem to disable options set by default (or via configuration features) in the same way. (The default build now needs manual input, e.g. if you don't set at least CONFIG_NR_CPUS in the environment!) The INSTALL file does mention only certain config options are actually configurable, though they suggest setting XEN_CONFIG_EXPERT=y will enable anything to be configured manuall, but still it doesn't work for me for the specific option(s) I'm trying to control. Does anyone here know how to futz with Kconfig? (and to do so without having to use "make menuconfig"?) The fundamental reason I have to disable default options though is because the build for x86_64, when using a new enough toolchain, uses ENDBR64 instructions does some checks for ENDBR* instructions, and it finds a bunch, which is odd because it looks like they actually should be there for an x86_64 build! check-endbr.sh xen-syms Fail: Found 263 endb32, nop poison, or embedded endbr64 instructions See the xen-syms target in arch/x86/Makefile. My initial workaround is to simply try to turn off the CONFIG_XEN_IBT option (and maybe CONFIG_XEN_SHSTK as well) (my current CPUs won't support this feature (CET) anyway). Alternately I have to figure out why I'm getting the error above when apparently nobody else does! -- Greg A. Woods <gwoods%acm.org@localhost> Kelowna, BC +1 250 762-7675 RoboHack <woods%robohack.ca@localhost> Planix, Inc. <woods%planix.com@localhost> Avoncote Farms <woods%avoncote.ca@localhost>
Attachment:
pgpWOWIo7sMWh.pgp
Description: OpenPGP Digital Signature