[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
Fri Apr 9 09:32:28 UTC 2021


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

            Bug ID: 254911
           Summary: lib/msun/ctrig_test fails if compiled with AVX (-mavx)
                    or any CPUSET enabling AVX
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs at FreeBSD.org
          Reporter: olivier at freebsd.org

How to reproduce this bug on a FreeBSD 14.0-CURRENT #10
main-n245559-d22883d7154:

echo 'CFLAGS+=-mavx' >> /etc/make.conf
cd /usr/src/lib/msun
make clean && make && make install
/usr/tests/lib/msun/ctrig_test test_zero_input


*** Check failed: /usr/src/lib/msun/tests/ctrig_test.c:154: ctanhf
fetestexcept((0x04 | 0x20 | 0x01 | 0x08 | 0x10)) (0x1) != 0
*** Check failed: /usr/src/lib/msun/tests/ctrig_test.c:154: ctanhf
fetestexcept((0x04 | 0x20 | 0x01 | 0x08 | 0x10)) (0x1) != 0
*** Check failed: /usr/src/lib/msun/tests/ctrig_test.c:154: ctanhf
fetestexcept((0x04 | 0x20 | 0x01 | 0x08 | 0x10)) (0x1) != 0
*** Check failed: /usr/src/lib/msun/tests/ctrig_test.c:154: ctanhf
fetestexcept((0x04 | 0x20 | 0x01 | 0x08 | 0x10)) (0x1) != 0
*** Check failed: /usr/src/lib/msun/tests/ctrig_test.c:155: ctanf
fetestexcept((0x04 | 0x20 | 0x01 | 0x08 | 0x10)) (0x1) != 0
*** Check failed: /usr/src/lib/msun/tests/ctrig_test.c:155: ctanf
fetestexcept((0x04 | 0x20 | 0x01 | 0x08 | 0x10)) (0x1) != 0
*** Check failed: /usr/src/lib/msun/tests/ctrig_test.c:155: ctanf
fetestexcept((0x04 | 0x20 | 0x01 | 0x08 | 0x10)) (0x1) != 0
*** Check failed: /usr/src/lib/msun/tests/ctrig_test.c:155: ctanf
fetestexcept((0x04 | 0x20 | 0x01 | 0x08 | 0x10)) (0x1) != 0
failed: 8 checks failed; see output for more details

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


More information about the freebsd-bugs mailing list