x86_64 gcc missing crti/n

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


It seems like the RSB patch for crt[i/n] was mistakenly taken out
along with other stuff:

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 --------------
A non-text attachment was scrubbed...
Name: 0001-5-Fix-x86_64-GCC-build-to-include-crt-in-.o.patch
Type: text/x-patch
Size: 1198 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190314/f895a1f9/attachment-0002.bin>

More information about the devel mailing list