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

Ben Kietzman commented on ARROW-15678:
--------------------------------------

[~apitrou] The most robust solution I can think of is to avoid linking between 
objects with differing instruction sets altogether. We'd have something like
{code}
$ nm libarrow_compute_avx2.so | grep DefLevelsBitmapSimd
0000000000404ff0 t DefLevelsBitmapSimd
{code}

That library would be acquired with {{dlopen(path, 
RTLD_LOCAL)/LoadLibrary(path)}} which would guarantee that any functions like 
{{FirstTimeBitmapWriter::*}} which might have been recompiled with illegal 
instructions are not available outside {{libarrow_compute_avx2.so}}.

> [C++][CI] a crossbow job with MinRelSize enabled
> ------------------------------------------------
>
>                 Key: ARROW-15678
>                 URL: https://issues.apache.org/jira/browse/ARROW-15678
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, Continuous Integration
>            Reporter: Jonathan Keane
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 9.0.0
>
>          Time Spent: 13h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to