This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Undefined reference to init/fini array symbols
- From: Pragnesh Sampat <pragnesh dot sampat at timesys dot com>
- To: Kristian Van Der Vliet <vanders at liqwyd dot com>
- Cc: bug-glibc at gnu dot org, binutils at sources dot redhat dot com
- Date: Fri, 23 Jan 2004 21:59:44 -0500
- Subject: Re: Undefined reference to init/fini array symbols
- References: <200401232107.25343.vanders@liqwyd.com>
On Fri, 2004-01-23 at 16:07, Kristian Van Der Vliet wrote:
> Apologies for the crosspost to both Glibc & Binutils lists. I am currently
> porting Glibc 2.3.2 to Syllable (See sig) and have the codebase upto the
> stage where it attempts to link libc_pic.a This currently fails with the
> following errors:
>
> ..
> /home/user/glibc-configure/libc_pic.os(.text+0x596): In function
> `__libc_csu_init':
> /home/user/glibc-2.3.2/csu/elf-init.c:54: undefined reference to
> `__preinit_array_end'
Did you try --enable-initfini-array option to gcc configure? I kind of
remember needing it, but don't recall what exact failures I got. Don't
know much about the option though, so I could be off base here.
-Pragnesh