RSB Problem with gdb-7.11

Chris Johns chrisj at
Tue Dec 11 21:01:44 UTC 2018

On 11/12/18 11:52 pm, Michael Westfall wrote:
> Hello,
> I was trying to use RSB to build the cross compiler toolchain for rtems 4.10 /
> powerpc, and after a couple of hours working (mostly spent building newlib), RSB
> failed with the following output:
> config: tools/rtems-gdb-7.11-1.cfg
> package: powerpc-rtems4.10-gdb-7.11-x86_64-linux-gnu-1
> building: powerpc-rtems4.10-gdb-7.11-x86_64-linux-gnu-1
> error: building powerpc-rtems4.10-gdb-7.11-x86_64-linux-gnu-1
> Build FAILED
>   See error report: rsb-report-powerpc-rtems4.10-gdb-7.11-x86_64-linux-gnu-1.txt
> error: building powerpc-rtems4.10-gdb-7.11-x86_64-linux-gnu-1
> Build Set: Time 1:55:31.187692
> Build FAILED
> Looking at the referenced error report, I see:
> checking whether to use python... yes
> checking for python... /usr/bin/python
> checking for python2.6... no
> configure: error: python is missing or unusable
> make[1]: *** [configure-gdb] Error 1
> make[1]: Leaving directory
> `/gem_sw/targetOS/RTEMS/rtems-4.10.2-devel/rtems-source-builder/rtems/build/powerpc-rtems4.10-gdb-7.11-x86_64-linux-gnu-1/build'
> make: *** [all] Error 2
> shell cmd failed: /bin/sh -ex 
> /gem_sw/targetOS/RTEMS/rtems-4.10.2-devel/rtems-source-builder/rtems/build/powerpc-rtems4.10-gdb-7.11-x86_64-linux-gnu-1/doit
> error: building powerpc-rtems4.10-gdb-7.11-x86_64-linux-gnu-1
> So, it seems to be an error with finding Python, but /usr/bin/python exists and
> is a hard link with /usr/bin/python2.6
> Additionally /usr/bin/python2 exists and is a soft link to /usr/bin/python.
> I don't understand why this is failing.  Ideas?

You need to install the Python development packages for your host so the
Python.h header file plus the libraries are available so gdb can link to them.


More information about the devel mailing list