https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91749
Christophe Lyon <clyon at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |clyon at gcc dot gnu.org --- Comment #2 from Christophe Lyon <clyon at gcc dot gnu.org> --- Thumb-1 is not supported when using FDPIC. In arm_option_override, we have: if (TARGET_FDPIC) { arm_pic_register = FDPIC_REGNUM; if (TARGET_THUMB1) sorry ("FDPIC mode is not supported in Thumb-1 mode"); } but using -mflip-thumb overrides this check, and forces thumb-1 mode, hence the failures.