ARM9E issues

Rafal Jaworowski raj at semihalf.com
Wed Nov 28 08:00:56 PST 2007


Olivier Houchard wrote:
>> Maybe what I'm seeing is some FreeBSD/arm toolchain problem. I'll look into
>> this further, but any comments or hints are appreciated.
> 
> This is a bug in gas. pld should work for ARM_ARCH_5E, however when you 
> specify -mcpu=arm9e to gas, due to the way it works (by parsing its cpu list
> and doing a strncmp(list->cpuname, nameprovided, strlen(nameprovided)), it
> will match arm9e-r0, which is not armv5e. I don't know if this has been fixed
> in later revisions of binutils, I should check. As a workaround, you can
> compile your kernel with "-DCPU_ARM9E -march=armv5te" instead.
> 

Hi Olivier,

Thanks for confirmation, I felt it was rather something around the toolchain,
as I was seeing warnings about incompatible settings when tried with both
-mcpu=arm9e and -march=armv5te, which should be perfectly legal.

kind regards,
Rafal


More information about the freebsd-arm mailing list