This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Segfault with -pie on IA64
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Ian Wienand <ianw at gelato dot unsw dot edu dot au>
- Cc: binutils at sources dot redhat dot com
- Date: 30 Oct 2003 23:40:03 -0800
- Subject: Re: Segfault with -pie on IA64
- References: <20031031044637.GG12478@cse.unsw.EDU.AU>
On Thu, 2003-10-30 at 20:46, Ian Wienand wrote:
> 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 wasn't able to reproduce this. You didn't mention binutils version,
so I tried mainline sources. I tried it both on a debian-stable system
using a gcc-3.4 snapshot as the compiler, and via a cross compiler on a
x86 RHL8 system. Neither one segfaults.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com