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: <Pine.LNX.4.64.0707172148310.27468@fbirervta.pbzchgretzou.qr>
Date:	Tue, 17 Jul 2007 22:00:08 +0200 (CEST)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	clameter@....com
cc:	lethal@...ux-sh.org,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: 2.6.23 compile failure - slab/slob interspanking

Hi,


I have a compile failure. git-bisect tells me:

81cda6626178cd55297831296ba8ecedbfd8b52d is first bad commit
commit 81cda6626178cd55297831296ba8ecedbfd8b52d
Author: Christoph Lameter <clameter@....com>
Date:   Tue Jul 17 04:03:29 2007 -0700

    Slab allocators: Cleanup zeroing allocations
    
    It becomes now easy to support the zeroing allocs with generic inline
    functions in slab.h.  Provide inline definitions to allow the continued use of
    kzalloc, kmem_cache_zalloc etc but remove other definitions of zeroing
    functions from the slab allocators and util.c.
    
    Signed-off-by: Christoph Lameter <clameter@....com>
    Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@...ux-foundation.org>

:040000 040000 e73d2e2738af8f015b4c0e93278a91d4d9321dc2 
b9f3261ba32892a874c9c88eb2a81f56a4f6a1fe M      include
:040000 040000 d88c89fd60a16d9fffe36c0d6e62f6e563a5b8d9 
788d33d0584eedf701626097622416a3b683e554 M      mm


Generation of asm-offsets.s fails (shortcut: use `make 
arch/i386/kernel/asm-offset.s`)

compile error is:
  CC      arch/i386/kernel/asm-offsets.s
In file included from /ws/linux/linux-2.6.23/include/linux/slab.h:119,
                 from /ws/linux/linux-2.6.23/include/linux/percpu.h:5,
                 from include2/asm/desc.h:11,
                 from include2/asm/elf.h:50,
                 from /ws/linux/linux-2.6.23/include/linux/elf.h:7,
                 from /ws/linux/linux-2.6.23/include/linux/module.h:14,
                 from /ws/linux/linux-2.6.23/include/linux/crypto.h:21,
                 from 
/ws/linux/linux-2.6.23/arch/i386/kernel/asm-offsets.c:7:
/ws/linux/linux-2.6.23/include/linux/slob_def.h: In function ‘kzalloc’:
/ws/linux/linux-2.6.23/include/linux/slob_def.h:43: error: implicit 
declaration of function ‘__kzalloc’
/ws/linux/linux-2.6.23/include/linux/slob_def.h:43: warning: return 
makes pointer from integer without a cast
In file included from /ws/linux/linux-2.6.23/include/linux/percpu.h:5,
                 from include2/asm/desc.h:11,
                 from include2/asm/elf.h:50,
                 from /ws/linux/linux-2.6.23/include/linux/elf.h:7,
                 from /ws/linux/linux-2.6.23/include/linux/module.h:14,
                 from /ws/linux/linux-2.6.23/include/linux/crypto.h:21,
                 from 
/ws/linux/linux-2.6.23/arch/i386/kernel/asm-offsets.c:7:
/ws/linux/linux-2.6.23/include/linux/slab.h: At top level:
/ws/linux/linux-2.6.23/include/linux/slab.h:269: error: redefinition of 
‘kzalloc’
/ws/linux/linux-2.6.23/include/linux/slob_def.h:42: error: previous 
definition of ‘kzalloc’ was here
make[2]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make[1]: *** [prepare0] Error 2
make: *** [arch/i386/kernel/asm-offsets.s] Error 2



Config (relative to that commit) attached.


Thanks,
	Jan
-- 
View attachment "config.txt" of type "TEXT/plain" (17973 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ