This is the mail archive of the
mailing list for the binutils project.
Re: h8300-hms-ld segmentation fault
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Thomas Halva Labella <hlabella at ulb dot ac dot be>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 17 Dec 2002 14:40:07 -0500
- Subject: Re: h8300-hms-ld segmentation fault
- References: <3DFF6FBD.firstname.lastname@example.org>
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/brickOS.lds -relax
> -L/home/myhome/tmp/brickos-0.2.6.09.newConf2/lib helloworld.o -lc
> -lmint -lfloat -lc++ -o helloworld.ds1 -Ttext 0xb000
> make: *** [helloworld.ds1] Segmentation fault
> make: *** Deleting file `helloworld.ds1'
> make: Leaving directory `/home/myhome/tmp/brickos-0.2.6.09.newConf2/demo'
> 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
MontaVista Software Debian GNU/Linux Developer