problem building glibc-2.3.2 with gcc-3.4.0 and binutils-2.15.90.0.3 for m68k

Jim Wilson wilson@specifixinc.com
Mon Apr 26 21:17:00 GMT 2004


Dan Kegel wrote:
> Here are lines 544 to 546 of localealias.s:
>     544         .local  lock
>     545         .comm   lock,24,2
>     546         .section        __libc_freeres_ptrs
> So I guess it didn't like the ,24,2 on the .comm line.

This assembler syntax is fairly common, and has been supported for a 
long time.  It works fine if I build a cross assembler to m68k-linux 
from current FSF development sources.

Perhaps gas was miscompiled.  It is also possible gas was misconfigured, 
but if so this would have to be pretty a pretty obvious error which 
should be easy to spot.

The flow in gas should be obj_elf_common, s_comm_internal, 
elf_common_parse, parse_align, and when parse_align returns, 
input_line_pointer should be pointing at the end of the input line (or 
perhaps pointing as whitespace).
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list