<!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: "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: "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/frank_k">Frank Kuehndel</a> created an issue: <a href="https://gitlab.rtems.org/rtems/docs/rtems-docs/-/issues/56">#56</a>
</p>
<div class="md" style="position: relative; z-index: 1; color: #28272d; 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: #28272d; margin: 0 0 16px;" align="initial">
<a href="#summary" aria-hidden="true" class="anchor" id="user-content-summary" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Summary</h2>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">Executing the exact instructions from the <a href="https://docs.rtems.org/branches/master/user/rust/bare-metal.html#bare-metal-rust-with-rtems" rel="nofollow noreferrer noopener" target="_blank" style="margin-top: 0;">rtems user manual</a> results in error message <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>rustc-LLVM ERROR: SPARCv8 does not handle f128 in calls; pass indirectly</code> when Rust attempts to compile <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>core (lib)</code>. The output looks like:</p>
<div class="gl-relative markdown-code-block js-markdown-code">
<pre class="code highlight js-syntax-highlight language-plaintext" v-pre="true" style='display: block; font-size: 14px; color: #28272d; line-height: 1.6em; overflow-x: auto; border-radius: .25rem; position: relative; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; margin: 0 0 16px; padding: 12px; border: 1px solid #dcdcde;'><code style='font-size: inherit; color: inherit; word-wrap: normal; word-break: keep-all; background-color: inherit; border-radius: .25rem; white-space: pre; margin-top: 0; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; overflow-wrap: normal; padding: unset;'><span id="LC1" class="line" lang="plaintext" style="margin-top: 0;">+ cargo +nightly build --target=sparc-unknown-none-elf</span>
<span id="LC2" class="line" lang="plaintext">    Updating crates.io index</span>
<span id="LC3" class="line" lang="plaintext"> Downloading crates ...</span>
<span id="LC4" class="line" lang="plaintext">  Downloaded getopts v0.2.21</span>
<span id="LC5" class="line" lang="plaintext">  Downloaded allocator-api2 v0.2.18</span>
<span id="LC6" class="line" lang="plaintext">  Downloaded cfg-if v1.0.0</span>
<span id="LC7" class="line" lang="plaintext">  Downloaded addr2line v0.22.0</span>
<span id="LC8" class="line" lang="plaintext">  Downloaded adler v1.0.2</span>
<span id="LC9" class="line" lang="plaintext">  Downloaded rustc-demangle v0.1.24</span>
<span id="LC10" class="line" lang="plaintext">  Downloaded miniz_oxide v0.7.4</span>
<span id="LC11" class="line" lang="plaintext">  Downloaded memchr v2.7.4</span>
<span id="LC12" class="line" lang="plaintext">  Downloaded hashbrown v0.15.0</span>
<span id="LC13" class="line" lang="plaintext">  Downloaded compiler_builtins v0.1.138</span>
<span id="LC14" class="line" lang="plaintext">  Downloaded unicode-width v0.1.14</span>
<span id="LC15" class="line" lang="plaintext">  Downloaded gimli v0.29.0</span>
<span id="LC16" class="line" lang="plaintext">  Downloaded object v0.36.5</span>
<span id="LC17" class="line" lang="plaintext">  Downloaded libc v0.2.161</span>
<span id="LC18" class="line" lang="plaintext">   Compiling compiler_builtins v0.1.138</span>
<span id="LC19" class="line" lang="plaintext">   Compiling core v0.0.0 (/home/ferris/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core)</span>
<span id="LC20" class="line" lang="plaintext">   Compiling rustc-std-workspace-core v1.99.0 (/home/ferris/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core)</span>
<span id="LC21" class="line" lang="plaintext">rustc-LLVM ERROR: SPARCv8 does not handle f128 in calls; pass indirectly</span>
<span id="LC22" class="line" lang="plaintext">error: could not compile `core` (lib)</span>
<span id="LC23" class="line" lang="plaintext">Caused by:</span>
<span id="LC24" class="line" lang="plaintext">  process didn't exit successfully: `/home/ferris/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/rustc --crate-name core --edition=2021 /home/ferris/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --warn=unexpected_cfgs --check-cfg 'cfg(bootstrap)' --check-cfg 'cfg(no_fp_fmt_parse)' --check-cfg 'cfg(stdarch_intel_sde)' --check-cfg 'cfg(target_os, values("rtems"))' --check-cfg 'cfg(feature, values(any()))' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("debug_refcell", "optimize_for_size", "panic_immediate_abort"))' -C metadata=f5f91e83da362cb6 -C extra-filename=-f5f91e83da362cb6 --out-dir /home/ferris/example-rust/hello-rtems/target/sparc-unknown-none-elf/debug/deps --target sparc-unknown-none-elf -C linker=sparc-rtems6-gcc -Z force-unstable-if-unmarked -L dependency=/home/ferris/example-rust/hello-rtems/target/sparc-unknown-none-elf/debug/deps -L dependency=/home/ferris/example-rust/hello-rtems/target/debug/deps --cap-lints allow -Ctarget-cpu=leon3 -Clinker-flavor=gcc -Clink-arg=-mcpu=leon3 -Clink-arg=-latomic` (exit status: 101)</span></code></pre>
<copy-code></copy-code><insert-code-snippet></insert-code-snippet>
</div>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">The first known buggy build was:</p>
<table dir="auto" style="border-spacing: 0; text-align: initial; color: #28272d; width: auto; display: block; overflow-x: auto; border-collapse: collapse; margin: 16px 0; border-width: 0;">
<thead style="margin-top: 0;">
<tr style="margin-top: 0;">
<th style="line-height: 20px; margin-top: 0; padding: 10px 16px; border-color: #dcdcde #dcdcde #bfbfc3; border-style: solid; border-width: 1px 1px 2px;" bgcolor="#fbfafd" valign="top"></th>
<th style="line-height: 20px; padding: 10px 16px; border-color: #dcdcde #dcdcde #bfbfc3; border-style: solid; border-width: 1px 1px 2px;" bgcolor="#fbfafd" valign="top">Version/Commmit</th>
</tr>
</thead>
<tbody style="background-color: #ffffff;">
<tr style="margin-top: 0;">
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">Date:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">2024-11-14T02:33:12+01:00</td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">rtems-docs:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top"><a href="https://gitlab.rtems.org/rtems/docs/rtems-docs/-/commit/9e8141cb5ec9d1244ecb1e5f0fdb73fc6f02ce51" data-reference-type="commit" data-original="9e8141cb5ec9d1244ecb1e5f0fdb73fc6f02ce51" data-link="false" data-link-reference="false" data-commit="9e8141cb5ec9d1244ecb1e5f0fdb73fc6f02ce51" data-project="12" data-container="body" data-placement="top" title="user/zynqmp: Reword for BSP renaming" class="gfm gfm-commit has-tooltip" style='font-family: "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%; margin-top: 0;'>9e8141cb</a></td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">rtems-source-builder:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">d82e3f433ba1441dc97e9d3c78eb0eb93212ed16</td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">rtems:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">f7b04e72f86e6c26028f774c85beacb1e063c87e</td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">cargo:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">1.82.0 (8f40fc59f 2024-08-21)</td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">rustc:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">1.84.0-nightly (8adb4b30f 2024-11-13)</td>
</tr>
</tbody>
</table>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">The last known good build was:</p>
<table dir="auto" style="border-spacing: 0; text-align: initial; color: #28272d; width: auto; display: block; overflow-x: auto; border-collapse: collapse; margin: 16px 0; border-width: 0;">
<thead style="margin-top: 0;">
<tr style="margin-top: 0;">
<th style="line-height: 20px; margin-top: 0; padding: 10px 16px; border-color: #dcdcde #dcdcde #bfbfc3; border-style: solid; border-width: 1px 1px 2px;" bgcolor="#fbfafd" valign="top"></th>
<th style="line-height: 20px; padding: 10px 16px; border-color: #dcdcde #dcdcde #bfbfc3; border-style: solid; border-width: 1px 1px 2px;" bgcolor="#fbfafd" valign="top">Version/Commmit</th>
</tr>
</thead>
<tbody style="background-color: #ffffff;">
<tr style="margin-top: 0;">
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">Date:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">2024-11-13T02:33:13+01:00</td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">rtems-docs:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top"><a href="https://gitlab.rtems.org/rtems/docs/rtems-docs/-/commit/4d2c0048e536648c4f6d9346f01868c1e7463ed3" data-reference-type="commit" data-original="4d2c0048e536648c4f6d9346f01868c1e7463ed3" data-link="false" data-link-reference="false" data-commit="4d2c0048e536648c4f6d9346f01868c1e7463ed3" data-project="12" data-container="body" data-placement="top" title="user/bsps/zynqmp: Fix start address in mkimage" class="gfm gfm-commit has-tooltip" style='font-family: "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%; margin-top: 0;'>4d2c0048</a></td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">rtems-source-builder:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">d82e3f433ba1441dc97e9d3c78eb0eb93212ed16</td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">rtems:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">30fc123f8d65310772a07926acb7b0413e28b624</td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">cargo:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">1.82.0 (8f40fc59f 2024-08-21)</td>
</tr>
<tr>
<td style="line-height: 20px; margin-top: 0; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">rustc:</td>
<td style="line-height: 20px; padding: 10px 16px; border: 1px solid #dcdcde;" valign="top">1.84.0-nightly (f7273e004 2024-11-12)</td>
</tr>
</tbody>
</table>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">I assume this is a new bug in Rust <em style="margin-top: 0;">nigthly</em>.</p>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">By the way, the build of hello world for Risc V (which is also part of the RTEMS user manual instructions) is not affected and works fine. It uses the <em style="margin-top: 0;">standard</em> <code style='font-size: 90%; color: #18171d; word-wrap: break-word; background-color: #ececef; border-radius: .25rem; font-weight: inherit; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; vertical-align: bottom; white-space: pre-wrap; overflow-wrap: break-word; word-break: keep-all; padding: 2px 4px;'>rustc</code> and not the <em>nightly</em> one.</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: #28272d; 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>
<p dir="auto" style="color: #28272d; margin: 0 0 16px;" align="initial">Follow the instructions in <a href="https://docs.rtems.org/branches/master/user/rust/bare-metal.html#bare-metal-rust-with-rtems" rel="nofollow noreferrer noopener" target="_blank" style="margin-top: 0;">Bare Metal Rust with RTEMS</a></p>
<h3 dir="auto" style="font-size: 1.3em; margin: 24px 0 0;" align="initial">
<a href="#pre-set-options" aria-hidden="true" class="anchor" id="user-content-pre-set-options" style="margin-top: 0; float: left; margin-left: -20px; text-decoration: none; outline: none;"></a>Pre-set options</h3>
</div>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">

<br>
<a href="https://gitlab.rtems.org/rtems/docs/rtems-docs/-/issues/56">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/146b4158f3b3c69ff2661ee1b84db315/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/docs/rtems-docs/-/issues/56"}}</script>


</p>
</div>
</body>
</html>