Re: undefined reference to `cmpxchg8b_emu'

From: Randy Dunlap
Date: Wed Apr 07 2021 - 19:46:30 EST


On 4/7/21 4:34 PM, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 454859c552da78b0f587205d308401922b56863e
> commit: 1c530d431c698f156538b8954b07df95337beb34 dma-buf: Use atomic_fetch_add() for the context id
> date: 11 months ago
> config: um-randconfig-r034-20210407 (attached as .config)
> compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
> reproduce (this is a W=1 build):
> # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=1c530d431c698f156538b8954b07df95337beb34
> git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
> git fetch --no-tags linus master
> git checkout 1c530d431c698f156538b8954b07df95337beb34
> # save the attached .config to linux build tree
> make W=1 ARCH=um
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
>
> All errors (new ones prefixed by >>):
>

Hi robot,

Can you test a patch?
https://lore.kernel.org/lkml/20210404182044.9918-1-rdunlap@xxxxxxxxxxxxx/


thanks.

--
~Randy