HomeFreeBSD

Disable PIE for MIPS ubldr

Description

Disable PIE for MIPS ubldr

When performing buildworld for MIPS with PIE enabled, the build fails
with "position-independent code requires '-mabicalls'" message.
-mno-abicalls and -fno-pic flags are explicitly set in MIPS ubldr
makefile, so to work around this problem, set MK_PIE=no for MIPS
ubldr.

Submitted by: Dawid Gorecki <dgr@semihalf.com>
Reviewed by: emaste
Obtained from: Semihalf
Sponsored by: Stormshield
Differential Revision: https://reviews.freebsd.org/D28370

(cherry picked from commit cd992885bcdfb3c2c6b761f5c3bf1c86949acdc3)

Details

Provenance
mwAuthored on Feb 12 2021, 3:41 PM
kevansCommitted on Oct 8 2021, 8:14 AM
Reviewer
emaste
Differential Revision
D28370: Disable PIE for MIPS u-boot-loader.
Parents
rG9da7cdecf101: Disable PIE for powerpc bootloaders.
Branches
Unknown
Tags
Unknown