<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>
<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: var(--default-regular-font, "GitLab Sans"),-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">
<p class="details" style="font-style: italic; color: #737278;">
<a href="https://gitlab.rtems.org/yang.zhang">yang zhang</a> created an issue: <a href="https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/30">#30</a>
</p>
<div class="md" style="color: #333238; word-wrap: break-word;">
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: .3em; border-bottom-width: 1px; border-bottom-color: #bfbfc3; border-bottom-style: solid; color: #333238; margin: 0 0 16px;" align="initial">
<a href="#rsb-build-failure-on-the-latest-code" aria-hidden="true" class="anchor" id="user-content-rsb-build-failure-on-the-latest-code" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>rsb build failure on the latest code</h2>
<p dir="auto" style="color: #333238; margin: 0 0 16px;" align="initial"><a href="https://gitlab.rtems.org/-/project/7/uploads/a754d4ffc67b7a31ef250d7d8b0440e2/rsb-log-20240821-104738.txt" data-canonical-src="/uploads/a754d4ffc67b7a31ef250d7d8b0440e2/rsb-log-20240821-104738.txt" data-link="true" class="gfm" style="margin-top: 0;">rsb-log-20240821-104738.txt</a>
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</p>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: .3em; border-bottom-width: 1px; border-bottom-color: #bfbfc3; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a href="#steps-to-reproduce" aria-hidden="true" class="anchor" id="user-content-steps-to-reproduce" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Steps to reproduce</h2>
<ol dir="auto" style="text-align: initial; margin: 0 0 16px; padding: 0;">
<li style="margin-top: 0; line-height: 1.6em; margin-left: 25px; padding-left: 3px;">git clone <a href="https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git" style="margin-top: 0;">https://gitlab.rtems.org/rtems/tools/rtems-source-builder.git</a>
current commit is :<a href="https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/commit/632ccda714fdba59c39bb126cf417f2b101c8929" data-reference-type="commit" data-original="632ccda714fdba59c39bb126cf417f2b101c8929" data-link="false" data-link-reference="false" data-commit="632ccda714fdba59c39bb126cf417f2b101c8929" data-project="7" data-container="body" data-placement="top" title="rtems/config/tools: modified gcc-13.3-newlib to define macro signifying RTEMS build" class="gfm gfm-commit has-tooltip" style='font-family: var(--default-mono-font, "GitLab Mono"),"JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; font-variant-ligatures: none; font-size: 95%;'>632ccda7</a>
</li>
<li style="line-height: 1.6em; margin-left: 25px; padding-left: 3px;">cd ~/rtems-source-builder/rtems
../source-builder/sb-set-builder --prefix="PATH" 6/rtems-aarch64</li>
</ol>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: .3em; border-bottom-width: 1px; border-bottom-color: #bfbfc3; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a href="#additional-information" aria-hidden="true" class="anchor" id="user-content-additional-information" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Additional Information</h2>
<h2 dir="auto" style="font-size: 1.5em; font-weight: 600; padding-bottom: .3em; border-bottom-width: 1px; border-bottom-color: #bfbfc3; border-bottom-style: solid; color: #333238; margin: 24px 0 16px;" align="initial">
<a href="#first-i-git-clone-httpsgithubcomrtemsrtemsgit-when-build-with-configiniaarch64xilinx_zynqmp_lp64_qemu-i-found-fail-log-cpukitlibcsupportsrcgetrusagec-in-function-getrusage-cpukitlibcsupportsrcgetrusagec1138-error-rusage_thread-undeclared-first-use-in-this-function-did-you-mean-sigev_thread-113----case-rusage_thread------------------sigev_thread-cpukitlibcsupportsrcgetrusagec1138-note-each-undeclared-identifier-is-reported-only-once-for-each-function-it-appears-in" aria-hidden="true" class="anchor" id="user-content-first-i-git-clone-httpsgithubcomrtemsrtemsgit-when-build-with-configiniaarch64xilinx_zynqmp_lp64_qemu-i-found-fail-log-cpukitlibcsupportsrcgetrusagec-in-function-getrusage-cpukitlibcsupportsrcgetrusagec1138-error-rusage_thread-undeclared-first-use-in-this-function-did-you-mean-sigev_thread-113----case-rusage_thread------------------sigev_thread-cpukitlibcsupportsrcgetrusagec1138-note-each-undeclared-identifier-is-reported-only-once-for-each-function-it-appears-in" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>First, i git clone <a href="https://github.com/RTEMS/rtems.git" rel="nofollow noreferrer noopener" target="_blank">https://github.com/RTEMS/rtems.git</a>
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</h2>
<p dir="auto" style="color: #333238; margin: 0;" align="initial">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.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">
—
<br>
<a href="https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/30">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.rtems.org">gitlab.rtems.org</a>. <a href="https://gitlab.rtems.org/-/sent_notifications/c2d96fc7aa5c420e67590cbffbbaf23f/unsubscribe" target="_blank" rel="noopener noreferrer">Unsubscribe</a> from this thread · <a href="https://gitlab.rtems.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.rtems.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/issues/30"}}</script>
</p>
</div>
</body>
</html>