Segfault with -pie on IA64
H. J. Lu
hjl@lucon.org
Fri Oct 31 16:01:00 GMT 2003
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.
More information about the Binutils
mailing list