Source builder mingw32 fails in gdb

Chris Johns chrisj at rtems.org
Tue Oct 29 03:27:16 UTC 2013


On 29/10/2013 1:48 pm, Gene Smith wrote:
> On 10/28/2013 04:32 PM, Chris Johns wrote:
>>
>> Does 4.11 for MinGW32 build ok ?
>>
>> Chris
>
> Not much luck with 4.11 on f16 with mingw32 either. It does get past the
> gcc/newlib build with no segfaults. However, still fails on gdb for 2
> reasons.
>
> The first is that "gdb configure" can't find expat. I had to install the
> mingw32 version of expat even though it appears to be built by the tool
> at the start.
>

There should be a cross-compiled version of expat which means the paths 
are not working. Hmm.

I also pushed a change the other day related to library paths to fix 
building on MacOS Maverick. I wonder if I have broken something.

> After that gdb configure still fails the same way as 4.10 on f14 and f16
> in that it can't find run.exe:
>
> make[3]: Entering directory
> `/home/gene/development/rtems/src/rtems-source-builder/rtems/build/arm-rtems4.11-gdb-7.6-1/build-cxc/sim/arm'
>
> /bin/sh ../../../gdb-7.6/sim/arm/../../mkinstalldirs
> /home/gene/development/rtems/src/rtems-source-builder/rtems/build/tmp/arm-rtems4.11-gdb-7.6-1-root-gene/home/gene/development/rtems/4.11/bin
>
> mkdir -p --
> /home/gene/development/rtems/src/rtems-source-builder/rtems/build/tmp/arm-rtems4.11-gdb-7.6-1-root-gene/home/gene/development/rtems/4.11/bin
>
> /bin/sh ../../../gdb-7.6/sim/arm/../../mkinstalldirs
> /home/gene/development/rtems/src/rtems-source-builder/rtems/build/tmp/arm-rtems4.11-gdb-7.6-1-root-gene/home/gene/development/rtems/4.11/lib
>
> n=`echo run | sed 's&^&arm-rtems4.11-&'`; \
> /usr/bin/install -c run.exe
> /home/gene/development/rtems/src/rtems-source-builder/rtems/build/tmp/arm-rtems4.11-gdb-7.6-1-root-gene/home/gene/development/rtems/4.11/bin/$n.exe
>
> /usr/bin/install: cannot stat `run.exe': No such file or directory
>

This one is strange. I will see if I can reproduce the issue on an RTEMS 
Fedora machine. I do not build on Fedora often and I have not built 
MinGW tools on it.

Chris



More information about the users mailing list