<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 20, 2020 at 7:56 PM Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi<div><br></div><div>I think something is wrong with the build of spike that ends up with </div><div>a hard-coded path to inside a build tree:</div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Result: invalid    Time: 0:00:01.197748 mimfs_fslink.exe
=>  run: spike --isa=RV32IAC ./riscv-rtems5/c/rv32iac/testsuites/fstests/mimfs_fslink.exe
] Failed to run /home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1001/devel/spike/home/joel/rtems-cron-5/tools/5/bin/dtc: No such file or directory
] Child dtb process failed</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><a href="https://lists.rtems.org/pipermail/build/2020-March/011112.html" style="font-family:Arial,Helvetica,sans-serif" target="_blank">https://lists.rtems.org/pipermail/build/2020-March/011112.html</a><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:Arial,Helvetica,sans-serif">Does spike work if there isn't this problem?</span><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I can poke at the host exes to see if the dtc path is hard-coded. Otherwise, this seems very strange.</pre></div></div></blockquote><div><br></div><div>I can confirm that spike built with the RSB has the hard-coded </div><div>path to dtc that is in the temporary RSB build/staging directories. </div><div><br></div><div>$ strings spike | grep dtc<br>/home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1001/devel/spike/home/joel/rtems-cron-5/tools/5/bin/dtc<br>Failed to run /home/joel/rtems-cron-5/rtems-source-builder/bare/build/tmp/sb-1001/devel/spike/home/joel/rtems-cron-5/tools/5/bin/dtc: <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:Arial,Helvetica,sans-serif">Any ideas?</span><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><span style="font-family:Arial,Helvetica,sans-serif">--joel</span><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"></pre></div></div>
</blockquote></div></div>