You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Yibo Cai (Jira)" <ji...@apache.org> on 2022/05/18 02:11:00 UTC
[jira] [Resolved] (ARROW-16478) [C++] cpu_info.cc fails clang-12 debug build on Arm
[ https://issues.apache.org/jira/browse/ARROW-16478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yibo Cai resolved ARROW-16478.
------------------------------
Resolution: Fixed
Issue resolved by pull request 13112
[https://github.com/apache/arrow/pull/13112]
> [C++] cpu_info.cc fails clang-12 debug build on Arm
> ---------------------------------------------------
>
> Key: ARROW-16478
> URL: https://issues.apache.org/jira/browse/ARROW-16478
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Reporter: Yibo Cai
> Assignee: Yibo Cai
> Priority: Major
> Labels: pull-request-available
> Fix For: 9.0.0
>
> Time Spent: 2.5h
> Remaining Estimate: 0h
>
> {code:bash}
> ../src/arrow/util/cpu_info.cc:124:13: error: implicit conversion loses integer precision: '__ssize_t' (aka 'long') to 'int' [-Werror,-Wshorten-64-to-32]
> int res = getline(&content, &file_len, cache_file);
> ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 1 error generated.
> {code}
> Not a blocking issue IMO.
> Looks there are more code needs refine in cpu_info.cc.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)