This is the mail archive of the 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: h8300-hms-ld segmentation fault

On Tue, Dec 17, 2002 at 07:41:01PM +0100, Thomas Halva Labella wrote:
> I'm using ld as cross-linker on a Athlon XP, the target is a Hitachi 
> h8300-hms. I'm running RedHat Linux 8.0 (binutils 2.13.90 and gcc 3.2)
> The version of h8300-hms-ld is 2.13. The version of the cross compiler 
> is 3.2.1.
> When I try to compile, I get the following error:
> /home/myhome/bin/h8300-hms-ld -T ../boot/ -relax 
> -L/home/myhome/tmp/brickos- helloworld.o  -lc 
> -lmint -lfloat -lc++ -o helloworld.ds1 -Ttext 0xb000
> make[1]: *** [helloworld.ds1] Segmentation fault
> make[1]: *** Deleting file `helloworld.ds1'
> make[1]: Leaving directory `/home/myhome/tmp/brickos-'
> make: *** [all] Error 2
> Why does this happens?
> I'll be glad to have any suggestion on how to solve it. I put in 
> attachment the files I think might be useful.

Try removing the OUTPUT_FORMAT directive, and then using a separate
objcopy stage to convert to srec.  This is a known bug in the h8300

Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

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