bug in cross-compiler?

Adam Lackorzynski adam at os.inf.tu-dresden.de
Mon Nov 20 23:36:24 CET 2006


On Mon Nov 20, 2006 at 10:30:59 -0700, Ryan C. Spring wrote:
> I am cross-compiling the DROPS system for ARM and get compiler errors
> about "too many initializers" when it compiles the following statement
> from syscalls_impl.h (line 249)
> 
> 
>   l4_threadid_t preempter = L4_INVALID_ID;
>   l4_threadid_t pager = L4_INVALID_ID;
> 
> 
> When I initialize the unions without the defines, by hand as, it compiles.
> 
>   l4_threadid_t preempter;
>   preempter.raw = (l4_umword_t)-1;
>   l4_threadid_t pager;
>   pager.raw = (l4_umword_t)-1;
> 
> I'm using a TI-provided GCC 3.3.2 ARM crosscompiler.  Is my
> cross-compiler to blame here?  If so, could someone recommend a
> cross-compiler toolchain for ARM that doesn't error on this syntax?

I'm using a self-made one, 3.4 based, which works. 4.1 is also known to
work. I can't remember we have tried 3.3 in the past.



Adam
-- 
Adam                 adam at os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




More information about the l4-hackers mailing list