From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30472 invoked by alias); 19 Nov 2002 19:36:06 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 30453 invoked by uid 71); 19 Nov 2002 19:36:05 -0000 Resent-Date: 19 Nov 2002 19:36:05 -0000 Resent-Message-ID: <20021119193605.30452.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, gml4410@ggr.co.uk Received: (qmail 28968 invoked by uid 61); 19 Nov 2002 19:33:23 -0000 Message-Id: <20021119193323.28967.qmail@sources.redhat.com> Date: Tue, 26 Nov 2002 12:26:00 -0000 From: gml4410@ggr.co.uk Reply-To: gml4410@ggr.co.uk To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: other/8644: make install fails, as it is trying to build things X-SW-Source: 2002-11/txt/msg01006.txt.bz2 List-Id: >Number: 8644 >Category: other >Synopsis: make install fails, as it is trying to build things >Confidential: no >Severity: critical >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Tue Nov 19 11:36:04 PST 2002 >Closed-Date: >Last-Modified: >Originator: Gordon Lack >Release: gcc 3.2 >Organization: >Environment: SGI Irx 6.5 >Description: I have various SGI Irix systems - some with 32 and some with 64-bit OSes. These mount their tools from an NFS server. We have a development system which is a 64-bit system. Tools are installed from 32-bit workstations. I have compiled gcc 3.2 (make bootstrap) on the 64-bit server. This seems OK. I now wish to install this using a 32-bit system (which is the only system with write access to the NFS file system). However, "make install" doesn't just install, it tries to rebuild mabi=64/libgcc_s.so.1, which is 64-bit library. The 32-bit system does not have libc installed for this, so the linking fails and with it the installation. The problem appears to be in the libgcc.mk file. A node exists for: mabi$(EQ)64/libgcc_s_mabi$(EQ)64.so: (where $(EQ) is = ). However, the rule for this actually uses xgcc to build mabi=64/libgcc_s.so.1 followed by: rm -f libgcc_s_mabi=64.so ln -s mabi=64/libgcc_s.so.1 libgcc_s_mabi=64.so so the node isn't actually built by the rule! These last two lines would seem to need to be: rm -f mabi=64/libgcc_s_mabi=64.so ln -s libgcc_s.so.1 mabi=64/libgcc_s_mabi=64.so in order to fit in with this and other rules. Mind you, even after that I have problems as the install wishes to echo timestamp to stmp-multilib, even though it already exists and is up to date. Since this is from an NFS mounted disk and I;m installign as root it fails... >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: