[Bug c/14437] New: 3.3.3 release does not build for target i686-wrs-vxworks

mfhaigh at acm dot org gcc-bugzilla@gcc.gnu.org
Thu Mar 4 23:59:00 GMT 2004


When building for i686-wrs-vxworks, the following error occurrs:

/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccEKfcPb.s: Assembler messages:
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/ccEKfcPb.s:282: Error: no such
instruction: `mulhwu %esi,%esi,%ecx'

This is because vxWorks always defines the PPC macro, regardless of target,
which confuses gcc/longlong.h into emitting PPC assembly (the PPC macro clashes
with the GNU/Linux and SysV usage of it).  The solution is to undef PPC for
vxWorks, and use a more appropriate macro for deciding when to emit PPC assembly.

I believe I have the proper patch for this, and it will be posted to the mailing
list shortly.

-- 
           Summary: 3.3.3 release does not build for target i686-wrs-vxworks
           Product: gcc
           Version: 3.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mfhaigh at acm dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-wrs-vxworks


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14437



More information about the Gcc-bugs mailing list