Page MenuHomeFreeBSD

Set correct lib32 MACHINE_ARCH for mips64el*.
ClosedPublic

Authored by jhb on Jan 3 2020, 9:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 28, 3:09 AM
Unknown Object (File)
Mon, Oct 20, 3:09 AM
Unknown Object (File)
Sat, Oct 18, 11:20 PM
Unknown Object (File)
Tue, Oct 14, 10:18 PM
Unknown Object (File)
Tue, Oct 14, 10:18 PM
Unknown Object (File)
Tue, Oct 14, 10:18 PM
Unknown Object (File)
Tue, Oct 14, 1:10 PM
Unknown Object (File)
Sep 9 2025, 6:20 AM
Subscribers

Details

Summary

Use "mipsel" instead of "mips" as the 32-bit MACHINE_ARCH
when building lib32 for little-endian 64-bit MIPS targets.
This fixes an error where some objects were compiled as LE
and others compiled as BE causing a link error for rtld32.

Test Plan
  • make buildworld TARGET_ARCH=mips64el CROSS_TOOLCHAIN=mips-gcc6 now completes instead of failing

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable