From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2P7zB/TzPmJDgwAAgWs5BA (envelope-from ) for ; Sat, 26 Mar 2022 12:07:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mLhoAPTzPmLYBgAAG6o9tA (envelope-from ) for ; Sat, 26 Mar 2022 12:07:32 +0100 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 EDE1A33B24 for ; Sat, 26 Mar 2022 12:07:30 +0100 (CET) Received: from localhost ([::1]:41646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY4GX-00078F-Po for larch@yhetil.org; Sat, 26 Mar 2022 07:07:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY4G6-00075Y-Su for bug-guix@gnu.org; Sat, 26 Mar 2022 07:07:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nY4G6-0007eT-I1 for bug-guix@gnu.org; Sat, 26 Mar 2022 07:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nY4G6-00089p-Cj for bug-guix@gnu.org; Sat, 26 Mar 2022 07:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#29644: gcc-objc is unusable without its 'gcc' executable. Resent-From: Zhu Zihao Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 26 Mar 2022 11:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29644 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Received: via spool by 29644-submit@debbugs.gnu.org id=B29644.164829277631303 (code B ref 29644); Sat, 26 Mar 2022 11:07:02 +0000 Received: (at 29644) by debbugs.gnu.org; 26 Mar 2022 11:06:16 +0000 Received: from localhost ([127.0.0.1]:53132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY4FM-00088o-G1 for submit@debbugs.gnu.org; Sat, 26 Mar 2022 07:06:16 -0400 Received: from mail-m971.mail.163.com ([123.126.97.1]:37913) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nY4FI-00088T-3T for 29644@debbugs.gnu.org; Sat, 26 Mar 2022 07:06:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-ID:MIME-Version; bh=TyVUH lDkDK/LcTv8xR7EAAy2QR9Y98+6p1uzZODnt90=; b=NggRz38LWV5sQI82ha4kQ z56OjahFpgv5mWa9TKP1fhp0ipuwmIXFst0mUmXInYqHCci2uYgx/xNAa4OOfQnF sMPrFVVVoEgyn5TbLA7aZRYLdfW/SoAdPsNdBqK+OLjLZrheyKPM5Ao5sLc/GGIX EwTL8tMBfMxbqsR4oUsPWQ= Received: from asus-laptop (unknown [112.95.108.56]) by smtp1 (Coremail) with SMTP id GdxpCgBXF92Y8z5ixX3IFA--.46436S2; Sat, 26 Mar 2022 19:06:02 +0800 (CST) References: <87k1xuhd63.fsf@member.fsf.org> <86pmm91ctl.fsf@163.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Zhu Zihao Date: Sat, 26 Mar 2022 18:53:07 +0800 In-reply-to: Message-ID: <861qypx9bd.fsf@163.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-CM-TRANSID: GdxpCgBXF92Y8z5ixX3IFA--.46436S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7Cw17tF15WF43Jw1rCrWxWFg_yoW8Jw1DpF WIva48JF48AryrGrn7Kw4Sg3WFka1rAFW3GryUX3ZIvFZ8K347J39a9Fy3GFyjvr9293y3 Aw45Ar9ru3W7AFJanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UlYLPUUUUU= X-Originating-IP: [112.95.108.56] X-CM-SenderInfo: pdoosuxxwbztlvw6il2tof0z/xtbBaxrPr1et3tARkwAAsn X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 29644@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648292851; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=TyVUHlDkDK/LcTv8xR7EAAy2QR9Y98+6p1uzZODnt90=; b=lwqxoxszij0Y24xwYU56Mvkas5BWJsrGVuVCbFbwhg45DOkOiHT7ZzrBZsNIHpSvQ39ItC bdkBS/5vNQNGl4QFhMav2aAc6PXz6Y2WDqGpj11sjnGlNy88z3H1fb6e+sanj+aCtxUhcP Bz4usbNv07raU0UJKSZtAZZ2HZAmdO5U7d+ydQ581rZwctC8vMbb70euw1gAsX9s/IfNbz X6MHGu+JXjmfCkoHVWqJPzC2GjPd0d8YICO412CcwicNMXk8H2kC5NcuEnsgT5MVdc0hTD 92xoEQ4q1qq8Rwu+bpkyqI/9OJFQsD0UJ2D7h9BFf8pVnxAaaZ4OrIsUJCtXfQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648292851; a=rsa-sha256; cv=none; b=gjNI9vPEm23g9evtlRNOr/eVLv69YM8KiGh6L3upeIxgH/2o+X5Ct0CQ5iyggqE/ego6IO RFAQ8UfAfnOtWG0tgrUb3UQkQfipf4j6vHKad/f+9crhrks+d0r4v+OuP08gmtTMJHY4SV fE/TWRxtItuz2jNNhWK0onWKAr2GJpZcGShX494UFflDb6kIjXLQ+Y87lNNJhxAea3Ou6Q ktJq2hugMLxzW6++vDU+xF9rZFKsR4mnubzQL1uJsu7ZRVx4gqlD8DCvQ4X3tzrU0yn2sl 2KlccSYsnE6sV3eMWheNVVgcNM8+hhec8en+cnDgOJzrU4JLEC/o1s1hWqLCPQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=NggRz38L; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 4.32 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=163.com header.s=s110527 header.b=NggRz38L; dmarc=fail reason="SPF not aligned (relaxed)" header.from=163.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EDE1A33B24 X-Spam-Score: 4.32 X-Migadu-Scanner: scn1.migadu.com X-TUID: w1PI7nOSQORx --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable You can try with (on d05fcc21cb9509084a0424e6808b84b58dc52d62, but I guess the commit doesn't matters.) ``` guix shell gcc@10 gcc-objc@10 clang@13 cat > hello.m << "EOF" #include int main(int argc, const char * argv[]) { printf ("Hello, world!\n"); return 0; } EOF ``` `LANG=3DC gcc hello.m -o hello` complains that Objective-C compiler is not installed. `LANG=3DC clang hello.m -o hello` can compile to hello binary. Even I try set environment variable GCC_EXEC_PREFIX (described in https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html) GCC_EXEC_PREFIX=3D$GUIX_ENVIRONMENT/libexec/gcc/x86_64-unknown-linux-gnu/10= .3.0 gcc hello.m -o hello =20 or pass option `-B$GUIX_ENVIRONMENT/libexec/gcc/x86_64-unknown-linux-gnu/10.3.0`. It still says no Objective-C compiler. Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Zhu Zihao schreef op za 26-03-2022 om 13:49 [+0800]: >> I'm planning to package some GNUStep packages to Guix, but the gcc- >> objc is broken. >>=20 >> Any one interested in fixing GCC? [...] > > How is it broken? Is there some error message or something? > > Greetings, > Maxime. > > [[End of PGP Signed Part]] =2D-=20 Retrieve my PGP public key: gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F Zihao --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIsEARYIADMWIQRefA5qkqvnKdl/GTlmOX+E92aT+QUCYj7zlhUcYWxsX2J1dF9s YXN0QDE2My5jb20ACgkQZjl/hPdmk/kr2wD/VIU65Exj5RJ87jH0OF+g1mhXUqHE P5DA10CNYlfQwz4A/imSFhnprbmlOh5xzXolg/DaZQv4azLqOtYMFz0ygiAD =+8vA -----END PGP SIGNATURE----- --=-=-=--