Comment # 7 on bug 1106014 from
(In reply to Matthew Trescott from comment #6)
> There is a little more work required than I realized; newlib also needs to
> be rebuilt. This requires applying the same steps outlined above to the
> cross-arm-none-eabi-gcc10-bootstrap package, building it, then using that
> package to build cross-arm-none-newlib-devel. (I put the gcc bootstrap
> packages in my Documents folder and used osc build --local-package
> --prefer-pkgs=~/Documents). This is required because newlib calls
> 
> arm-none-eabi-gcc --print-multi-lib
> 
> during the configure stage to determine the which multilib architectures to
> build. If the bootstrap GCC wasn't compiled with all the multilibs, newlib
> won't have them enabled either.
> 
> With GCC 10 at least this requires updating the package from newlib 2.1.0 to
> 2.3.0; otherwise it'll attempt to compile this assembly file as Thumb and
> fail:
> https://sourceware.org/git/?p=newlib-cygwin.git;a=commit;
> h=cc430406ac09d99570b5218668f2bb00371ae983
> 
> I am now able to run ChibiOS on my Cortex-M4 board without any problems,
> including calling functions using newlib's memcpy(). Should I open the
> necessary submitrequests on OBS?

Yes please - if you can manage to keep them to small isolated changes that
will ease review/acceptance.


You are receiving this mail because: