Make GLIBC use crti.o provided by GCC

William Tambe tambewilliam@gmail.com
Tue Feb 25 19:16:00 GMT 2020


On Tue, Feb 25, 2020 at 11:20 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * William Tambe:
>
> > On Sun, Feb 23, 2020 at 7:59 PM William Tambe <tambewilliam@gmail.com> wrote:
> >>
> >> GLIBC fail to build with the following error:
> >> No rule to make target '/glibc-build/csu/crti.o', needed by 'subdir_lib'.  Stop.
> >>
> >> What can be done to make GLIBC use crti.o provided by GCC ?
> >
> > Any idea ?
>
> Does your target use DT_INIT and DT_FINI?

I don't understand.

DT_INIT and DT_FINI are macros defined in elf/elf.h.

I cannot tell how using DT_INIT and DT_FINI prevent the following error:
 No rule to make target '/glibc-build/csu/crti.o', needed by
'subdir_lib'.  Stop.

>
> Thanks,
> Florian
>



More information about the Libc-help mailing list