lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 27 Mar 2021 20:19:22 +0800
From:   kernel test robot <lkp@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Kees Cook <keescook@...omium.org>
Subject: /usr/bin/ld: z3fold.c:undefined reference to `atomic64_inc_386'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0f4498cef9f5cd18d7c6639a2a902ec1edc5be4e
commit: a435b9a14356587cf512ea6473368a579373c74c locking/refcount: Provide __refcount API to obtain the old value
date:   7 months ago
config: um-randconfig-s031-20210327 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-277-gc089cd2d-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a435b9a14356587cf512ea6473368a579373c74c
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a435b9a14356587cf512ea6473368a579373c74c
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=um 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   /usr/bin/ld: kernel/fork.o: in function `mm_init':
   fork.c:(.text+0xd5c): undefined reference to `atomic64_set_386'
   /usr/bin/ld: kernel/sched/fair.o: in function `update_curr':
   fair.c:(.text+0xccf): undefined reference to `atomic64_add_386'
   /usr/bin/ld: mm/debug.o: in function `dump_mm':
   debug.c:(.text+0x45c): undefined reference to `atomic64_read_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_zpool_total_size':
   z3fold.c:(.text+0x77): undefined reference to `atomic64_read_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_page_putback':
   z3fold.c:(.text+0x76e): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `compact_single_buddy':
   z3fold.c:(.text+0xd3c): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `do_compact_page':
   z3fold.c:(.text+0x115f): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_reclaim_page.constprop.0':
   z3fold.c:(.text+0x1531): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: z3fold.c:(.text+0x1568): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_create_pool':
   z3fold.c:(.text+0x1760): undefined reference to `atomic64_set_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_alloc':
   z3fold.c:(.text+0x1c07): undefined reference to `atomic64_dec_386'
>> /usr/bin/ld: z3fold.c:(.text+0x1f1d): undefined reference to `atomic64_inc_386'
   /usr/bin/ld: mm/z3fold.o: in function `z3fold_free':
   z3fold.c:(.text+0x212e): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: z3fold.c:(.text+0x2207): undefined reference to `atomic64_dec_386'
   /usr/bin/ld: fs/inode.o: in function `inode_init_always':
   inode.c:(.text+0x4f8): undefined reference to `atomic64_set_386'
   /usr/bin/ld: fs/inode.o: in function `generic_update_time':
   inode.c:(.text+0x2915): undefined reference to `atomic64_read_386'
   /usr/bin/ld: inode.c:(.text+0x2960): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: fs/inode.o: in function `file_update_time':
   inode.c:(.text+0x359c): undefined reference to `atomic64_read_386'
   /usr/bin/ld: fs/namespace.o: in function `alloc_mnt_ns':
   namespace.c:(.text+0xcae): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: fs/io_uring.o: in function `io_unaccount_mem':
   io_uring.c:(.text+0x59c): undefined reference to `atomic64_sub_386'
   /usr/bin/ld: fs/io_uring.o: in function `io_account_mem':
   io_uring.c:(.text+0x3f2a): undefined reference to `atomic64_add_386'
   /usr/bin/ld: drivers/iio/adc/adi-axi-adc.o: in function `adi_axi_adc_probe':
   adi-axi-adc.c:(.text+0x288): undefined reference to `devm_platform_ioremap_resource'
   /usr/bin/ld: kernel/sched/cputime.o: in function `account_group_user_time':
   cputime.c:(.text+0x8f): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/sched/cputime.o: in function `account_system_index_time':
   cputime.c:(.text+0x2df): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/sched/rt.o: in function `update_curr_rt':
   rt.c:(.text+0xefd): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/sched/deadline.o: in function `update_curr_dl':
   deadline.c:(.text+0x1715): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `proc_sample_cputime_atomic':
   posix-cpu-timers.c:(.text+0x11): undefined reference to `atomic64_read_386'
   /usr/bin/ld: posix-cpu-timers.c:(.text+0x1d): undefined reference to `atomic64_read_386'
   /usr/bin/ld: posix-cpu-timers.c:(.text+0x2b): undefined reference to `atomic64_read_386'
   /usr/bin/ld: kernel/time/posix-cpu-timers.o: in function `__update_gt_cputime':
   posix-cpu-timers.c:(.text+0xdc): undefined reference to `atomic64_read_386'
   /usr/bin/ld: posix-cpu-timers.c:(.text+0x105): undefined reference to `cmpxchg8b_emu'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_current_read':
   pids.c:(.text+0xd): undefined reference to `atomic64_read_386'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_max_show':
   pids.c:(.text+0x2c): undefined reference to `atomic64_read_386'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_max_write':
   pids.c:(.text+0x111): undefined reference to `atomic64_set_386'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_cancel.constprop.0':
   pids.c:(.text+0x13e): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_css_alloc':
   pids.c:(.text+0x243): undefined reference to `atomic64_set_386'
   /usr/bin/ld: pids.c:(.text+0x253): undefined reference to `atomic64_set_386'
   /usr/bin/ld: pids.c:(.text+0x260): undefined reference to `atomic64_set_386'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_events_show':
   pids.c:(.text+0x284): undefined reference to `atomic64_read_386'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_can_attach':
   pids.c:(.text+0x35e): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_cancel_attach':
   pids.c:(.text+0x3be): undefined reference to `atomic64_add_386'
   /usr/bin/ld: kernel/cgroup/pids.o: in function `pids_can_fork':
   pids.c:(.text+0x486): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: pids.c:(.text+0x496): undefined reference to `atomic64_read_386'
   /usr/bin/ld: pids.c:(.text+0x4e4): undefined reference to `atomic64_inc_return_386'
   /usr/bin/ld: kernel/trace/trace_clock.o: in function `trace_clock_counter':
   trace_clock.c:(.text+0x101): undefined reference to `atomic64_add_return_386'
   /usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x8): undefined reference to `X86_FEATURE_XMM2'
   /usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x15): undefined reference to `X86_FEATURE_XMM'
   /usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x22): undefined reference to `X86_FEATURE_XMM'
   /usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x2f): undefined reference to `X86_FEATURE_XMM2'
   /usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x3c): undefined reference to `X86_FEATURE_XMM'
   /usr/bin/ld: drivers/misc/altera-stapl/altera-lpt.o:(.altinstructions+0x49): undefined reference to `X86_FEATURE_XMM'
   /usr/bin/ld: drivers/dma-buf/dma-fence.o: in function `dma_fence_context_alloc':
   dma-fence.c:(.text+0x315): undefined reference to `cmpxchg8b_emu'
   collect2: error: ld returned 1 exit status

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (9738 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ