[ https://issues.apache.org/jira/browse/ARROW-9415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156124#comment-17156124 ]
Wes McKinney commented on ARROW-9415: ------------------------------------- As discussed on https://github.com/Cyan4973/xxHash/pull/426, altivec.h leaks some defines including {{bool}} when compiling with gcc > [C++] Arrow does not compile on Power9 > -------------------------------------- > > Key: ARROW-9415 > URL: https://issues.apache.org/jira/browse/ARROW-9415 > Project: Apache Arrow > Issue Type: Bug > Components: C++ > Affects Versions: 0.17.1 > Environment: Linux 4.14.0-115.21.2.el7a.ppc64le > Reporter: Jens Glaser > Priority: Minor > Labels: pull-request-available > Fix For: 1.0.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > When compiling the master branch from github on IBM P9 (Summit), I get > > {{In file included from > /ccs/proj/stf006/glaser/rapids/arrow/cpp/src/arrow/array/dict_internal.h:35:0, > from > /ccs/proj/stf006/glaser/rapids/arrow/cpp/src/arrow/array/builder_dict.cc:22: > /ccs/proj/stf006/glaser/rapids/arrow/cpp/src/arrow/util/hashing.h: In static > member function 'static uint32_t > arrow::internal::SmallScalarTraits<__vector(4) __bool > int>::AsIndex(__vector(4) __bool int)': > /ccs/proj/stf006/glaser/rapids/arrow/cpp/src/arrow/util/hashing.h:495:60: > error: cannot convert '__vector(4) int' to 'uint32_t \{aka unsigned int}' in > return > static uint32_t AsIndex(bool value) \{ return value ? 1 : 0; } > ^}} -- This message was sent by Atlassian Jira (v8.3.4#803005)