This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/14437] New: 3.3.3 release does not build for target i686-wrs-vxworks
- From: "mfhaigh at acm dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Mar 2004 23:59:36 -0000
- Subject: [Bug c/14437] New: 3.3.3 release does not build for target i686-wrs-vxworks
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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