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

Details

Provenance
mwAuthored on Feb 12 2021, 3:41 PM
Reviewer
emaste
Differential Revision
D28370: Disable PIE for MIPS u-boot-loader.
Parents
R10:6dd69f0064f1: iflib: introduce isc_dma_width
Branches
Unknown
Tags
Unknown