Skip to content

Highwayhash error while building from source code #151

@Aman-Surkar

Description

@Aman-Surkar

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 = 7e299ea 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions