Menu

#96 Fix build on riscv64/FreeBSD

None
closed
None
5
2021-06-19
2021-06-15
No

Lame is currently BROKEN on riscv64 FreeBSD due to an unsupported
fpsetenv() call. RISC-V does not have floating point exceptions and nobody
bothered to stub out the function in the libc.

This is a patch by the LLVM project to unbreak the build on
platforms such as riscv64 with incomplete fpsetmask support.
On riscv64 specifically, there are no traps for invalid
floating point operations, so whatever this masking code
tries to achieve is meaningless anyway.

1 Attachments

Discussion

  • Alexander Leidinger

    • status: open --> closed
    • assigned_to: Alexander Leidinger
    • Group: -->
     
  • Alexander Leidinger

    Committed. Thanks!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.