native x86_64-pc-mingw32-as.exe failed to work

H.J. Lu hjl@lucon.org
Fri Sep 14 13:50:00 GMT 2007


On Fri, Sep 14, 2007 at 07:19:30PM +0800, zhou drangon wrote:
> C:/DOCUME~1/drangon/LOCALS~1/Temp/ccMHaaaa.s
> C:/DOCUME~1/drangon/LOCALS~1/Temp/ccMHaaaa.s: Assembler messages:
> C:/DOCUME~1/drangon/LOCALS~1/Temp/ccMHaaaa.s:2: Internal error!
> Assertion failure in obj_coff_endef at
> ../../binutils/gas/config/obj-coff.c line 780.
> Please report this bug.
> 
> =================================
> 
> I read the source code binutils/gas/config/obj-coff.c 780 line it is :
> 
>  778   if (SF_GET_FUNCTION (def_symbol_in_progress))
>  779     {
>  780       know (sizeof (def_symbol_in_progress) <= sizeof (long));
>  781       set_function (def_symbol_in_progress);
>  782       SF_SET_PROCESS (def_symbol_in_progress);
> 
> x86_64-pc-mingw32 has a ABI that pointer is 8 bytes and int / long is 4 bytes,
> so maybe sizeof( pointer ) <= sizeof(long) is not true.
> 
> I remove this line and compile a new as.exe, then run g++, it print
> out this log :
> 

Please open a bug report at

http://www.sourceware.org/bugzilla/

and upload your assembly code as testcase.


H.J.



More information about the Binutils mailing list