Skip to content

[CI][C++] JNI build error: 'bit' file not found #49366

Closed

Description

@kou

Describe the bug, including details regarding any error messages, version, and platform.

https://github.com/apache/arrow/actions/runs/22265501635/job/64410820710#step:7:3638

FAILED: src/gandiva/precompiled/string_ops.bc /build/cpp/src/gandiva/precompiled/string_ops.bc 
cd /build/cpp/src/gandiva/precompiled && /opt/vcpkg/installed/amd64-linux-static-release/tools/llvm/clang-18 -std=c++20 -DGANDIVA_IR -DNDEBUG -DARROW_STATIC -DGANDIVA_STATIC -fno-use-cxa-atexit -emit-llvm -O3 -c /arrow/cpp/src/gandiva/precompiled/string_ops.cc -o /build/cpp/src/gandiva/precompiled/string_ops.bc -I/build/cpp/src -I/arrow/cpp/src
In file included from /arrow/cpp/src/gandiva/precompiled/string_ops.cc:20:
In file included from /arrow/cpp/src/arrow/util/value_parsing.h:32:
In file included from /arrow/cpp/src/arrow/type_traits.h:26:
/arrow/cpp/src/arrow/util/bit_util.h:20:10: fatal error: 'bit' file not found
   20 | #include <bit>
      |          ^~~~~
1 error generated.

C++ compiler is clang-18.

#49298 will be related.

Component(s)

C++

Activity

  1. kou commented on Feb 22, 2026

    @kou
    MemberAuthor

    It seems that system libstdc++ 8 is used not libstdc++ 14 in gcc-toolset-14.

  2. added a commit that references this issue on Feb 22, 2026
  3. added a commit that references this issue on Feb 26, 2026
  4. added this to the 24.0.0 milestone on Feb 26, 2026
  5. raulcd commented on Feb 26, 2026

    @raulcd
    Member

    Issue resolved by pull request 49367
    #49367

  6. added a commit that references this issue on Apr 6, 2026
  7. added a commit that references this issue on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions