mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-10-01 06:21:56 -09:00
Config.in: disable PIC/PIE for microblaze
As reported by Toolchain-builder project [1], the system doesn't
boot when PIC/PIE is enabled for glibc based toolchain (the init
process hang).
Also, hardening features may not be wanted or possible for such
slow soft-core cpus [2].
Like for NiosII, disable BR2_PIC_PIE.
[1] https://gitlab.com/bootlin/toolchains-builder/-/pipelines/318038406
[2] http://lists.busybox.net/pipermail/buildroot/2021-June/312416.html
Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit d120f84460)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
0f725b8f6c
commit
30e038f22e
@@ -716,6 +716,8 @@ comment "Security Hardening Options"
|
|||||||
config BR2_PIC_PIE_ARCH_SUPPORTS
|
config BR2_PIC_PIE_ARCH_SUPPORTS
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
# Microblaze glibc toolchains don't work with PIC/PIE enabled
|
||||||
|
depends on !BR2_microblaze
|
||||||
# Nios2 toolchains produce non working binaries with -fPIC
|
# Nios2 toolchains produce non working binaries with -fPIC
|
||||||
depends on !BR2_nios2
|
depends on !BR2_nios2
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user