RSB fails to build qemu.bset

Cláudio Maia clrrm at isep.ipp.pt
Sun May 3 12:11:34 UTC 2020



On 02/05/20 19:33, Joel Sherrill wrote:
>
>
> On Sat, May 2, 2020, 12:42 PM Cláudio Maia <clrrm at isep.ipp.pt <mailto:clrrm at isep.ipp.pt>> wrote:
>
>     Hello everyone,
>
>     I'm trying to build the toolchain for the build set devel/qemu.bset with the goal of executing RTEMS applications on top of LEON3 bsp on QEMU.
>     Unfortunately, when I build the toolchain using:
>
>     $ ../source-builder/sb-set-builder --prefix=$RTEMS/5 devel/qemu.bset
>
>     the following error occurs, for which I don't have a clue on how to fix:
>
<snip>
>
>     ...
>     Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\@strong{ <-- HERE (.*)}$/ at /home/crrm/Documents/projects/rtems/rsb/rtems/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144/scripts/texi2pod.pl <http://texi2pod.pl> line 320.
>     Makefile:515: recipe for target 'kvm_stat.1' failed
>     make: *** [kvm_stat.1] Error 255
>     shell cmd failed: /bin/sh -ex  /home/crrm/Documents/projects/rtems/rsb/rtems/build/qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1/do-build
>
>     Can someone help me fixing this?
>
>     As a side note, I was looking for information on RTEMS documentation about how to run RTEMS applications on LEON3 under QEMU, and I could not find any.
>     Do you know if such information exists?
>
>
> If this is a recent Linux distribution, try the qemu4 bset.

This is the case. Building from scratch with devel/qemu4.bset works as expected.

>
> The qemu.bset is for an older version of qemu which seems to have build issues on newer hosts. 
>
> Qemu5 was also recently released.
>
> I suspect we need to renamed this to have a major number on the end. That might encourage picking a newer release.
>
> FWIW qemu4 builds on Centos 7 which means newer qemu on older Linux works where older qemu on newer Linux doesn't. 
>
> --joel
>
>

Thank you.

Regards,
Cláudio



More information about the devel mailing list