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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081203114748.GB19664@elte.hu>
Date:	Wed, 3 Dec 2008 12:47:48 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Jianjun Kong <jianjun@...ux.org>
Cc:	Linux-Kernel-Mailing-List <linux-kernel@...r.kernel.org>,
	mingo@...hat.com
Subject: Re: v2.6.28-rc7: Fail compile arch/x86/kernel/cpu/common.c


* Jianjun Kong <jianjun@...ux.org> wrote:

> On Wed, Dec 03, 2008 at 08:35:04AM +0100, Ingo Molnar wrote:
> >* Jianjun Kong <jianjun@...ux.org> wrote:
> >> arch/x86/kernel/cpu/common.c: In function ‘early_identify_cpu’:
> >> arch/x86/kernel/cpu/common.c:555: error: ‘boot_cpu_id’ undeclared (first
> >> use in this function)

the error message is not consistent with what the code does:

$ cat arch/x86/kernel/cpu/common.c
[...]
#include <asm/smp.h>

combined with:

> $ cat arch/x86/include/asm/smp.h
> 
> #ifndef _ASM_X86_SMP_H
> #define _ASM_X86_SMP_H

> #ifdef CONFIG_X86_HAS_BOOT_CPU_ID
> extern unsigned char boot_cpu_id;
> #else
> #define boot_cpu_id	0
> #endif
> 
> #endif /* __ASSEMBLY__ */
> #endif /* _ASM_X86_SMP_H */

how can this not build? Do you have __ASSEMBLY__ defined in your CFLAGS 
perhaps?

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ