[Bug 257402] graphics/qgis illegal instruction, AVX instruction called on non-AVX Arch

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 Jul 2021 07:50:35 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257402

            Bug ID: 257402
           Summary: graphics/qgis illegal instruction, AVX instruction
                    called on non-AVX Arch
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: rhurlin_at_FreeBSD.org
          Reporter: alt2600_at_icloud.com
          Assignee: rhurlin_at_FreeBSD.org
             Flags: maintainer-feedback?(rhurlin_at_FreeBSD.org)

just finished compiling qgis and after much effort I get this

/usr/ports/graphics/qgis|$} lldb `which qgis`
(lldb) target create "/usr/local/bin/qgis"
Current executable set to '/usr/local/bin/qgis' (x86_64).
(lldb) r
Process 65039 launching
Process 65039 launched: '/usr/local/bin/qgis' (x86_64)
Process 65039 stopped
* thread #1, name = 'qgis', stop reason = signal SIGILL: privileged instruction
    frame #0: 0x000000080d970e69
->  0x80d970e69: vmovups (%rcx), %xmm0
    0x80d970e6d: vmovups %xmm0, 0x10(%rax)
    0x80d970e72: movq   (%r14), %rcx
    0x80d970e75: movq   %rcx, 0x20(%rax)
(lldb) 

If I'm not mistaken vmovups is an AVX extension, I am running westmere
architecture there is no AVX here. I believe this to be related to qmake not
being properly configured for <Haswell as referenced in PR 255753

https://www.felixcloutier.com/x86/movups

Not sure much can be done with maintainer, it seems qmake needs to be corrected
to not force AVX for all amd64 systems. I might be wrong, but this seems to be
more fallout.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Sun Jul 25 2021 - 07:50:35 UTC

Original text of this message