Re: 2.6.25.4-rt2 compile errors on ARM due to cmpxchg() problems.

From: Steven Rostedt
Date: Tue May 20 2008 - 10:35:09 EST



On Tue, 20 May 2008, Remy Bohmer wrote:

> Hello Steven,
>
> I want to test 2.6.25.4-rt2 on ARM, but unfortunately I run into
> several compile errors.
> All errors seem to be related to cmpxchg routines -> duplicate
> definitions or missing BUILD_BUG_ON() or typecheck() macros.
> I already figured out the missing BUILD_BUG_ON() + typecheck() problem
> which is caused by including a header
> 'include/asm-generic/cmpxchg-local.h' in linux/kernel.h before these
> macros are defined in linux/kernel.h. See below for a piece/snippet of
> the compiler output.
>
> Looking deeper into this, things look quite messy around cmpxchg() on ARM...
>
> Any ideas what has been changed here, and why these things can go
> wrong so badly?
>

No idea right off the bat. But I may be needing to set up a ARM
crosscompiler. Unless Thomas would like to take a look into this.

Thomas?

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/