GAS 2.11.1 doesn't work for sh-hitachi-coff

Schirmer, Hartmut SchirmerH@Innovative-Systems.de
Tue Jun 12 03:59:00 GMT 2001


Hi Nick,

> > for target sh-hitachi-coff. GAS from 2.11.1pre1 fails:
>  
> > /cygdrive/c/TEMP/cc1oUj4A.s:1: Fatal error: dwarf2 is not supported
> > for this object file format
> 
> This appears to be a gcc configuration problem.  The COFF file format
> does not support the DWARF2 debug format, so gcc should not be
> producing it in the first place.

I managed to build GCC using gas 2.10.1 without any problem.

> I would suggest that you investigate why the STABS debug format is not
> being used by gcc.

Seems to be a general problem. Using gas 2.11.1 fails for my target
too. I don't use debug information here (no -g to GCC).

Hartmut



More information about the Binutils mailing list