Re: Building libstdc++ for MemorySanitizer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 22 Jul 2024 at 21:55, Phil Phil via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
>
> Greetings,
>
> I'm currently trying to build a large C++ project for MemorySanitizer with clang since g++ doesn't support MSan as far as I know. I currently try to build an instrumented libc++ so I don't get false positives for Msan.
>
> Now since some libs we use still link against libstdc++ I would like to ask if it is possible to build libstdc++ in the same way so it doesn't produce false positives with MSan and if there is a manual for it.

No. Building libstdc++ with clang (or anything except the matching
version of GCC that it's shipped with) is not officially supported. I
know a few people have done it and got it working, but you need to
hack the build yourself.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux