fabricedesre / cc3200-rs

Getting Rust to run on a TI cc3200
Mozilla Public License 2.0
7 stars 2 forks source link

Provide __aeabi_memclr4() #45

Closed tdz closed 7 years ago

tdz commented 7 years ago

This patch adds the function __aeabi_memclr4(), which is requried by core::fmt::num::GenericRadix::fmt_int<core::fmt::num::UpperHex,u32>.

tdz commented 7 years ago

Without this patch, I get

error: aborting due to previous error error: Could not compile cc3200.

fabricedesre commented 7 years ago

Could this be because you use a gcc 5.0.2 and not the 4.9.3 that is set up on automation (and also what I get locally on ubuntu) ?

tdz commented 7 years ago

This did not happen with earlier versions of cc3200-rs. But maybe they simply didn't call this function. My gcc is:

gcc --version gcc (GCC) 6.2.1 20160916 (Red Hat 6.2.1-2)

It seems that the patch doesn't break Travis with its old gcc. Can we merge it?

tdz commented 7 years ago

arm-none-eabi-gcc --version arm-none-eabi-gcc (Fedora 5.2.0-4.fc24) 5.2.0