[Openmp-commits] [libcxx] [openmp] [libc++] basic_ios<wchar_t> cannot store fill character WCHAR_MAX (PR #89305)
David Tenty via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jul 19 14:28:39 PDT 2024
daltenty wrote:
> @daltenty Thanks for looking into this. At this point I am 90% confident that the test failure on `01-coff-print-basic-details.test` is an issue on our side. I did a local build and rerun the stage2 build of `llvm-debuginfo-analyzer` (which is what was failing in the unit test) with `-v` and noticed that the stage 1's libc++ linker flag (`/Users/haowei/SRC/llvm-prebuilts/clang/mac-amd64/lib/libc++.a`) was incorrectly passed through:
>
> ...
>
> So the stage2 clang, when building this binary was linked to the host's libcxx. I will try to manually correct it to the stage2 libcxx to see if the failure disappear.
No problem, thanks for confirming (my local build is still running). That would definitely explain the issues you are seeing, since the two libraries disagree on the layout.
(I haven't seen a lot of buildbots using this `-DSTAGE2_` mechanism so potentially there could be some CMake bugs lurking in that area)
https://github.com/llvm/llvm-project/pull/89305
More information about the Openmp-commits
mailing list