Page MenuHomeFreeBSD

Set correct lib32 MACHINE_ARCH for mips64el*.
ClosedPublic

Authored by jhb on Jan 3 2020, 9:29 PM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb created this revision.Jan 3 2020, 9:29 PM
emaste accepted this revision.Jan 3 2020, 10:01 PM

Huh.

This revision is now accepted and ready to land.Jan 3 2020, 10:01 PM
This revision was automatically updated to reflect the committed changes.