[rtems-crossrpms commit] Fix typo in readline handling.
Ralf Corsepius
ralf.corsepius at rtems.org
Tue Oct 2 07:31:47 UTC 2012
On 10/02/2012 05:36 AM, Chris Johns wrote:
> Ralf Corsepius wrote:
>>
>> Disable sim for microblaze-gdb-7.5 on mingw.
>>
>
> What has failed ?
cf. gdb/gdb.add:
...
%if "@tool_target@" == "microblaze-rtems at rtems_api@"
%ifos mingw mingw32
%if "%{gdb_version}" == "7.5"
# Mingw lacks sys/times.h, required by the microblaze simulator
%define build_sim --disable-sim
%endif
%endif
%endif
...
# grep sys/times.h sim/microblaze/*
sim/microblaze/interp.c:#include <sys/times.h>
Mingw doesn't have <sys/times.h> => FTBFS
> Did 7.4 work ?
I don't know, if it _worked_ - It did compile, even though gdb-7.4 uses
the same include <sys/times.h>
So, my (wild) guess would be microblaze-gdb-7.4 had not been built
correctly and now is victim of something having been fixed elsewhere[1]
or something now is broken [2]
Ralf
[1] The GDB-7.x series always has had a lot of configuation related
issues. AFAICT, most of these issues had existed before, but now seem to
be more visible, with mingw apparently being the worst case scenario.
[2] Since gdb-7.5 was released, gdb-7_5-branch has seen patches which
could be relevant here.
More information about the devel
mailing list