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)
Mon, Nov 18, 9:30 AM
Unknown Object (File)
Sep 27 2024, 10:25 PM
Unknown Object (File)
Sep 21 2024, 2:54 AM
Unknown Object (File)
Sep 18 2024, 1:16 AM
Unknown Object (File)
Sep 17 2024, 6:13 PM
Unknown Object (File)
Sep 17 2024, 10:59 AM
Unknown Object (File)
Sep 17 2024, 4:36 AM
Unknown Object (File)
Sep 16 2024, 2:38 AM
Subscribers

Details

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

Diff Detail

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

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