Open marcoh00 opened 2 months ago
tldr; if it builds it works(tm)!
The nano.specs
/nosys.specs
was required for I think some of the builds, I know we had it on/off (I'll have to let @alex-dewar chime in as I forget exactly when/why now... IIRC for the F0 but been a while). If the build succeeds without that present then it should be fine, this may be changes in newlib?
We don't actually need any of those stubs (hence the warning about them doing nothing), it's just some of the examples pull in the standard library so you need them for linking purposes. The multiple definition presumably means they ended up in one of the libraries where we didn't have them before, so your build now succeeds without us explicitly adding those stubs.
Hello,
I was trying to build simpleserial w/ TinyAES for the
CWLITEARM
but wasn't successful at first. While this seems to work in our lab using Debian 12 with gcc-12.2, it does not work on my laptop using openSUSE with gcc 13.2.1:It does seem to work, when I remove
--specs=nano.specs
or--specs=nosys.specs
(or both) fromLDFLAGS
inhal/stm32f3/Makefile.stm32f3
. However, in I am not exactly sure what the consequences for the built artifact are. Is any of them unneeded? If yes, what was the reason for adding both specs and should any of them be removed?