Segfault with -pie on IA64

Hans-Peter Nilsson hp@bitrange.com
Mon Nov 17 03:19:00 GMT 2003
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



More information about the Binutils mailing list