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]

Re: ia32 Linux objdump 001228 seg faults on sparc solaris binary


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."

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