target/5010: building for i386-coff target fails

chrb@dcs.ed.ac.uk chrb@dcs.ed.ac.uk
Tue Dec 4 10:36:00 GMT 2001


>Number:         5010
>Category:       target
>Synopsis:       building for i386-coff target fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 04 10:36:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     chrb@dcs.ed.ac.uk
>Release:        all
>Organization:
>Environment:
host i686 linux 2.4.9-13, observed in others
>Description:
building a cross compiler to target i386-coff fails with a message like:

> /tmp/ccKOIPkR.s: Assembler messages:
> /tmp/ccKOIPkR.s:113: Error: Alignment not a power of 2

Google searches showed that this error has happened for a lot of other people over the years. I have verified its still present in the latest cvs snapshot gcc-20011203.
>How-To-Repeat:
../configure --target=i386-coff --with-newlib --enable-languages="c,c++"
make
>Fix:
I found a fix here http://sources.redhat.com/ml/crossgcc/2001-03/msg00173.html. I haven't personally tried it (switched to elf instead) but it seems to work for others.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the Gcc-prs mailing list