bootlin / toolchains-builder

http://toolchains.free-electrons.com
89 stars 27 forks source link

aarch64-musl-bleeding-edge: use kernel headers >= 5.0 #28

Closed RomainNaour closed 4 years ago

RomainNaour commented 4 years ago

Building gdb 8.x with a musl toolchain for aarch64 need a patch from the kernel Linux 5.0-rc1 [1].

Add an exception for aarch64-musl-bleeding-edge toolchain to ignore the error when the kernel-headers provided by version/bleeding-edge.config is redefined by extra/aarch64-musl-bleeding-edge.config.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/commit/?id=9966a05c7b80f075f2bc7e48dbb108d3f2927234

Signed-off-by: Romain Naour romain.naour@gmail.com

tpetazzoni commented 4 years ago

Having to use 5.4 kernel headers makes this toolchain really too bleeding edge IMO. I'd prefer to use 4.19 + that one single patch you pointed to.

tpetazzoni commented 4 years ago

I have solved this with https://github.com/bootlin/buildroot-toolchains/commit/f916d783315f435aa7707ea152ea6fc287e01de4 which allows to use 4.19 kernel headers for AArch64/musl configurations. Thanks!