This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Segfault with -pie on IA64
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Ian Wienand <ianw at gelato dot unsw dot edu dot au>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 31 Oct 2003 08:01:24 -0800
- Subject: Re: Segfault with -pie on IA64
- References: <20031031044637.GG12478@cse.unsw.EDU.AU>
On Fri, Oct 31, 2003 at 03:46:37PM +1100, Ian Wienand wrote:
> Hi,
>
> Try
>
> echo "int main(void) { return 1; }" > test.c
> gcc -c test.c
> ld -pie -o test test.o `gcc --print-file-name crtbegin.o`
> Segmentation fault
>
> I have a feeling this is a gcc bug, but I thought I would run it by
> here first. The problem is essentially that set_fptr_entry() is
> getting an invalid pointer to 'info' from
> elf64_ia64_relocate_section().
>
There is no sufficient information to tell anything. You didn't say
which gcc, ld and libc you were using.
H.J.