------- Comment #13 from pbrook at gcc dot gnu dot org 2007-11-28 19:05 ------- The short answer is don't do that.
-mabi=iwmmxt selects a bare-metal (short-enum) AAPCS variant with iWMMXt calling conventions. As such it is incompatible with the Linux EABI supplement (http://www.codesourcery.com/gnu_toolchains/arm/arm_gnu_linux_abi.pdf) which requires long-enums. If you want iwmmxt calling conventions on linux you'll have to define and add a new ABI variant. In theory gcc should probably be fixed to support short-enum host systems. In practice all vaguely interesting host systems use long enums, and other bits of a linux system will explode if built with -fshort-enums, so I'm closing this as WONTFIX. -- pbrook at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34205