From mboxrd@z Thu Jan 1 00:00:00 1970 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 Message-ID: <87eeymrbwg.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59674) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRtlz-0002ao-LF for bug-guix@gnu.org; Tue, 05 Nov 2019 03:01:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRtlu-0007CL-K7 for bug-guix@gnu.org; Tue, 05 Nov 2019 03:01:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57266) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRtlu-0007CH-Ed for bug-guix@gnu.org; Tue, 05 Nov 2019 03:01:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iRtlu-0007yi-AD for bug-guix@gnu.org; Tue, 05 Nov 2019 03:01:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Carl Dong Cc: 38061@debbugs.gnu.org Hello Carl, > In my original non-minimal build, other things in also cause compilation > errors, which seem odd to me. This problem is not directly related to . You'll have the same issue with , or any other header from stdlib. As explained here: https://www.mail-archive.com/guix-devel@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