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)
Mon, May 11, 3:28 AM
Unknown Object (File)
Mon, May 11, 3:20 AM
Unknown Object (File)
Mon, May 11, 2:18 AM
Unknown Object (File)
Sun, May 10, 6:09 PM
Unknown Object (File)
Sun, May 10, 6:05 PM
Unknown Object (File)
Sat, May 9, 9:10 PM
Unknown Object (File)
Sat, May 9, 9:05 PM
Unknown Object (File)
Sat, May 9, 5:24 PM
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