Skip to content

Mainline 6.8 build issues due to changes in multiple requirement. #47

@samveen

Description

@samveen

The 6.8 kernel series adds the following kconfig logic for pahole versioning:

root@x220:/build/linux-6.8# grep -A1 'config PAHOLE_HAS_LANG_EXCLUDE' lib/Kconfig.debug
config PAHOLE_HAS_LANG_EXCLUDE
	def_bool PAHOLE_VERSION >= 124

20.04 (focal) is at pahole version 1.21 from the dwarves(https://packages.ubuntu.com/focal-updates/dwarves) (thank you for that too, or we'd be stuck with 5.15 🤦 ), and this triggers the impossible config situation disabling rust as mentioned by you at https://bugs.launchpad.net/ubuntu/+source/rustc-1.62/+bug/1993183/comments/16 :

root@x220:/build/linux-6.8# grep "config RUST$" init/Kconfig -A7
config RUST
	bool "Rust support"
	depends on HAVE_RUST
	depends on RUST_IS_AVAILABLE
	depends on !GCC_PLUGINS
	depends on !RANDSTRUCT
	depends on !DEBUG_INFO_BTF || PAHOLE_HAS_LANG_EXCLUDE
	select CONSTRUCTORS

This triggers invalidating the debian control changes implemented at

sed -i -re 's/dwarves \[/dwarves (>=1.21) \[/g' debian.master/control.stub.in

I have not had the chance to see when this change was introduced into the kernel, unfortunately.

Would you have the bandwidth to see if back-porting dwarves or pahole from mantic Jammy (version 1.25) to focal is possible?

EDIT:
The list of versions of packages for Linux-6.8 keeps getting larger:

  • pahole >=1.24 (jammy packaged source builds successfully on focal with only debian/changelog mod).
  • ld (i.e. binutils(binutils-x86-64-linux-gnu)) >= 2.40 (for zstd compressed debug sections).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions