[Bug 282471] databases/mongodb80: Illegal instruction due use of the AVX instruction vxorps when NOAVX=ON

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Nov 2024 16:43:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282471

            Bug ID: 282471
           Summary: databases/mongodb80: Illegal instruction due use of
                    the AVX instruction vxorps when NOAVX=ON
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ronald@FreeBSD.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(ronald@FreeBSD.org)
          Assignee: ronald@FreeBSD.org

mongod from the default build crashes with "Illegal instruction" with this
stack:

>  1│ Dump of assembler code for function _GLOBAL__sub_I_TimeStamp.cpp:
>  2│    0x0000000008a26840 <+0>:     push   %rbp
>  3│    0x0000000008a26841 <+1>:     mov    %rsp,%rbp
>  4│    0x0000000008a26844 <+4>:     push   %rbx
>  5│    0x0000000008a26845 <+5>:     push   %rax
>  6├──> 0x0000000008a26846 <+6>:     vxorps %xmm0,%xmm0,%xmm0
>  7│    0x0000000008a2684a <+10>:    vmovups %xmm0,0x166f426(%rip)        # 0xa095c78 <_ZN7mozillaL9sInitOnceE>
>  8│    0x0000000008a26852 <+18>:    lea    0x166f41f(%rip),%rbx        # 0xa095c78 <_ZN7mozillaL9sInitOnceE>
>  9│    0x0000000008a26859 <+25>:    call   0x8a36e30 <_ZN7mozilla9TimeStamp7StartupEv>
> 10│    0x0000000008a2685e <+30>:    mov    $0x1,%edi
> 11│    0x0000000008a26863 <+35>:    call   0x8a371f0 <_ZN7mozilla9TimeStamp3NowEb>
> 12│    0x0000000008a26868 <+40>:    mov    %rax,0x166f409(%rip)        # 0xa095c78 <_ZN7mozillaL9sInitOnceE>

Apparently the NOAVX option wasn't used for at least the TimeStamp.cpp module.

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