GNU bug report logs - #38061
[minimal reproducer included] libstdc++ mutex references cause clang builds to fail

Previous Next

Package: guix;

Reported by: Carl Dong <contact <at> carldong.me>

Date: Mon, 4 Nov 2019 20:31:02 UTC

Severity: normal

Done: Mathieu Othacehe <m.othacehe <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mathieu Othacehe <m.othacehe <at> gmail.com>
To: Carl Dong <contact <at> carldong.me>
Cc: 38061 <at> debbugs.gnu.org
Subject: bug#38061: [minimal reproducer included] libstdc++ mutex references cause clang builds to fail
Date: Tue, 05 Nov 2019 08:59:59 +0100
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/guix-devel <at> gnu.org/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




This bug report was last modified 5 years and 272 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.