From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MMj5K/1Y4GBPXQAAgWs5BA (envelope-from ) for ; Sat, 03 Jul 2021 14:33:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gPWtJ/1Y4GBqGAAA1q6Kng (envelope-from ) for ; Sat, 03 Jul 2021 12:33:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DE5F01AADA for ; Sat, 3 Jul 2021 14:33:00 +0200 (CEST) Received: from localhost ([::1]:39326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lzepO-0000LD-70 for larch@yhetil.org; Sat, 03 Jul 2021 08:32:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53024) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzeON-0002Ui-8F for bug-guix@gnu.org; Sat, 03 Jul 2021 08:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54677) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lzeOM-0002wG-VY for bug-guix@gnu.org; Sat, 03 Jul 2021 08:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lzeOM-0002eF-Gi for bug-guix@gnu.org; Sat, 03 Jul 2021 08:05:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#49350: gcc-toolchain compilation error with -nostdinc++ Resent-From: Ontje =?UTF-8?Q?L=C3=BCnsdorf?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 03 Jul 2021 12:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 49350 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 49350@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162531389510163 (code B ref -1); Sat, 03 Jul 2021 12:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jul 2021 12:04:55 +0000 Received: from localhost ([127.0.0.1]:37990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzeOB-0002dl-Hh for submit@debbugs.gnu.org; Sat, 03 Jul 2021 08:04:55 -0400 Received: from lists.gnu.org ([209.51.188.17]:34024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lzd5S-0006ro-F4 for submit@debbugs.gnu.org; Sat, 03 Jul 2021 06:41:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lzd5S-0002kQ-6f for bug-guix@gnu.org; Sat, 03 Jul 2021 06:41:26 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050::465:201]:38246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lzd5P-0000Vy-I2 for bug-guix@gnu.org; Sat, 03 Jul 2021 06:41:25 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-201.mailbox.org (Postfix) with ESMTPS id 4GH7lx3HfYzQk3C for ; Sat, 3 Jul 2021 12:41:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:message-id:date:date :subject:subject:from:from:received; s=mail20150812; t= 1625308874; bh=0GEl/8ukeaJCe4eUQJ7y5KBKcbifoz5ATAa4hJWcIOU=; b=d a94MAYV8m36C+HDixpAKoVSmp/Sz3kfuvThqHCJ0h68yz90IYHFf++jRtytBc1d+ lt7HQgUYJctt+CaO6HBmVk9I1hOGh46XwpqC4OwrrneuWiHRRWLjqPBvO8fqT3W4 6lkmNTovZ8GT2buZKlnRLA9jBEoRjdVs1RwC+HiVcninfJXstWd7EkwLhvNUcVmH Oh0r2qhPfF/10erO0W2tR91WsybVEFIVhWc+n0UU8hSMfPiF92Try8qe3On8gmhe 9kftCcy2Zcxx4Dkhd29gHbFuFlBKKq/U+6s7gb3mLsF1SieyUfz+kWjEPnpa/US/ 44mxU6unyhQOX9EvbmPBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1625308875; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=abuQpLz1uaHwBAUQocdvRY9E4s4bkwLOqwz9ZIx2te4=; b=QBZRfBX6qhfzS7bTSuWTUqJuSaR/ESiTWKghlPf6KRfC2ZF6kfmg1X7wbKL3rYgY3DiFjJ xGJsMrHnXsM2XZs5866ht4i3l1J4CH+Mydcw42eyTjcPYToh2Ev2BTxhB8pFHsdWq49fJS b4HSEcda37VthP3P0qmu4eofOYp5inJEPmV701WTTHcRbX76fMwENFTruXf3wsnbxb1+b0 NWAv4d93A69Mng6btovIDPjba6UZMHSF4O92sXy5isaay4RWdNs4AJ/fjKpTlNJ2swxa8n j+/tchAApalfdWfm1j1vPxAhpbpe3NghCwJqviZxOV4BSn02AWQJsJtHzNDvYA== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id JcrQqMd0L-51 for ; Sat, 3 Jul 2021 12:41:14 +0200 (CEST) Date: Sat, 03 Jul 2021 12:41:11 +0200 Message-ID: <87k0m73cjc.fsf@mailbox.org> MIME-Version: 1.0 Content-Type: text/plain X-MBO-SPAM-Probability: X-Rspamd-Score: -3.69 / 15.00 / 15.00 X-Rspamd-Queue-Id: 9745F1888 X-Rspamd-UID: 1c7e39 Received-SPF: pass client-ip=2001:67c:2050::465:201; envelope-from=oluensdorf@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 03 Jul 2021 08:04:50 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 03 Jul 2021 08:32:49 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Ontje =?UTF-8?Q?L=C3=BCnsdorf?= From: Ontje =?UTF-8?Q?L=C3=BCnsdorf?= via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1625315581; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=abuQpLz1uaHwBAUQocdvRY9E4s4bkwLOqwz9ZIx2te4=; b=YN0lbbg01PgXhwEHBh2K11MSiP/r6IkPrpWFZAGgXphl4bT04frJYmzmorRR9fjC9esSRp gjBXubeaifpEchNrw8p5EJ0dBly9+TfRit+C+zkWdRLzaf4z45S+sqJFRbbCKMj4En7dTQ GKAMjibXz9TAAneMgy4fZ/OTJCRj5hh0gxgs0JNH8SOMFpXjWIh1eHF8/LzRq9KBHQ3Lez zvJyLlUah40Z1BrYdNBx8lpGx7F2a714VF8U83flOYC9A4R318kIHe3Iy+Zwz6iCWx0PYm b8tp/7akaSMn8JnBprPKkSgtIOPd8E2gdzU20s2go8kGX+NT3lMIrSYmKk60tg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1625315581; a=rsa-sha256; cv=none; b=ibXLwm+N1tAj/0Szr3c1O4Sl1MTLkbUdYJNkmnxw4JHlhc+uYNe7b+neCV8ljI/d0EouHa oXMzjd0qBn3kSc9VTzySpmQsNs/grVu0UysDHBJThfqKi6Gbjefo7TIrt4hGBKSYCYd7pK zgZrhG6tfpM+g3ZcK425npBaQkK3mOsAIr0q/7FgZ3PTH8sMM8iJTRF36Q1GO8qGzMWua2 BeR2/60/Z19trPZvKJn+i7dl28uarC+vymii58QGS0idpmOhz5LYmVJ8EAV52Hfx4mFDAd C8w7uVnO7OpVlsNadX9/uzE1/YYlgHy6YqkfxBm9lCW0N9nJMgUaUrw1XYq9cw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b="d a94MAY"; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=QBZRfBX6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b="d a94MAY"; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=QBZRfBX6; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: DE5F01AADA X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: M7mcW7e57IRZ Hi all, I've problems compiling LLVM manually with the gcc-toolchain. sanitizer_posix_libcdep.cpp is build with -nostdinc++ and fails to find bits/c++config.h. I think the issue can be reproduced with this example test.cpp: #include int main() { return 0; } c++ from archlinux compiles that file, while c++ from gcc-toolchain doesn't: $ c++ -nostdinc++ test.cpp $ guix environment --ad-hoc gcc-toolchain -- c++ -nostdinc++ test.cpp In file included from /gnu/store/nh9r04xhzmbk3hjsj92yhlhmjsp521g4-profile/include/c++/stdlib.h:36, from test.cpp:1: /gnu/store/nh9r04xhzmbk3hjsj92yhlhmjsp521g4-profile/include/c++/cstdlib:41:10: fatal error: bits/c++config.h: No such file or directory 41 | #include | ^~~~~~~~~~~~~~~~~~ compilation terminated. Is this expected and I'm doing something wrong? Thanks & best regards, Ontje