[Bug 254911] lib/msun/ctrig_test fails if compiled with AVX (-mavx) or any CPUSET enabling AVX

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 10 14:04:29 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254911

--- Comment #5 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=bae9fd0b33462e9506c3ac3400089c6dbc4aee8f

commit bae9fd0b33462e9506c3ac3400089c6dbc4aee8f
Author:     Dimitry Andric <dim at FreeBSD.org>
AuthorDate: 2021-04-10 14:02:49 +0000
Commit:     Dimitry Andric <dim at FreeBSD.org>
CommitDate: 2021-04-10 14:02:58 +0000

    Only use -fp-exception-behavior=maytrap on x86, for now

    After 3b00222f156d, it turns out that clang only supports strict
    floating point semantics for SystemZ and x86 at the moment, while for
    other architectures it is still experimental.

    Therefore, only use -fp-exception-behavior=maytrap on x86 for now,
    otherwise this option results in "error: overriding currently
    unsupported use of floating point exceptions on this target
    [-Werror,-Wunsupported-floating-point-opt]" on other architectures.

    Fixes:          3b00222f156d
    PR:             254911
    MFC after:      1 week

 lib/msun/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


More information about the freebsd-bugs mailing list