This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] [sim] --disable-sim on ppc* by default (for AIX) [Re: getaddrinfo available on all GDB hosts?]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, Eli Zaretskii <eliz at gnu dot org>, gdb-patches at sourceware dot org
- Date: Thu, 13 Feb 2014 12:04:49 +0100
- Subject: Re: [patch] [sim] --disable-sim on ppc* by default (for AIX) [Re: getaddrinfo available on all GDB hosts?]
- Authentication-results: sourceware.org; auth=none
- References: <20140210170244 dot GO2320 at home dot lan> <83vbwmuaj8 dot fsf at gnu dot org> <20140210195758 dot GA16956 at host2 dot jankratochvil dot net> <20140211034157 dot GG5485 at adacore dot com> <20140211200456 dot GA22728 at host2 dot jankratochvil dot net> <20140212030012 dot GO5485 at adacore dot com> <20140212120945 dot GA2109 at host2 dot jankratochvil dot net> <20140213073726 dot GU5485 at adacore dot com> <20140213104347 dot GA27475 at host2 dot jankratochvil dot net> <52FCA3A6 dot 3060408 at redhat dot com>
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