linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Build errors due to 64 bit xchg/cmpxchg operations in fs/nfs/flexfilelayout
@ 2015-06-27  4:09 Guenter Roeck
       [not found] ` <CAHQdGtRURfhjoY0EMGMWQR=Yw-tiKr3PWWZ1YVCu9+u8ff9xFw@mail.gmail.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2015-06-27  4:09 UTC (permalink / raw)
  To: linux-next@vger.kernel.org; +Cc: Trond Myklebust, Peng Tao, linux-nfs

Hi,

commits 'pNFS/flexfiles: add layoutstats tracking' and 'pnfs/flexfiles: report layoutstat
regularly' in -next introduce 64 bit xchg and cmpxchg operations. This causes compile
errors with 32 bit builds on architectures which do not support those operations.

arm:shmobile_defconfig:

fs/built-in.o: In function `nfs4_ff_end_busy_timer':
:(.text+0xa7110): undefined reference to `__bad_xchg'
fs/built-in.o: In function `nfs4_ff_layoutstat_start_io':
:(.text+0xa7304): undefined reference to `__bad_cmpxchg'
:(.text+0xa731c): undefined reference to `__bad_cmpxchg'
:(.text+0xa73d8): undefined reference to `__bad_cmpxchg'

xtensa:allmodconfig:

ERROR: "__xchg_called_with_bad_pointer" [fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko] undefined!
ERROR: "__cmpxchg_called_with_bad_pointer" [fs/nfs/flexfilelayout/nfs_layout_flexfiles.ko] undefined!

Guenter

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-27  5:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-27  4:09 Build errors due to 64 bit xchg/cmpxchg operations in fs/nfs/flexfilelayout Guenter Roeck
     [not found] ` <CAHQdGtRURfhjoY0EMGMWQR=Yw-tiKr3PWWZ1YVCu9+u8ff9xFw@mail.gmail.com>
2015-06-27  5:39   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).