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)
Fri, Mar 22, 8:42 PM
Unknown Object (File)
Fri, Mar 22, 8:41 PM
Unknown Object (File)
Fri, Mar 22, 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

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