From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 00/23] Fix numerous defconfig build failures
Date: Fri, 30 Mar 2018 21:29:50 +0200 [thread overview]
Message-ID: <871sg14b0x.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <20180304213137.24681-1-thomas.petazzoni@bootlin.com> (Thomas Petazzoni's message of "Sun, 4 Mar 2018 22:31:14 +0100")
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@bootlin.com> writes:
> Hello,
> This commit fixes a significant number of defconfig build failures:
> - Some defconfigs have a Linux kernel that needs openssl on the
> host. This requires adding a mechanism to add host-openssl as a
> dependency of the linux package. This is done by introducing
> BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL in patch 1.
> Then, numerous defconfigs are fixed to use
> BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL: patches 6 to 13.
> The qemu_x86_defconfig and qemu_x86_64_defconfig are however
> changed in a different way: by removing wireless support, which is
> the reason why host-openssl becomes necessary in recent kernel
> versions. Since Qemu doesn't emulate a wireless interface, it
> didn't make much sense to have this additional dependency. See
> patch 4 and 5.
> For all other defconfigs, we erred on the safe side, and kept the
> configuration as-is, and simply added
> BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL.
> - Some defconfigs have a Linux kernel that needs libelf on the
> host. Like host-openssl, we added a new option
> BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF. See patch 2.
> In practice, only qemu_x86_64_defconfig needed libelf and the host,
> and instead of bringing this dependency, we have disabled the ORC
> Unwinder from the kernel defconfig. See patch 4.
> Therefore, there are no in-tree defconfig that uses
> BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF.
> - In order to make the host openssl and host libelf usable by the
> Linux kernel build system, we had to ensure that HOST_CFLAGS and
> HOST_LDFLAGS were properly taken into account. This is done in
> patch 3.
> - Some defconfigs have a U-Boot that needs dtc on the host. For
> these, the fix is simple: add BR2_TARGET_UBOOT_NEEDS_DTC=y in the
> defconfig. Patches 14 to 22.
> - Finally, one defconfig, ts4900_defconfig, had a separate issue: it
> wasn't explicitly specifying a kernel version, causing a mismatch
> with the selected kernel headers version.
> Best regards,
> Thomas
> Thomas Petazzoni (23):
> linux: add BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL
> linux: add BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF
> linux: fix passing of host CFLAGS and LDFLAGS
> configs/qemu_x86_64_defconfig: remove kernel options that need
> openssl/libelf
> configs/qemu_x86_defconfig: remove kernel options that need openssl
> configs/orangepi_zero: needs host-openssl for the Linux kernel build
> configs/orangepi_pc_plus: needs host-openssl for the Linux kernel
> build
> configs/snps_archs38_axs103: needs host-openssl for the Linux kernel
> build
> configs/snps_archs38_vdk: needs host-openssl for the Linux kernel
> build
> configs/mx53loco: needs host-openssl for the Linux kernel build
> configs/imx6-sabresd: needs host-openssl for the Linux kernel build
> configs/snps_arc700_axs101: needs host-openssl for the Linux kernel
> build
> configs/solidrun_macchiatobin_mainline: needs host-openssl for the
> Linux kernel build
> configs/freescale_imx6qsabreauto: U-Boot needs host-dtc
> configs/solidrun_macchiatobin_marvell: U-Boot needs host-dtc
> configs/freescale_imx6sololiteevk: U-Boot needs host-dtc
> configs/freescale_imx6dlsabresd: U-Boot needs host-dtc
> configs/freescale_imx6dlsabreauto: U-Boot needs host-dtc
> configs/freescale_imx7dsabresd: U-Boot needs host-dtc
> configs/imx6ulevk: U-Boot needs host-dtc
> configs/freescale_imx6qsabresd: U-Boot needs host-dtc
> configs/freescale_imx6sxsabresd: U-Boot needs host-dtc
> configs/ts4900: explicitly specify Linux kernel version
Committed all of these to 2018.02.x, thanks.
--
Bye, Peter Korsgaard
prev parent reply other threads:[~2018-03-30 19:29 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-04 21:31 [Buildroot] [PATCH 00/23] Fix numerous defconfig build failures Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 01/23] linux: add BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 02/23] linux: add BR2_LINUX_KERNEL_NEEDS_HOST_LIBELF Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 03/23] linux: fix passing of host CFLAGS and LDFLAGS Thomas Petazzoni
2018-03-06 1:15 ` Frank Hunleth
2018-03-04 21:31 ` [Buildroot] [PATCH 04/23] configs/qemu_x86_64_defconfig: remove kernel options that need openssl/libelf Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 05/23] configs/qemu_x86_defconfig: remove kernel options that need openssl Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 06/23] configs/orangepi_zero: needs host-openssl for the Linux kernel build Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 07/23] configs/orangepi_pc_plus: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 08/23] configs/snps_archs38_axs103: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 09/23] configs/snps_archs38_vdk: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 10/23] configs/mx53loco: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 11/23] configs/imx6-sabresd: " Thomas Petazzoni
2018-03-04 23:24 ` Fabio Estevam
2018-03-05 7:57 ` Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 12/23] configs/snps_arc700_axs101: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 13/23] configs/solidrun_macchiatobin_mainline: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 14/23] configs/freescale_imx6qsabreauto: U-Boot needs host-dtc Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 15/23] configs/solidrun_macchiatobin_marvell: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 16/23] configs/freescale_imx6sololiteevk: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 17/23] configs/freescale_imx6dlsabresd: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 18/23] configs/freescale_imx6dlsabreauto: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 19/23] configs/freescale_imx7dsabresd: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 20/23] configs/imx6ulevk: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 21/23] configs/freescale_imx6qsabresd: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 22/23] configs/freescale_imx6sxsabresd: " Thomas Petazzoni
2018-03-04 21:31 ` [Buildroot] [PATCH 23/23] configs/ts4900: explicitly specify Linux kernel version Thomas Petazzoni
2018-03-06 14:32 ` [Buildroot] [PATCH 00/23] Fix numerous defconfig build failures Peter Korsgaard
2018-03-30 19:29 ` Peter Korsgaard [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871sg14b0x.fsf@dell.be.48ers.dk \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox