This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: ia32 Linux objdump 001228 seg faults on sparc solaris binary
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: ia32 Linux objdump 001228 seg faults on sparc solaris binary
- From: Erik de Castro Lopo <erikd at zip dot com dot au>
- Date: Fri, 29 Dec 2000 22:23:36 +0000
- CC: binutils at sourceware dot cygnus dot com
- Organization: Erik Conspiracy Secret Labs
- References: <3A4C7054.4B75AB7D@zip.com.au> <20001229125946.A27720@valinux.com>
H . J . Lu wrote:
>
> On Fri, Dec 29, 2000 at 11:07:00AM +0000, Erik de Castro Lopo wrote:
> > Hi all,
> >
> > I new to this list and the binutils development effort.
> >
> > I've grabbed binutils-001228 from the ftp site and configured it
> > for linux using:
> >
> > ./configure --enable-shared --disable-static --enable-targets=all \
> > --enable-commonbfdlib --host=i686-pc-linux-gnu
> >
> > This binary works correctly for elf32-i386 and pei-i386 binaries but
> > any Sparc Solaris binary causes objdump to segfault. The same bnutils
> > source code compiled for the Solaris machine works correctly for this
> > binary.
> >
> > erikd@coltrane > objdump -a target1
> > Segmentation fault (core dumped)
> >
> > The binary (7k) can be obtained here:
> >
> > http://www.zip.com.au/~erikd/objdump/target1
> >
>
> I am using
>
> ..../configure --host=i686-pc-linux --prefix=/usr --enable-shared --enable-targets=all --enable-64-bit-bfd
>
> with binutils from CVS on 1229 under RedHat 7.0. I have no problems
> with your testcase.
Thanks, the added "--enable-64-bit-bfd" configure option fixed it.
Erik
--
+-------------------------------------------------+
Erik de Castro Lopo erikd@zip.com.au
+-------------------------------------------------+
Customer: "I'm running Windows '95.
Tech. Support: "I see."
Customer: "My computer isn't working now."
Tech. Support: "Yes, you already said that."