x86_64 gcc missing crti/n

Amaan Cheval amaan.cheval at gmail.com
Thu Mar 14 17:29:29 UTC 2019


Quick note; I'm not at the computer, but I haven't tested with the RTEMS 6
buildsets - I can do that tomorrow too.

On Thu, Mar 14, 2019, 10:52 PM Amaan Cheval <amaan.cheval at gmail.com> wrote:

> Hey!
>
> It seems like the RSB patch for crt[i/n] was mistakenly taken out
> along with other stuff:
>
> https://git.rtems.org/rtems-source-builder/commit/?id=258129e140a2f0c7f579492bda2a86c6c1b93080
>
> I'm on a new computer where I'll have to compile git from source to
> use `send-email` to send the patch, so I've just attached it here -
> hope that's okay! (I can send it properly tomorrow if we want the
> community to review it.)
>
> I've tested that with this patch, the RTEMS kernel does successfully build.
>
>
> On Thu, Mar 14, 2019 at 8:52 PM Joel Sherrill <joel at rtems.org> wrote:
> >
> > Hi
> >
> > Sebastian mentioned that x86_64 gcc is missing crti/n. I looked on the
> > GCC master and the code is in libgcc/config.host. This is in
> > libgcc/config.host on the master. I am assuming it  isn't in gcc 7.4.0
> > and the RSB is missing a patch.
> >
> > x86_64-*-elf* | x86_64-*-rtems*)
> >         tmake_file="$tmake_file i386/t-crtstuff t-crtstuff-pic
> t-libgcc-pic"
> >         case ${host} in
> >           x86_64-*-rtems*)
> >             extra_parts="$extra_parts crti.o crtn.o"
> >             ;;
> >         esac
> >         ;;
> >
> > Thanks to git blame, the code is from Amaan and the github URL
> > for the patch is:
> >
> >
> https://github.com/gcc-mirror/gcc/commit/ab55f7db3694293e4799d58f7e1a556c0eae863a
> >
> > Amaan.. care to prepare an RSB patch so crti/n is included in the tools
> from the
> > RSB. Please and thank you.
> >
> > --joel
> > _______________________________________________
> > devel mailing list
> > devel at rtems.org
> > http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190314/e4569de2/attachment-0002.html>


More information about the devel mailing list