Page MenuHomeFreeBSD

Build hard-float lib32 for mips64hf/mips64elhf
ClosedPublic

Authored by arichardson on Jan 17 2020, 11:11 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 28, 9:40 PM
Unknown Object (File)
Thu, Mar 27, 5:45 AM
Unknown Object (File)
Mar 11 2025, 10:59 PM
Unknown Object (File)
Mar 10 2025, 11:46 AM
Unknown Object (File)
Mar 7 2025, 3:56 PM
Unknown Object (File)
Feb 7 2025, 11:49 PM
Unknown Object (File)
Feb 1 2025, 2:07 AM
Unknown Object (File)
Jan 31 2025, 10:57 PM

Details

Summary

This should fix linker error when building with clang+lld.

Test Plan

lib32 now builds with -mhard-float instead of -msoft-float

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Jan 17 2020, 11:50 AM

Yes, I was testing this locally, though without the :=, just a plain =. I was testing it as part of a make tinderbox run though that is only on amd64 and hasn't gotten to mips, so hadn't seen breakage that would require :=.

In D23229#509463, @jhb wrote:

Yes, I was testing this locally, though without the :=, just a plain =. I was testing it as part of a make tinderbox run though that is only on amd64 and hasn't gotten to mips, so hadn't seen breakage that would require :=.

Yeah I got a recursive variable definition error with = so I changed it to :=

jhb added inline comments.
share/mk/bsd.compat.mk
169 ↗(On Diff #66902)

Ah, because this would recurse. Arguably these two assignments should probably be using :=? Your patch is fine for now though.