google / google/array_record

Highwayhash error while building from source code

Open
#151 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
142
Forks
26
PR merge metrics
No merged PRs in 30d

Description

I am trying to build array-record v0.6.0 wheel on ppc64le using RHEL ubi9 image with gcc-toolset-13. While, using commit id = 7e299eae0db0d7bfc20f7c1e1548bf86cdbfef5e and building it using oss/build_whl.sh, I see the below error:

```
ERROR: /home/builder/opence-pip-packaging/array-record/array_record/cpp/BUILD:187:8: Linking cpp/sequenced_chunk_writer_test failed: (Exit 1): gcc failed: error executing CppLink command (from target //cpp:sequenced_chunk_writer_test) /opt/rh/gcc-toolset-13/root/usr/bin/gcc @bazel-out/ppc-opt/bin/cpp/sequenced_chunk_writer_test-0.params

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
bazel-out/ppc-opt/bin/_solib_ppc/libexternal_Sriegeli+_Sriegeli_Schunk_Uencoding_Slibhash.so: error: undefined reference to 'highwayhash::HighwayHashCat<8u>::operator()(unsigned long const (&) [4], highwayhash::StringView const*, unsigned long, unsigned long*) const'
bazel-out/ppc-opt/bin/_solib_ppc/libexternal_Sriegeli+_Sriegeli_Schunk_Uencoding_Slibhash.so: error: undefined reference to 'highwayhash::HighwayHash<8u>::operator()(unsigned long const (&) [4], char const*, unsigned long, unsigned long*) const'
collect2: error: ld returned 1 exit status
Use --verbose_failures to see the command lines of failed build steps.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.