[Bug 256583] audio/lame: patch and unbreak on riscv64

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 13 Jun 2021 20:37:54 UTC

            Bug ID: 256583
           Summary: audio/lame: patch and unbreak on riscv64
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: netchild@FreeBSD.org
          Reporter: fuz@fuz.su
             Flags: maintainer-feedback?(netchild@FreeBSD.org)
          Assignee: netchild@FreeBSD.org

Created attachment 225775
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225775&action=edit
audio/lame: patch and unbreak on riscv64

Lame is currently BROKEN on riscv64 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.

You are receiving this mail because:
You are the assignee for the bug.