[Bug 212703] Clang segmentation fault

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 17 11:56:41 UTC 2016


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

Dimitry Andric <dim at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|10.3-RELEASE                |CURRENT
           Assignee|freebsd-toolchain at FreeBSD.o |dim at FreeBSD.org
                   |rg                          |
                 CC|                            |emaste at freebsd.org
             Status|New                         |In Progress
                URL|                            |https://llvm.org/bugs/show_
                   |                            |bug.cgi?id=30426

--- Comment #4 from Dimitry Andric <dim at FreeBSD.org> ---
I can reproduce this with clang trunk r281149; reported upstream as PR30426
[1].

The problem seems to be caused by the openMVG build system disabling use of
SSE, and this confuses llvm, because the target is x86_64.  Any idea why
openMVG's build system wants this?

I would try to work around it by getting rid of the "-mno-sse2 -mno-sse3
-mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4a -mno-avx -mno-xop -mno-fma4
-mno-avx2" flags.  On x86_64, at least SSE2 is always available, there is no
good reason to disable it.

[1] https://llvm.org/bugs/show_bug.cgi?id=30426

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


More information about the freebsd-toolchain mailing list