Summary: | media-libs/opus - error Cannot build libopus with -ffast-math unless FLOAT_APPROX is defined. This could result in crashes on extreme (e.g. NaN) input | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | C. Wijtmans <cj.wijtmans> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | plevine457 |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/12060 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
C. Wijtmans
2017-06-16 22:30:14 UTC
A local flag for the "--fast-float-approx" option (FLOAT_APPROX) would be fine. (In reply to CGordon from comment #1) > A local flag for the "--fast-float-approx" option (FLOAT_APPROX) would be > fine. *--enable-float-approx The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33935a110ddaa4bcac9a61a66392473f436e29ca commit 33935a110ddaa4bcac9a61a66392473f436e29ca Author: Peter Levine <plevine457@gmail.com> AuthorDate: 2019-05-20 03:25:00 +0000 Commit: Stefan Strogin <steils@gentoo.org> CommitDate: 2019-05-22 01:23:24 +0000 media-libs/opus: enable building with -ffast-math or -Ofast Add support for --enable-float-approx configure option which enables functions that are safe to use with the -ffast-math C{XX}FLAG. Package-Manager: Portage-2.3.66, Repoman-2.3.12 Closes: https://bugs.gentoo.org/621978 Signed-off-by: Peter Levine <plevine457@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12060 Signed-off-by: Stefan Strogin <steils@gentoo.org> media-libs/opus/opus-1.3.1-r1.ebuild | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) |