Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Nov 2007 17:00:52 +0100
From:      Rafal Jaworowski <raj@semihalf.com>
To:        Olivier Houchard <mlfbsd@ci0.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: ARM9E issues
Message-ID:  <474D90B4.4010400@semihalf.com>
In-Reply-To: <20071128162655.GA27260@ci0.org>
References:  <474D8345.30505@semihalf.com> <20071128162655.GA27260@ci0.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?474D90B4.4010400>