https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122359
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Last reconfirmed| |2025-10-20
Status|UNCONFIRMED |WAITING
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
/usr/lib/gcc/arm-none-eabi/15.1.0/../../../../arm-none-eabi/bin/ld:
/usr/lib/gcc/arm-none-eabi/15.1.0/thumb/v6-m/nofp/crtbegin.o: error adding
symbols: file in wrong format
This means the object crtbegin.o is in the wrong format that the linker is
trying for.
Did you compile arm-none-eabi-gcc yourself or did you use a prebuilt one? If
you use prebuilt one you should gain help from where you got the prebuilt one
since they will help you figure out which mutlilib is for use here.
Otherwise you need to build the multilib specifically for cortex-m0plus which
seems like it is not built.