From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71225 invoked by alias); 27 Jul 2016 07:48:26 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 71213 invoked by uid 89); 27 Jul 2016 07:48:25 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.4 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=carbon, H*F:D*ac.uk, scientific, charitable X-HELO: treacle.ucs.ed.ac.uk Received: from treacle.ucs.ed.ac.uk (HELO treacle.ucs.ed.ac.uk) (129.215.16.102) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 27 Jul 2016 07:48:15 +0000 Received: from lmtp1.ucs.ed.ac.uk (lmtp1.ucs.ed.ac.uk [129.215.149.64]) by treacle.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id u6R7m1rU013960 for ; Wed, 27 Jul 2016 08:48:06 +0100 (BST) Received: from smtp.staffmail.ed.ac.uk (mailwfe7.staffmail.ed.ac.uk [129.215.17.207]) by lmtp1.ucs.ed.ac.uk (8.13.8/8.13.7) with ESMTP id u6R7ltgJ017923 for ; Wed, 27 Jul 2016 08:48:00 +0100 (BST) Received: from ip-31-205-18-38.ask4internet.com (ip-31-205-18-38.ask4internet.com [31.205.18.38]) by www.staffmail.ed.ac.uk (Horde Framework) with HTTP; Wed, 27 Jul 2016 08:47:55 +0100 Message-ID: <20160727084755.73846m6y070c2lss@www.staffmail.ed.ac.uk> Date: Wed, 27 Jul 2016 08:17:00 -0000 From: Douglas Houston To: gcc-help@gcc.gnu.org Subject: Problems building gcc MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.8) X-Originating-UUN: dhouston X-Edinburgh-Scanned: at treacle.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00069.txt.bz2 Hi all, I'm having some trouble installing the latest gcc (which I need to build another program called Gromacs). I am on Scientific Linux release 6.8 (Carbon) (kernel 2.6.32-573.3.1.el6.x86_64), trying to install gcc-5.4.0. After installing the latest gmp, mpfr and mpc, I create a separate objdir build/install directory as recommended. In there, as root, I run: ../gcc-5.4.0/configure Which fails with: /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure: error: I suspect your system does not have 32-bit developement librar ies (libc and headers). If you have them, rerun configure with --enable-multilib . If you do not have them, and want to build a 64-bit-only compiler, rerun confi gure with --disable-multilib. So as directed by the output, I try: ../gcc-5.4.0/configure --disable-multilib Now it fails with: checking for x86_64-unknown-linux-gnu-gcc... /root/gcc-5.4.0-install/./gcc/xgcc -B/root/gcc-5.4.0-install/./gcc/ -B/usr/local/x86_64-unknown-linux-gnu/bin/ -B/u sr/local/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/x86_64-unknown-linux- gnu/include -isystem /usr/local/x86_64-unknown-linux-gnu/sys-include checking for suffix of object files... configure: error: in `/root/gcc-5.4.0-ins tall/x86_64-unknown-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. Can anyone suggest what the fix might be? I've looked in config.log as the output suggests but can't find any reference to x86_64-unknown-linux-gnu-gcc. cheers, Doug -- The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.