From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 13 05:44:22 2015 Received: (at 19733) by debbugs.gnu.org; 13 Oct 2015 09:44:22 +0000 Received: from localhost ([127.0.0.1]:37794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlw86-0005wL-44 for submit@debbugs.gnu.org; Tue, 13 Oct 2015 05:44:22 -0400 Received: from venus.bbbm.mdc-berlin.de ([141.80.25.30]:57946) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zlw84-0005wC-Mi for 19733@debbugs.gnu.org; Tue, 13 Oct 2015 05:44:21 -0400 Received: from localhost (localhost [127.0.0.1]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP id 22B88380635 for <19733@debbugs.gnu.org>; Tue, 13 Oct 2015 11:44:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mdc-berlin.de; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:subject:subject:from:from:received :received:received; s=mdc; t=1444729444; x=1446543845; bh=tNoypN FZsy2b960ybAiU5DPiKdSxhiwRy2IvbJCacDo=; b=sCGkSuAmKc97HG1oBskBTw w/AzkBpNvRb3fX2/5S/tR9JiDon2kaApxkJGNI25cIo8bWxB+W0VUFAbnn4vqtLA xZqeEHMh5C/TjPmcBhp+jWnguVcvnw67CXd1G+a0BsFYBoXHSBxwYv4d9sPgCuKH bYV+4Vt05XudqocWl2yBQ= X-Virus-Scanned: amavisd-new at mdc-berlin.de Received: from venus.bbbm.mdc-berlin.de ([127.0.0.1]) by localhost (venus.bbbm.mdc-berlin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SacQVsZvlSx2 for <19733@debbugs.gnu.org>; Tue, 13 Oct 2015 11:44:04 +0200 (CEST) Received: from HTCAONE.mdc-berlin.net (mab.citx.mdc-berlin.de [141.80.36.102]) by venus.bbbm.mdc-berlin.de (Postfix) with ESMTP for <19733@debbugs.gnu.org>; Tue, 13 Oct 2015 11:44:04 +0200 (CEST) Received: from localhost (141.80.180.135) by HTCAONE.mdc-berlin.net (141.80.180.125) with Microsoft SMTP Server (TLS) id 14.3.235.1; Tue, 13 Oct 2015 11:44:03 +0200 From: Ricardo Wurmus To: <19733@debbugs.gnu.org> Subject: disfunctional gcc binary when GCJ or gfortran is installed Date: Tue, 13 Oct 2015 11:44:03 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [141.80.180.135] X-TM-AS-Product-Ver: SMEX-10.0.0.4211-7.500.1018-21876.005 X-TM-AS-Result: No--1.575900-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19733 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Commit 5f6887e8 fixes this for GCJ, but we still have this problem for all variants of gfortran, gcc-objc, and gccgo, all of which are built using the ‘custom-gcc’ procedure. It’s probably safe to add a build phase like this to ‘custom-gcc’: (add-after 'install 'remove-broken-or-conflicting-files (lambda* (#:key outputs #:allow-other-keys) (for-each delete-file (find-files (string-append (assoc-ref outputs "out") "/bin") ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)")) #t)) ~~ Ricardo