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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Sun, 12 Jun 2016 08:51:54 +0800
From:	kbuild test robot <fengguang.wu@...el.com>
To:	unlisted-recipients:; (no To-header on input)
Cc:	kbuild-all@...org, linux-kernel@...r.kernel.org,
	Thomas Gleixner <tglx@...utronix.de>
Subject: include/linux/hrtimer.h:194:1: error: requested alignment is not an
 integer constant

Hi,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   45b00c94be33db5d00595046663163ce55cbbfb9
commit: 6d9a1411393d51f17bee3fe163430b21b2cb2de9 hrtimer: Cache line align the hrtimer cpu base
date:   1 year, 2 months ago
config: frv-allnoconfig (attached as .config)
compiler: frv-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 6d9a1411393d51f17bee3fe163430b21b2cb2de9
        # save the attached .config to linux build tree
        make.cross ARCH=frv 

All errors (new ones prefixed by >>):

   kernel/time/Kconfig:157:warning: range is invalid
   In file included from include/linux/cache.h:5:0,
                    from include/linux/printk.h:8,
                    from include/linux/kernel.h:13,
                    from include/linux/sched.h:17,
                    from arch/frv/kernel/asm-offsets.c:7:
   arch/frv/include/asm/cache.h:17:26: error: 'CONFIG_FRV_L1_CACHE_SHIFT' undeclared here (not in a function)
    #define L1_CACHE_SHIFT  (CONFIG_FRV_L1_CACHE_SHIFT)
                             ^
   arch/frv/include/asm/cache.h:18:31: note: in expansion of macro 'L1_CACHE_SHIFT'
    #define L1_CACHE_BYTES  (1 << L1_CACHE_SHIFT)
                                  ^
   arch/frv/include/asm/cache.h:21:54: note: in expansion of macro 'L1_CACHE_BYTES'
    #define ____cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))
                                                         ^
   include/linux/hrtimer.h:194:3: note: in expansion of macro '____cacheline_aligned'
    } ____cacheline_aligned;
      ^
   In file included from include/linux/sched.h:53:0,
                    from arch/frv/kernel/asm-offsets.c:7:
>> include/linux/hrtimer.h:194:1: error: requested alignment is not an integer constant
    } ____cacheline_aligned;
    ^
   make[2]: *** [arch/frv/kernel/asm-offsets.s] Error 1
   make[2]: Target '__build' not remade because of errors.
   make[1]: *** [prepare0] Error 2
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [sub-make] Error 2

vim +194 include/linux/hrtimer.h

   188		unsigned int			nr_events;
   189		unsigned int			nr_retries;
   190		unsigned int			nr_hangs;
   191		unsigned int			max_hang_time;
   192	#endif
   193		struct hrtimer_clock_base	clock_base[HRTIMER_MAX_CLOCK_BASES];
 > 194	} ____cacheline_aligned;
   195	
   196	static inline void hrtimer_set_expires(struct hrtimer *timer, ktime_t time)
   197	{

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (3708 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ