From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20215 invoked by alias); 21 Apr 2005 19:20:12 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 20157 invoked from network); 21 Apr 2005 19:20:01 -0000 Received: from unknown (HELO e34.co.us.ibm.com) (32.97.110.132) by sourceware.org with SMTP; 21 Apr 2005 19:20:01 -0000 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by e34.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j3LJK0eE400864 for ; Thu, 21 Apr 2005 15:20:00 -0400 Received: from d03av03.boulder.ibm.com (d03av03.boulder.ibm.com [9.17.195.169]) by d03relay05.boulder.ibm.com (8.12.10/NCO/VER6.6) with ESMTP id j3LJK0TU236174 for ; Thu, 21 Apr 2005 13:20:00 -0600 Received: from d03av03.boulder.ibm.com (loopback [127.0.0.1]) by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3LJJx94022602 for ; Thu, 21 Apr 2005 13:19:59 -0600 Received: from austin.ibm.com (netmail2.austin.ibm.com [9.41.248.176]) by d03av03.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j3LJJx4Z022595 for ; Thu, 21 Apr 2005 13:19:59 -0600 Received: from lazy.austin.ibm.com (lazy.austin.ibm.com [9.53.94.97]) by austin.ibm.com (8.12.10/8.12.10) with ESMTP id j3LJJxeT059470 for ; Thu, 21 Apr 2005 14:19:59 -0500 Date: Thu, 21 Apr 2005 19:20:00 -0000 From: Manoj Iyer X-X-Sender: manjo@lazy To: gdb-patches@sources.redhat.com Subject: [RFC] Rearranging the build order fix link problem in tmp-ld-insn Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-04/txt/msg00255.txt.bz2 When compiling/linking tmp-ld-insn, the linker exits with the error message, cc -g -O -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -o tmp-ld-insn -DMAIN ./ld-insn.c ld-cache.o misc.o lf.o table.o ld-decode.o filter_host.o filter.o cc: 1501-228 input file ld-cache.o not found cc: 1501-228 input file ld-decode.o not found Rearranging the build order fixes this build break. Here is the patch. Please review and ok to commit. ========================================================================= 2005-04-21 Manoj Iyer * Rearranging the build order in sim/ppc/Makefile.in to fix build break reported by AIX linker. --- ./src/sim/ppc/Makefile.in 2005-01-03 09:34:19.000000000 -0600 +++ ./new/src/sim/ppc/Makefile.in 2005-04-21 14:12:56.000000000 -0500 @@ -683,7 +683,7 @@ tmp-dgen: dgen ppc-spr-table $(srcdir)/. $(SHELL) $(srcdir)/../../move-if-change tmp-spreg.c spreg.c touch tmp-dgen -tmp-igen: igen $(srcdir)/ppc-instructions $(srcdir)/altivec.igen $(srcdir)/e500.igen $(IGEN_OPCODE_RULES) $(srcdir)/../../move-if-change tmp-ld-decode tmp-ld-cache tmp-ld-insn tmp-filter +tmp-igen: igen $(srcdir)/ppc-instructions $(srcdir)/altivec.igen $(srcdir)/e500.igen $(IGEN_OPCODE_RULES) $(srcdir)/../../move-if-change tmp-ld-insn tmp-ld-decode tmp-ld-cache tmp-filter ./igen $(IGEN_FLAGS) \ -o $(srcdir)/$(IGEN_OPCODE_RULES) \ -I $(srcdir) -i $(srcdir)/ppc-instructions \ Thanks ----- manjo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Cogito ergo sum + +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++