Page MenuHomeFreeBSD

Define __SOFT_FP__ for riscv64sf to avoid infinite recursion.
ClosedPublic

Authored by jhb on Dec 3 2019, 10:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 22 2024, 8:42 PM
Unknown Object (File)
Mar 22 2024, 8:41 PM
Unknown Object (File)
Mar 22 2024, 8:41 PM
Unknown Object (File)
Mar 9 2024, 8:13 AM
Unknown Object (File)
Jan 4 2024, 11:04 AM
Unknown Object (File)
Jan 4 2024, 10:47 AM
Unknown Object (File)
Jan 4 2024, 10:47 AM
Unknown Object (File)
Jan 4 2024, 6:35 AM
Subscribers

Details

Test Plan
  • booted soft-float world built with clang and observed infinite recursion in binaries such as fsck(8)

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 27927
Build 26096: arc lint + arc unit

Event Timeline

Probably this should be on for all soft-float architectures. I'd rather pull in Makefile.float from https://github.com/freebsd/freebsd/commit/eb836f75fe342c01a51bba1c96abacd448fabc88 and use that to set this rather than add all the combinatorics though. This has also only been observed on riscv to date.

In D22660#495654, @jhb wrote:

Probably this should be on for all soft-float architectures. I'd rather pull in Makefile.float from https://github.com/freebsd/freebsd/commit/eb836f75fe342c01a51bba1c96abacd448fabc88 and use that to set this rather than add all the combinatorics though. This has also only been observed on riscv to date.

I think that's a reasonable idea. Since there's an issue now on riscv, I'm cool with this change going in before using that to refine things.

This revision is now accepted and ready to land.Dec 3 2019, 11:38 PM