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]
Message-ID: <202503192048.nhPLafD5-lkp@intel.com>
Date: Wed, 19 Mar 2025 20:33:07 +0800
From: kernel test robot <lkp@...el.com>
To: Ingo Molnar <mingo@...nel.org>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org,
	x86@...nel.org
Subject: [tip:WIP.x86/core 1/1] arch/sparc/include/asm/percpu_64.h:8:24:
 error: register name not specified for '__local_per_cpu_offset'

Hi Ingo,

FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git WIP.x86/core
head:   9262ee6499954dd387e4507e03b84512ab100706
commit: 9262ee6499954dd387e4507e03b84512ab100706 [1/1] compiler/gcc: Make asm() templates asm __inline__() by default
config: sparc64-randconfig-001-20250319 (https://download.01.org/0day-ci/archive/20250319/202503192048.nhPLafD5-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250319/202503192048.nhPLafD5-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202503192048.nhPLafD5-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from <command-line>:
   include/linux/compiler_types.h:479:29: error: expected '(' before '__inline'
    # define asm_inline __asm__ __inline
                                ^~~~~~~~
   include/linux/compiler_types.h:480:19: note: in expansion of macro 'asm_inline'
    # define asm(...) asm_inline(__VA_ARGS__)
                      ^~~~~~~~~~
   arch/sparc/include/asm/percpu_64.h:8:47: note: in expansion of macro 'asm'
    register unsigned long __local_per_cpu_offset asm("g5");
                                                  ^~~
   In file included from arch/sparc/include/asm/percpu.h:5,
                    from include/linux/irqflags.h:19,
                    from include/asm-generic/cmpxchg-local.h:6,
                    from arch/sparc/include/asm/cmpxchg_64.h:111,
                    from arch/sparc/include/asm/cmpxchg.h:5,
                    from arch/sparc/include/asm/atomic_64.h:12,
                    from arch/sparc/include/asm/atomic.h:5,
                    from include/linux/atomic.h:7,
                    from include/asm-generic/bitops/lock.h:5,
                    from arch/sparc/include/asm/bitops_64.h:52,
                    from arch/sparc/include/asm/bitops.h:5,
                    from include/linux/bitops.h:68,
                    from include/linux/log2.h:12,
                    from kernel/bounds.c:13:
>> arch/sparc/include/asm/percpu_64.h:8:24: error: register name not specified for '__local_per_cpu_offset'
    register unsigned long __local_per_cpu_offset asm("g5");
                           ^~~~~~~~~~~~~~~~~~~~~~
   make[3]: *** [scripts/Makefile.build:102: kernel/bounds.s] Error 1 shuffle=3065905953
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1269: prepare0] Error 2 shuffle=3065905953
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:251: __sub-make] Error 2 shuffle=3065905953
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:251: __sub-make] Error 2 shuffle=3065905953
   make: Target 'prepare' not remade because of errors.


vim +/__local_per_cpu_offset +8 arch/sparc/include/asm/percpu_64.h

f5e706ad886b6a include/asm-sparc/percpu_64.h      Sam Ravnborg   2008-07-17   6  
48017e5481ce85 arch/sparc/include/asm/percpu_64.h Peter Zijlstra 2020-05-29   7  #ifndef BUILD_VDSO
f5e706ad886b6a include/asm-sparc/percpu_64.h      Sam Ravnborg   2008-07-17  @8  register unsigned long __local_per_cpu_offset asm("g5");
48017e5481ce85 arch/sparc/include/asm/percpu_64.h Peter Zijlstra 2020-05-29   9  #endif
f5e706ad886b6a include/asm-sparc/percpu_64.h      Sam Ravnborg   2008-07-17  10  

:::::: The code at line 8 was first introduced by commit
:::::: f5e706ad886b6a5eb59637830110b09ccebf01c5 sparc: join the remaining header files

:::::: TO: Sam Ravnborg <sam@...nborg.org>
:::::: CC: David S. Miller <davem@...emloft.net>

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ