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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CY1PR0701MB1163F3D32FBB527D5C7054E189770@CY1PR0701MB1163.namprd07.prod.outlook.com>
Date:   Wed, 20 Jun 2018 21:00:40 +0000
From:   "Chopra, Manish" <Manish.Chopra@...ium.com>
To:     "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: net-next compilation failures

Hi,

I am trying to compile net-next kernel and I face these below compilation errros for some reason. Attached the kernel .config used.
Any idea for what reason these failures could be stemming ?

# uname -r
2.6.32-696.el6.x86_64

# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.7 20120313 (Red Hat 4.4.7-23) (GCC)

# make -j64
scripts/kconfig/conf  --syncconfig Kconfig
  DESCEND  objtool
  UPD     include/config/kernel.release
  UPD     include/generated/utsrelease.h
  CC      kernel/bounds.s
  UPD     include/generated/bounds.h
  CC      arch/x86/kernel/asm-offsets.s
In file included from ./include/linux/mmzone.h:777,
                 from ./include/linux/gfp.h:6,
                 from ./include/linux/slab.h:15,
                 from ./include/linux/crypto.h:24,
                 from arch/x86/kernel/asm-offsets.c:9:
./include/linux/memory_hotplug.h: In function 'zone_seqlock_init':
./include/linux/memory_hotplug.h:79: error: unknown field 'val' specified in initializer
./include/linux/memory_hotplug.h:79: warning: missing braces around initializer
./include/linux/memory_hotplug.h:79: warning: (near initialization for '(anonymous).raw_lock.<anonymous>.val')
./include/linux/memory_hotplug.h: In function 'pgdat_resize_init':
./include/linux/memory_hotplug.h:287: error: unknown field 'val' specified in initializer
./include/linux/memory_hotplug.h:287: warning: missing braces around initializer
./include/linux/memory_hotplug.h:287: warning: (near initialization for '(anonymous).raw_lock.<anonymous>.val')
In file included from ./include/linux/kernfs.h:14,
                 from ./include/linux/sysfs.h:16,
                 from ./include/linux/kobject.h:20,
                 from ./include/linux/irqdesc.h:6,
                 from ./include/linux/irq.h:518,
                 from ./arch/x86/include/asm/hardirq.h:6,
                 from ./include/linux/hardirq.h:9,
                 from arch/x86/kernel/asm-offsets.c:12:
./include/linux/idr.h: In function 'idr_init_base':
./include/linux/idr.h:126: error: unknown field 'val' specified in initializer
./include/linux/idr.h:126: warning: missing braces around initializer
./include/linux/idr.h:126: warning: (near initialization for '(anonymous).raw_lock.<anonymous>.val')
./include/linux/idr.h: In function 'ida_init':
./include/linux/idr.h:239: error: unknown field 'val' specified in initializer
./include/linux/idr.h:239: warning: missing braces around initializer
./include/linux/idr.h:239: warning: (near initialization for '(anonymous).raw_lock.<anonymous>.val')
In file included from ./include/linux/fs.h:25,
                 from ./include/linux/cgroup.h:17,
                 from ./include/linux/memcontrol.h:22,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/semaphore.h: In function 'sema_init':
./include/linux/semaphore.h:35: error: unknown field 'val' specified in initializer
./include/linux/semaphore.h:35: warning: missing braces around initializer
./include/linux/semaphore.h:35: warning: (near initialization for '(anonymous).raw_lock.<anonymous>.val')
In file included from ./include/linux/sched/user.h:7,
                 from ./include/linux/cred.h:22,
                 from ./include/linux/seq_file.h:12,
                 from ./include/linux/cgroup.h:18,
                 from ./include/linux/memcontrol.h:22,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/ratelimit.h: In function 'ratelimit_state_init':
./include/linux/ratelimit.h:45: error: unknown field 'val' specified in initializer
./include/linux/ratelimit.h:45: warning: missing braces around initializer
./include/linux/ratelimit.h:45: warning: (near initialization for '(anonymous).raw_lock.<anonymous>.val')
In file included from ./include/linux/memcontrol.h:29,
                 from ./include/linux/swap.h:9,
                 from ./include/linux/suspend.h:5,
                 from arch/x86/kernel/asm-offsets.c:13:
./include/linux/mm.h: In function 'ptlock_init':
./include/linux/mm.h:1855: error: unknown field 'val' specified in initializer
./include/linux/mm.h:1855: warning: missing braces around initializer
./include/linux/mm.h:1855: warning: (near initialization for '(anonymous).raw_lock.<anonymous>.val')
make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Thanks,
Manish

Download attachment "ATT57138.config" of type "application/octet-stream" (153202 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ