[
https://issues.apache.org/jira/browse/ARROW-17775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17606707#comment-17606707
]
Antoine Pitrou commented on ARROW-17775:
----------------------------------------
The failing build above seems to be finding LLVM 15.0.
An earlier successful build finds LLVM 14.0.6:
https://github.com/apache/arrow/actions/runs/3079636722/jobs/4976098454#step:9:524
> [C++] LLVM deprecation errors when building Gandiva
> ---------------------------------------------------
>
> Key: ARROW-17775
> URL: https://issues.apache.org/jira/browse/ARROW-17775
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++, C++ - Gandiva, Continuous Integration
> Reporter: Antoine Pitrou
> Priority: Critical
>
> This just appeared on an unrelated PR:
> [https://github.com/apache/arrow/actions/runs/3084066139/jobs/4985765033#step:9:1694]
> {code}
> In file included from
> /Users/runner/work/arrow/arrow/cpp/src/gandiva/cast_time.cc:25:
> In file included from
> /Users/runner/work/arrow/arrow/cpp/src/gandiva/exported_funcs.h:20:
> In file included from
> /Users/runner/work/arrow/arrow/cpp/src/gandiva/exported_funcs_registry.h:23:
> In file included from
> /Users/runner/work/arrow/arrow/cpp/src/gandiva/engine.h:29:
> /Users/runner/work/arrow/arrow/cpp/src/gandiva/llvm_includes.h:49:62: error:
> 'getPointerElementType' is deprecated: Deprecated without replacement, see
> https://llvm.org/docs/OpaquePointers.html for context and migration
> instructions [-Werror,-Wdeprecated-declarations]
> return
> builder->CreateGEP(Ptr->getType()->getScalarType()->getPointerElementType(),
> Ptr,
> ^
> /usr/local/opt/llvm/include/llvm/IR/Type.h:377:5: note:
> 'getPointerElementType' has been explicitly marked deprecated here
> [[deprecated("Deprecated without replacement, see "
> ^
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)