here.
On Tue, May 1, 2018 at 3:24 PM Amaan Cheval wrote:
> Hi!
> The x86_64 RTEMS target doesn't currently have gcc build crti.o and
crtn.o. This
> surfaces as undefined references to "_fini", which RTEMS references in its
> kernel:
> https://git.rtems.org/rtems
gcc.git;a=blob;f=libgcc/config/i386/crti.S;h=c25e8f9e3ab45e935f6287d5ed3a8437a289e059;hb=HEAD
The patch is as follows:
libgcc/ChangeLog:
2018-05-01 Amaan Cheval
* config.host: Build i386's crti.o and crtn.o for x8
ttps://git.rtems.org/rtems-source-builder/tree/rtems/config/5/rtems-x86_64.bset#n4
[2]
https://git.rtems.org/rtems-source-builder/tree/rtems/config/5/rtems-default.bset#n14
> I am starting a build with this now. If Sebastian pushes it before me,
> that's OK.
> --joel
> On Fri,
to rtems-source-builder and built gcc to
verify that it works (in that the new switches do not throw "unrecognized
command line option" errors anymore, at least). Let me know if you'd like a
patch to test with rtems-source-builder, if that makes it easier for you to
verify.
Thanks!
gcc