From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28536 invoked by alias); 13 Feb 2014 11:04:58 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 28526 invoked by uid 89); 13 Feb 2014 11:04:57 -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_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 13 Feb 2014 11:04:57 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s1DB4sEx030504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 13 Feb 2014 06:04:54 -0500 Received: from host2.jankratochvil.net (ovpn-116-93.ams2.redhat.com [10.36.116.93]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s1DB4oUk023358 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 13 Feb 2014 06:04:52 -0500 Date: Thu, 13 Feb 2014 11:04:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: Joel Brobecker , Eli Zaretskii , gdb-patches@sourceware.org Subject: Re: [patch] [sim] --disable-sim on ppc* by default (for AIX) [Re: getaddrinfo available on all GDB hosts?] Message-ID: <20140213110449.GA28469@host2.jankratochvil.net> References: <20140210170244.GO2320@home.lan> <83vbwmuaj8.fsf@gnu.org> <20140210195758.GA16956@host2.jankratochvil.net> <20140211034157.GG5485@adacore.com> <20140211200456.GA22728@host2.jankratochvil.net> <20140212030012.GO5485@adacore.com> <20140212120945.GA2109@host2.jankratochvil.net> <20140213073726.GU5485@adacore.com> <20140213104347.GA27475@host2.jankratochvil.net> <52FCA3A6.3060408@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52FCA3A6.3060408@redhat.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00455.txt.bz2 On Thu, 13 Feb 2014 11:51:18 +0100, Pedro Alves wrote: > On 02/13/2014 10:43 AM, Jan Kratochvil wrote: > > > bzip2 -dc gdb-7.7.tar.bz2|tar xf -;cd gdb-7.7;./configure;make > > gcc -g -O2 -I. -I. -I./../../include -I../../bfd -I./../../bfd -I../../gdb -I./../../gdb -I./../../gdb/config -I. -I../common -I./../common -o gentmap > > gcc: fatal error: no input files > > compilation terminated. > > make: 1254-004 The error code from the last command is 1. > > > > (BTW it builds OK on RHEL-5 ppc64.) > > > > But I have figured out now it builds with --disable-sim . Maybe to disable > > ppc* sim by default? > > I don't see how that makes sense. This sounds like a host > issue rather than a target issue? The mail was about two unrelated problems: (1) GDB by default fails to build on some archs of AIX. This could be fixed. Currently I do not know how but there is some way. (2) The ppc sim target is useless. Therefore it wastes time of people trying to use it. By fixing (2) one also fixes (1) as a side effect. Fixing just (2) on its own makes sense. The patch below is to fix (2). Jan