[libcxx-commits] [libcxx] [libcxx] [test] Add a test for the range of file offsets (PR #122798)

Martin Storsjö via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 15 14:03:29 PST 2025


mstorsjo wrote:

> From a previous CI run https://buildkite.com/llvm-project/libcxx-ci/builds/39993, I see that this test seems to fail on the `android-ndk-21-def-x86`, CC @rprichard. From the output log about where it failed, `Assertion failure: in_off == total_size - 20`, it would look to me like this is the same issue as on Windows, presumably affecting either all 32 bit versions of Android or targets that are old enough.
> 
> I'm also seeing one failure on AIX 32 bit, `Assertion failed: !ofs.fail()`, which would indicate that it failed to write the output file - either because it is out of diskspace, or because AIX 32 bit doesn't allow writing files that are >4 GB in size, CC @daltenty. Can you confirm whether this is expected to fail on 32 bit AIX, or whether it would be a flaky test (if the runner some times has less than 4 GB of space, but not always)?

FWIW, I added XFAILs for these cases, and this is all green through CI now, so I'll go ahead and merge it.

https://github.com/llvm/llvm-project/pull/122798


More information about the libcxx-commits mailing list