Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: couldn't parse 'bool $(as-instr, tpause %ecx)': unknown tokens in line - Newer RHEL Kernels #111

Open
chrisbarbeau opened this issue Nov 21, 2021 · 1 comment

Comments

@chrisbarbeau
Copy link

kconfiglib is throwing a consistent error, pictured below, when attempting to parse newer RHEL, CentOS 8, and CentOS 8 Stream Kconfigs.

image2

I have been able to isolate this error. It is caused by the macro within the file [Kernel Source]/arch/x86/Kconfig.cpu, pictured directly below on line 479. The specific config is AS_TPAUSE.

image3

To reproduce this error, obtain recent kernel source code which includes the AS_TPAUSE configuration in Kconfig. An example of this is the most recent CentOS 8 Stream kernel source. Then appropriately set your environment variables for kconfiglib and attempt to initialize a kconfiglib object as pictured below.

image1

It appears that kconfiglib can neither handle nor support Kconfigs with AS_TPAUSE at this time.

Thank you for your assistance!

@Scronkfinkle
Copy link

+1 we're also running into this while attempting to build a RHEL 8.6 kernel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants