From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15519 invoked by alias); 19 May 2011 09:49:40 -0000 Received: (qmail 15502 invoked by uid 22791); 19 May 2011 09:49:39 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mout1.freenet.de (HELO mout1.freenet.de) (195.4.92.91) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 May 2011 09:49:22 +0000 Received: from [195.4.92.23] (helo=13.mx.freenet.de) by mout1.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (port 25) (Exim 4.72 #5) id 1QMzr4-0006A2-I3; Thu, 19 May 2011 11:49:18 +0200 Received: from hsi-kbw-109-193-024-246.hsi7.kabel-badenwuerttemberg.de ([109.193.24.246]:61731 helo=[192.168.1.104]) by 13.mx.freenet.de with esmtpsa (ID ralf.corsepius@freenet.de) (TLSv1:CAMELLIA256-SHA:256) (port 587) (Exim 4.72 #5) id 1QMzr2-00071U-Nv; Thu, 19 May 2011 11:49:18 +0200 Message-ID: <4DD4E79A.4080404@rtems.org> Date: Thu, 19 May 2011 09:49:00 -0000 From: Ralf Corsepius User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: David Paterson CC: Keith Seitz , gdb@sourceware.org Subject: Re: Problem building GDB for sparc-rtems References: <4DD45A0F.4040909@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2011-05/txt/msg00094.txt.bz2 On 05/19/2011 10:53 AM, David Paterson wrote: > On Thu, May 19, 2011 at 12:45 AM, Keith Seitz wrote: >> On 05/16/2011 09:34 AM, David Paterson wrote: > cd build.gdb-7.2/ > rm -rf * > > ../../GCCSources/gdb-7.2/configure --target=sparc-rtems4.10.0 FWIW (should not matter, here): The offical target name is "sparc-rtems4.10". > --disable-shared --disable-nls \ > --disable-werror --disable-sim --with-gnu-as --with-gnu-ld > --prefix=/usr/local/SParcRtems > > make all > make install > > (run from a script file, rather than command line, but that also gives the same > result, as I tried it in case there was some script environment problem). > > For reference, I'm also using gmp-5.0.1, mpfr-3.0.1, mpc-0.9, binutils-2.21, > gcc-4.5.2 and newlib-1.19.0 (of course not all of those are used for GDB). > >> FWIW, I just built sparc-rtems on linux (Fedora 13) without incident from >> the 7.2 tarball, so it should work for you, too. I am building all *-rtems targets fairly frequently without many problems (cf. ftp://ftp.rtems.org/pub/rtems/linux/4.11). However gdb's dependencies are a royal pain and occasionally cause building gdb produce bizarre errors. Which host OS are you using? Did you check the output "running configure" produces? Occasionally, such build errors have their origin much earilier in the build-process, > Interesting. I'll try building some other targets as well, and see if > it's purely a > Sparc problem. I should have thought to try that... I'd guess on one of the usual supects: Do you have '.' in $PATH? Which CFLAGS are you using? Does your pwd contain white spaces? Did you check the output "configure produces"? Ralf