https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89093
Ramana Radhakrishnan <ramana at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2019-01-29 Ever confirmed|0 |1 --- Comment #13 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> --- (In reply to Jakub Jelinek from comment #12) > If one appends -mfloat-abi=soft to command lines of those files, does that > imply incompatible ABI even if nothing is passed in float/VFP etc. registers > nor there is any floating point code? -mfloat-abi=soft is an interesting option, it means use floating point emulation code using the base pcs as well as use the base parameter passing conventions for passing floating point parameters to functions. so it would end up failing at link time . That's why we need an -mfpu=none option which is silent and I've not liked it for a while. (In reply to Jakub Jelinek from comment #11) > Comment on attachment 45547 [details] > untested prototype patch. > > Doesn't the whole unwinder (so eh_personality.cc (whole, not just one > function in it), unwind-arm.c, unwind-c.c, maybe some other unwind-*.c)) > need that? Yes that would be needed. Reading the EHABI again suggests that - I don't see a macro that would help with that everywhere.