From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22221 invoked by alias); 21 Apr 2005 19:22:47 -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 22006 invoked from network); 21 Apr 2005 19:22:38 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 21 Apr 2005 19:22:38 -0000 Received: from drow by nevyn.them.org with local (Exim 4.50 #1 (Debian)) id 1DOhG0-0002li-Qj; Thu, 21 Apr 2005 15:22:36 -0400 Date: Thu, 21 Apr 2005 19:22:00 -0000 From: Daniel Jacobowitz To: Manoj Iyer Cc: gdb-patches@sources.redhat.com Subject: Re: [RFC] Rearranging the build order fix link problem in tmp-ld-insn Message-ID: <20050421192236.GA10569@nevyn.them.org> Mail-Followup-To: Manoj Iyer , gdb-patches@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-04/txt/msg00256.txt.bz2 On Thu, Apr 21, 2005 at 02:20:26PM -0500, Manoj Iyer wrote: > > 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 take another look at my response the first time you posted this. I wrote: #2 is definitely wrong; there are missing dependencies somewhere. The order of things in a dependency line is not significant to make except accidentally. > 2005-04-21 Manoj Iyer > > * Rearranging the build order in sim/ppc/Makefile.in to fix build > break reported by AIX linker. Please pay more attention to your ChangeLog entries. * Makefile.in (tmp-igen): Rearrange the order of dependencies. -- Daniel Jacobowitz CodeSourcery, LLC