Projjal Chanda created ARROW-12154:
--------------------------------------

             Summary: [C++][Gandiva] Fix gandiva crash in certain VM/CPU 
combinations
                 Key: ARROW-12154
                 URL: https://issues.apache.org/jira/browse/ARROW-12154
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++ - Gandiva
            Reporter: Projjal Chanda
            Assignee: Projjal Chanda


When running gandiva in a VM where the VM doesn't provide all the features of 
the host cpu, specifically vector instructions like avx512 which needs vm 
support (because VM is older version and doesn't support them, or passthrough 
is disabled for these features), llvm::sys::getHostCPUName detects the 
processor with these features and so gandiva generates jit compiled code with 
these vector instructions, which the guest OS is unable to execute and hence 
faults.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to