This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Segfault with -pie on IA64


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]