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

Ian Cook commented on ARROW-12658:
----------------------------------

We observed an error building aws-c-common 0.4.59 with the new clang version 
that's included in Big Sur 11.3. Updating to aws-c-common v0.5.10 solved this.

None of our CI jobs are running Big Sur 11.3 so the error was not detected by 
CI. I believe the problem only affects clang.

> [C++] Bump aws-c-common to v0.5.10 
> -----------------------------------
>
>                 Key: ARROW-12658
>                 URL: https://issues.apache.org/jira/browse/ARROW-12658
>             Project: Apache Arrow
>          Issue Type: Task
>          Components: C++
>            Reporter: Ian Cook
>            Assignee: Ian Cook
>            Priority: Major
>             Fix For: 5.0.0
>
>
> On macOS 11.3 with Apple clang version 12.0.5, the C++ library fails to build 
> when {{ARROW_S3=ON}} with the error:
> {code:java}
> arrow/cpp/build/aws_c_common_ep-prefix/src/aws_c_common_ep/source/posix/system_info.c:126:34:
>  error: this old-style function definition is not preceded by a prototype 
> [-Werror,-Wstrict-prototypes]
> const char *s_get_executable_path() {
> {code}
> This is fixed by this commit to awslabs/aws-c-common:
> https://github.com/awslabs/aws-c-common/commit/44b8caff9690701cf60ec9654cb40278b70d8c7e#diff-986b9fe7fd20a9fb07a89e12e3db15d4f82708a9df66f61fe02fe961d1555d67
> Bumping the version of aws-c-common used by Arrow to v.0.5.10 fixes this.



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

Reply via email to