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


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.


-- 
H.J. Lu (hjl@valinux.com)

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