This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Segfault with -pie on IA64
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Ian Wienand <ianw at gelato dot unsw dot edu dot au>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 16 Nov 2003 22:19:26 -0500 (EST)
- Subject: Re: Segfault with -pie on IA64
On 16 Nov 2003, Jim Wilson wrote:
> The key to the problem is that you have to have a copy of crtbegin.o which
> uses init_array/fini_array sections with FPTR64LSB relocs. This happens only
> if you have recent binutils and gcc versions, and I think only if you are
> building a native, since gcc has to do a gas feature test to determine if it
> is safe to use init_array/fini_array.
Just a note to confirm that the feature test is performed using
a native feature test (AC_TRY_RUN, defaulting to no for
cross-builds). Though init/fini_array support in GCC can be
explicitly enabled with --enable-initfini-array.
brgds, H-P