RTEMS Source Builder | RSB build failure on the latest code (#30)
yang zhang (@yang.zhang)
gitlab at rtems.org
Thu Aug 22 01:08:18 UTC 2024
yang zhang created an issue: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/30
## rsb build failure on the latest code
[rsb-log-20240821-104738.txt](/uploads/a754d4ffc67b7a31ef250d7d8b0440e2/rsb-log-20240821-104738.txt)
Log:
copy: /home/yangzhang/code/github/rtems-source-builder/rtems/build/tmp/aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1-1000 => /home/yangzhang/code/github/rtems-source-builder/rtems/build/tmp/sb-1000/tools/rtems-default-tools
reporting: tools/rtems-binutils-2.43.cfg -> aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1.txt
making dir: /home/yangzhang/code/github/rtems-source-builder/rtems/build/tmp/aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1-1000/home/yangzhang/RTEMS/rtems/6/share/rtems/rsb
reporting: tools/rtems-binutils-2.43.cfg -> aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1.xml
making dir: /home/yangzhang/code/github/rtems-source-builder/rtems/build/tmp/aarch64-rtems6-binutils-2.43-x86_64-linux-gnu-1-1000/home/yangzhang/RTEMS/rtems/6/share/rtems/rsb
config: tools/rtems-gcc-13.3-newlib-head.cfg
error: shell macro failed: cat "/home/yangzhang/code/github/rtems-source-builder/rtems/config/stdcxx-template.py" | sed "s/@RSB_GCC_VERSION@//bin/sh: 1: /home/yangzhang/RTEMS/rtems/6/bin/aarch64-rtems6-gcc: not found/g" > "/home/yangzhang/RTEMS/rtems/6/share/gdb/python/rtems/stdcxx.py": 2: /bin/sh: 1: cannot create /home/yangzhang/RTEMS/rtems/6/share/gdb/python/rtems/stdcxx.py: Directory nonexistent
## Steps to reproduce
1. git clone https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git
current commit is :632ccda714fdba59c39bb126cf417f2b101c8929
2. cd ~/rtems-source-builder/rtems
../source-builder/sb-set-builder --prefix="PATH" 6/rtems-aarch64
## Additional Information
First, i git clone https://github.com/RTEMS/rtems.git
when build with config.ini([aarch64/xilinx_zynqmp_lp64_qemu]) i found fail
Log:
../../../cpukit/libcsupport/src/getrusage.c: In function 'getrusage':
../../../cpukit/libcsupport/src/getrusage.c:113:8: error: 'RUSAGE_THREAD' undeclared (first use in this function); did you mean 'SIGEV_THREAD'?
113 | case RUSAGE_THREAD:
| ^~~~~~~~~~~~~
| SIGEV_THREAD
../../../cpukit/libcsupport/src/getrusage.c:113:8: note: each undeclared identifier is reported only once for each function it appears in
-------------------------------------
I found in the toolchain, only define RUSAGE_SELF and RUSAGE_SELF, no RUSAGE_THREAD, so i think i should update toolchain.
Then i clone the newest rsb code, and then build, but rsb build failure as above.
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/30
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240822/95650d20/attachment-0001.htm>
More information about the bugs
mailing list