[okl4-developer] OKL4 2.1: Original versionof'arch/arm/pistachio/cpu/arm926ejs/include/cache.h' is notcompilable
Frank Kaiser
frank.kaiser at opensynergy.com
Thu Jul 10 22:27:34 EST 2008
> -----Original Message-----
> From: Geoffrey Lee [mailto:glee at ok-labs.com]
> Sent: Thursday, July 10, 2008 9:16 AM
> To: Frank Kaiser
> Cc: developer at okl4.org
> Subject: Re: [okl4-developer] OKL4 2.1: Original
> versionof'arch/arm/pistachio/cpu/arm926ejs/include/cache.h' is
notcompilable
>
> On Wed, Jul 09, 2008 at 06:59:44PM +0200, Frank Kaiser wrote:
> > Hello, Folks
>
> Hi Frank
>
> >
> >
> >
> > It turned out that the below mentioned statement
> > 'static const word_t CACHE_LINE_MASK = (CACHE_LINE_SIZE
-
> > 1)'
> > is not only superfluous, but is fatal to the build. It creates a
number
> > of loader errors of the sort:
> >
> > arm-linux-ld: sam/pistachio/bin/kernel: warning: allocated section
> > `.text' not in segment
> >
> > arm-linux-ld: sam/pistachio/bin/kernel: warning: allocated section
> > `.glue_7' not in segment
> >
> > arm-linux-ld: sam/pistachio/bin/kernel: warning: allocated section
> > `.glue_7t' not in segment
> >
> > ...
> >
> > I can only guess that this has something to do with the fact that
the
> > statement creates a code allocation in any source files which
includes
> > 'cache.h'. Commenting the statement out heals the problem.
> >
>
>
> Thanks for letting us know and keeping us updated on your latest
> progress. Your reports are greatly appreciated.
>
>
> -gl
> ---
Hi, Geoffrey
I'd suggest that you insert my findings in your bug tracking system, to
have it fixed with the next provision of OKL4.
Regards
Frank
More information about the Developer
mailing list