[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#38061: [minimal reproducer included] libstdc++ mutex references caus
From: |
Mathieu Othacehe |
Subject: |
bug#38061: [minimal reproducer included] libstdc++ mutex references cause clang builds to fail |
Date: |
Tue, 05 Nov 2019 08:59:59 +0100 |
User-agent: |
mu4e 1.2.0; emacs 26.3 |
Hello Carl,
> In my original non-minimal build, other things in <mutex> also cause
> compilation
> errors, which seem odd to me.
This problem is not directly related to <mutex>. You'll have the same
issue with <list>, <vector> or any other header from stdlib.
As explained here:
https://www.mail-archive.com/address@hidden/msg50183.html, the root
cause is that clang cannot find libstdc++ headers which paths are
hardcoded into gcc.
We need to find a clean way to hardcode those paths into clang. However,
I'm not sure on how to proceed cleanly.
Mathieu