<div dir="auto">Quick note; I'm not at the computer, but I haven't tested with the RTEMS 6 buildsets - I can do that tomorrow too.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 14, 2019, 10:52 PM Amaan Cheval <<a href="mailto:amaan.cheval@gmail.com">amaan.cheval@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey!<br>
<br>
It seems like the RSB patch for crt[i/n] was mistakenly taken out<br>
along with other stuff:<br>
<a href="https://git.rtems.org/rtems-source-builder/commit/?id=258129e140a2f0c7f579492bda2a86c6c1b93080" rel="noreferrer noreferrer" target="_blank">https://git.rtems.org/rtems-source-builder/commit/?id=258129e140a2f0c7f579492bda2a86c6c1b93080</a><br>
<br>
I'm on a new computer where I'll have to compile git from source to<br>
use `send-email` to send the patch, so I've just attached it here -<br>
hope that's okay! (I can send it properly tomorrow if we want the<br>
community to review it.)<br>
<br>
I've tested that with this patch, the RTEMS kernel does successfully build.<br>
<br>
<br>
On Thu, Mar 14, 2019 at 8:52 PM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank" rel="noreferrer">joel@rtems.org</a>> wrote:<br>
><br>
> Hi<br>
><br>
> Sebastian mentioned that x86_64 gcc is missing crti/n. I looked on the<br>
> GCC master and the code is in libgcc/config.host. This is in<br>
> libgcc/config.host on the master. I am assuming it isn't in gcc 7.4.0<br>
> and the RSB is missing a patch.<br>
><br>
> x86_64-*-elf* | x86_64-*-rtems*)<br>
> tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic t-libgcc-pic"<br>
> case ${host} in<br>
> x86_64-*-rtems*)<br>
> extra_parts="$extra_parts crti.o crtn.o"<br>
> ;;<br>
> esac<br>
> ;;<br>
><br>
> Thanks to git blame, the code is from Amaan and the github URL<br>
> for the patch is:<br>
><br>
> <a href="https://github.com/gcc-mirror/gcc/commit/ab55f7db3694293e4799d58f7e1a556c0eae863a" rel="noreferrer noreferrer" target="_blank">https://github.com/gcc-mirror/gcc/commit/ab55f7db3694293e4799d58f7e1a556c0eae863a</a><br>
><br>
> Amaan.. care to prepare an RSB patch so crti/n is included in the tools from the<br>
> RSB. Please and thank you.<br>
><br>
> --joel<br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>