Re: Different build time warnings for ticket 3908
Hii, I know everyone is quite busy with the coming release but I'd be glad if someone could answer a quick question: Does the gcc version affect build time warnings for a bsp? Thanks. On Wed, Apr 29, 2020 at 7:56 PM Richi Dubey wrote: > > Heyy everyone, > > Please help me clear a small doubt of mine. When I was building leon3 > to remove the warnings, I encountered the following warnings: > http://p.ip.fi/2-Dp. While Dr. Sherrill's warning in > https://ftp.rtems.org/pub/rtems/people/joel/warnings/warnings-5-20200408/warnings-all-5-20200408.txt > are sorted by bsps(I guess) have only the following warnings for > the leon3 bsp: http://p.ip.fi/SxO7. > > Why am I getting extra warnings? I have the latest rtems and the > pre-installed gcc on ubuntu. > > Thanks, > Richi. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
RSB fails to build qemu.bset
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: ... config: devel/qemu-git-1.cfg package: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 Creating source directory: sources/git git: clone: git://git.qemu-project.org/qemu.git -> sources/git/qemu.git git: pull: git://git.qemu-project.org/qemu.git git: checkout: git://git.qemu-project.org/qemu.git => 42d58e7c6760cb9c55627c28ae538e27dcf2f144 git: submodule: git://git.qemu-project.org/qemu.git <= dtc download: http://patchwork.ozlabs.org/patch/406903/raw -> patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch redirect: http://patchwork.ozlabs.org/project/qemu-devel/patch/1415176522-5944-1-git-send-email-... downloading: patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch - 666.0 bytes of 666.0 bytes (100%) download: https://gaisler.org/qemu/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch -> patches/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch downloading: patches/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch - 6.5kB of 6.5kB (100%) download: https://gaisler.org/qemu/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch -> patches/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch downloading: patches/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch - 8.5kB of 8.5kB (100%) download: https://gaisler.org/qemu/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch -> patches/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch downloading: patches/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch - 2.0kB of 2.0kB (100%) download: http://git.rtems.org/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process... -> patches/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch redirect: https://git.rtems.org/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-proces... downloading: patches/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch - 943.0 bytes of 943.0 bytes (100%) building: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 error: building qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 Build FAILED See error report: rsb-report-qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1.txt error: building qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 Build Set: Time 0:07:51.094391 Build FAILED The last lines of the log file: ... CC tests/qemu-iotests/socket_scm_helper.o GEN qemu-options.texi GEN qemu-monitor.texi GEN qemu-img-cmds.texi GEN qemu-tech.html GEN qemu-nbd.8 GEN qmp-commands.txt GEN kvm_stat.1 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 line 320. GEN qga/qapi-generated/qga-qapi-types.h Makefile:509: recipe for target 'qemu-nbd.8' failed make: *** [qemu-nbd.8] Error 255 make: *** Waiting for unfinished jobs 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 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? Regards, Cláudio ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel
Re: RSB fails to build qemu.bset
On Sat, May 2, 2020, 12:42 PM Cláudio Maia 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: > > ... > config: devel/qemu-git-1.cfg > package: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 > Creating source directory: sources/git > git: clone: git://git.qemu-project.org/qemu.git -> sources/git/qemu.git > git: pull: git://git.qemu-project.org/qemu.git > git: checkout: git://git.qemu-project.org/qemu.git => > 42d58e7c6760cb9c55627c28ae538e27dcf2f144 > git: submodule: git://git.qemu-project.org/qemu.git <= dtc > download: http://patchwork.ozlabs.org/patch/406903/raw -> > patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch > redirect: > http://patchwork.ozlabs.org/project/qemu-devel/patch/1415176522-5944-1-git-send-email-... log> > downloading: > patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch > - 666.0 bytes of 666.0 bytes (100%) > download: > https://gaisler.org/qemu/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch > -> patches/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch > downloading: patches/0001-LEON3-Add-emulation-of-AMBA-plug-play.patch - > 6.5kB of 6.5kB (100%) > download: > https://gaisler.org/qemu/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch > -> patches/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch > downloading: > patches/0002-LEON3-Build-AMBA-plug-and-play-records-from-high-lev.patch - > 8.5kB of 8.5kB (100%) > download: > https://gaisler.org/qemu/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch > -> patches/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch > downloading: > patches/0003-LEON3-Init-UART-timers-and-CPU-if-we-run-a-RAM-image.patch - > 2.0kB of 2.0kB (100%) > download: > http://git.rtems.org/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-process... log> -> > patches/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch > redirect: > https://git.rtems.org/rtems-tools/plain/tools/qemu/0001-openrisc-terminate-qemu-proces... log> > downloading: > patches/0001-openrisc-terminate-qemu-process-upon-receiving-a-hal.patch - > 943.0 bytes of 943.0 bytes (100%) > building: qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 > error: building > qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 > Build FAILED > See error report: > rsb-report-qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1.txt > error: building > qemu-42d58e7c6760cb9c55627c28ae538e27dcf2f144-x86_64-linux-gnu-1 > Build Set: Time 0:07:51.094391 > Build FAILED > > > The last lines of the log file: > > ... > CCtests/qemu-iotests/socket_scm_helper.o > GEN qemu-options.texi > GEN qemu-monitor.texi > GEN qemu-img-cmds.texi > GEN qemu-tech.html > GEN qemu-nbd.8 > GEN qmp-commands.txt > GEN kvm_stat.1 > 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 line 320. > GEN qga/qapi-generated/qga-qapi-types.h > Makefile:509: recipe for target 'qemu-nbd.8' failed > make: *** [qemu-nbd.8] Error 255 > make: *** Waiting for unfinished jobs > 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 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. 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 do