You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Carlo Cabrera (Jira)" <ji...@apache.org> on 2021/07/05 17:59:00 UTC

[jira] [Comment Edited] (ARROW-12587) [R][C++][Packaging] Illegal opcode error on aggregate Array/ChunkedArray of integer

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

Carlo Cabrera edited comment on ARROW-12587 at 7/5/21, 5:58 PM:
----------------------------------------------------------------

I've merged a fix that disables the filtering of `-march` flags in the Arrow build in Homebrew/core.

I hope you have your runtime detection working correctly for everything that Arrow builds – otherwise we might have to just disable AVX512 on the formula entirely.

I'm particularly concerned about vendored dependencies being tuned for the build-time CPU. (If they're not, they're probably being built for Penryn, which I'll note is a step down from what the Homebrew formula used to build them for.)


was (Author: ccabrera):
I've merged a fix that disables the filtering of `-march` flags in the Arrow build in Homebrew/core.

I hope you have your runtime detection working correctly for everything that Arrow builds – otherwise we might have to just disable AVX512 on the formula entirely.

 

I'm particularly concerned about vendored dependencies being tuned for the build-time CPU. (If they're not, they're probably being built for Penryn, which I'll note is a step down from what the Homebrew formula used to build them for.)

> [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
>         Attachments: R_2021-04-29-153055.crash, big-sur-crash.txt
>
>
> I see this error with the 4.0.0 version of the R package with the C++ library from Homebrew:
> {code:java}
> sum(Array$create(c(1L, 2L))) 
> ## *** caught illegal operation ***
> ## address 0x109f1b45c, cause 'illegal opcode'{code}
> This is on an Intel Mac running Big Sur 11.3 with AVX2 support but no AVX512 support.
> This happens regardless of whether I build the Homebrew formula locally or install the pre-built bottle.



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