[lkml]   [2008]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: compile errors on ARM due to cmpxchg() problems.

On Tue, 20 May 2008, Remy Bohmer wrote:

> Hello Steven,
> I want to test 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.


-- Steve

 \ /
  Last update: 2008-05-20 16:37    [W:0.056 / U:41.072 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site