You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/09/19 18:27:00 UTC

[jira] [Commented] (ARROW-17775) [C++] LLVM deprecation errors when building Gandiva

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

Antoine Pitrou commented on ARROW-17775:
----------------------------------------

cc [~jinshang] [~pravindra]

> [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)