[ 
https://issues.apache.org/jira/browse/ARROW-12587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17337501#comment-17337501
 ] 

Ian Cook commented on ARROW-12587:
----------------------------------

When I build libarrow with
{code:java}
 HOMEBREW_NO_AUTO_UPDATE=1 brew install --build-from-source 
./apache-arrow.rb{code}
using {{apache-arrow.rb}} downloaded from 
[https://github.com/Homebrew/homebrew-core/blob/master/Formula/apache-arrow.rb|https://github.com/Homebrew/homebrew-core/blob/master/Formula/apache-arrow.rb,],
 {{arrow_info()}} reports:
{code:java}
Runtime:
                        
SIMD Level          avx2
Detected SIMD Level avx2{code}
The same happens if I modify {{apache-arrow.rb}} to and add 
{{-DARROW_RUNTIME_SIMD_LEVEL=MAX}} or {{-DARROW_RUNTIME_SIMD_LEVEL=AVX2}}.

So it seems like there is an AVX512 instruction being executed when it 
shouldn't.

> [R][C++][Packaging] Illegal opcode error on aggregate Array/ChunkedArray of 
> integer
> -----------------------------------------------------------------------------------
>
>                 Key: ARROW-12587
>                 URL: https://issues.apache.org/jira/browse/ARROW-12587
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: C++, Packaging, R
>    Affects Versions: 4.0.0
>            Reporter: Ian Cook
>            Assignee: Ian Cook
>            Priority: Major
>
> I see this error with the 4.0.0 version of the R package with the C++ library 
> from either Autobrew or Homebrew:
> {code:java}
> sum(Array$create(c(1L, 2L))) 
> ## *** caught illegal operation ***
> ## address 0x109f1b45c, cause 'illegal opcode'{code}
>  



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

Reply via email to