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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 03 Dec 2008 16:23:45 -0500
From:	Jody McIntyre <scjody@....com>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	linux-kernel@...r.kernel.org, tglx@...utronix.de, mingo@...hat.com
Subject: Re: [PATCH] Fix compile error in arch/x86/kernel/syscall_64.c

On Wed, Dec 03, 2008 at 12:17:47PM -0800, H. Peter Anvin wrote:

> I was particularly suspicious because you said "one of my systems",
> which implies other systems don't behave that way...

I have one other system that can build this kernel, and one that gets
further.  The differences are gcc version (all distro-supplied),
.config, and in one case X86_32 vs. X86_64.

> Now, the syscall_64.i you sent me is the working version, right?  Could
> you send me the non-working version, too?

That's the non-working version.  I just verified:

root@vm1:~/linux-2.6# make clean && make arch/x86/kernel/syscall_64.o
[...]
  CC      arch/x86/kernel/syscall_64.o
arch/x86/kernel/syscall_64.c:27: error: array index in initializer exceeds array bounds
arch/x86/kernel/syscall_64.c:27: error: (near initialization for ‘sys_call_table’)
arch/x86/kernel/syscall_64.c:27: warning: excess elements in array initializer
arch/x86/kernel/syscall_64.c:27: warning: (near initialization for ‘sys_call_table’)
make[1]: *** [arch/x86/kernel/syscall_64.o] Error 1
make: *** [arch/x86/kernel/syscall_64.o] Error 2
root@vm1:~/linux-2.6# make arch/x86/kernel/syscall_64.i
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
  CALL    scripts/checksyscalls.sh
  CPP     arch/x86/kernel/syscall_64.i

The resulting .i file is identical (checked md5sum) to the one on the
http site: http://downloads.lustre.org/people/scjody/lkml/syscall_64.i

Cheers,
Jody
--
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