Page MenuHomeFreeBSD

Build hard-float lib32 for mips64hf/mips64elhf
ClosedPublic

Authored by arichardson on Jan 17 2020, 11:11 AM.
Tags
None
Referenced Files
F161162393: D23229.diff
Wed, Jul 1, 3:25 AM
Unknown Object (File)
May 25 2026, 8:22 PM
Unknown Object (File)
May 25 2026, 7:31 PM
Unknown Object (File)
May 25 2026, 12:10 AM
Unknown Object (File)
May 12 2026, 12:04 PM
Unknown Object (File)
May 4 2026, 6:39 AM
Unknown Object (File)
May 3 2026, 12:13 PM
Unknown Object (File)
May 3 2026, 9:24 AM

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

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 28725
Build 26740: arc lint + arc unit

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

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