[vserver] Undefined reference to `__bad_cmpxchg'

From: Christian Schrötter <vserver_at_lists.kb19.at>
Date: Tue 27 May 2014 - 14:49:43 BST
Message-ID: <6f72e56edbe774e0669d302a6a058a80@lists.kb19.at>

Hi all,

I ran into a strange error while upgrading my custom kernel from 3.2.51
to 3.2.59 on my Raspberry Pi with 2.3.2.16 VS patches:

> LD .tmp_vmlinux1
> fs/built-in.o: In function `ext4_set_inode_flags':
> file.c:(.text+0x6b3c8): undefined reference to `__bad_cmpxchg'
> file.c:(.text+0x6b3e4): undefined reference to `__bad_cmpxchg'
> make: *** [.tmp_vmlinux1] Error 1

My kernel config is unchanged (except DUMMY=m) and I don't know what's
the problem. The previous version (3.2.51) works like a charm.

I've tested many different settings, with and without VS-patches, with
and without RPi+ patches - only the RPi+ VS version is affected. Any
ideas what could be wrong?

I'm using the RPi+ kernel
(https://github.com/raspberrypi/linux/tree/rpi-3.2.27) and patched it
from .27 to .59, this procedure worked since 2012.

-- 
With kind regards,
Christian Schrötter
Received on Tue May 27 14:49:02 2014
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 27 May 2014 - 14:49:02 BST by hypermail 2.1.8