Alexey Samsonov
Alexey Samsonov
``` # | /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/libatomic.a(gstore.o): in function `libat_store': # | (.text+0x127): undefined reference to `__memcpy_chk' ``` failures in the CI for std/atomic tests, hm... Also, could we split this in...
> I tried removing the `__dso_handle` definition, it caused 1233 extra test failures. I also tried removing `-latomic`, and it caused 14 unexpected test passes due to some weirdness around...
Argh, looks like libc++ 's wchar.h wrapper ([libcxx/include/wchar.h](https://github.com/llvm/llvm-project/blob/main/libcxx/include/wchar.h)) is really strict on compliance. ``` /home/gha/actions-runner/_work/llvm-project/llvm-project/build/generic-llvm-libc/include/c++/v1/wchar.h:142:20: error: cast from 'const wchar_t *' to 'wchar_t *' drops const qualifier [-Werror,-Wcast-qual] 142 |...
> > Argh, looks like libc++ 's wchar.h wrapper ([libcxx/include/wchar.h](https://github.com/llvm/llvm-project/blob/main/libcxx/include/wchar.h)) is really strict on compliance. > > I think what you really want to do is set `_LIBCPP_WCHAR_H_HAS_CONST_OVERLOADS`. Right, thank...
Please elaborate? Do you mean that if you *don't* explicitly add `-latomic` then: (a) `has-1024-bit-atomics` feature check fails because of issue with the Clang driver not linking atomics by default...
(to expand on the last comment - I'm pretty sure we should somehow avoid adding `-latomic` to linker invocations for llvm-libc config, as we shouldn't depend / pull-in this GCC...
In either case, I suspect that we want to somehow ensure that we're using LLVM's implementation of atomic store/loads (which I would hope is available in builtins that we add...
I've recently ran a test on Linux-x86-64 to see where we are right now. This was done as a part of downstream Bazel-based configuration, so pasting the logs would not...
@nickdesaulniers Could you share the outcome of this discussion?
I can see the benefits of https://github.com/google/fuzztest/blob/main/doc/overview.md, but looks like nobody in LLVM project is using it yet (so I wonder if we'd need a community buy-in), and it requires...