Re: X86 GIT GCC 5 compilation warning

2015-06-16 Thread Borislav Petkov
On Tue, Jun 16, 2015 at 04:42:15PM +0200, Enrico Mioso wrote: > Hi guys. > I am running the new kernel - and all is well. > Thank you. Ok, thanks for testing. I'll add your Tested-by tag. -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. -- -- To unsubscribe from this l

Re: X86 GIT GCC 5 compilation warning

2015-06-16 Thread Enrico Mioso
Hi guys. I am running the new kernel - and all is well. Thank you. Enrico Mioso -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

Re: X86 GIT GCC 5 compilation warning

2015-06-16 Thread Enrico Mioso
gain, Enrico Mioso On Tue, 16 Jun 2015, Borislav Petkov wrote: ==Date: Tue, 16 Jun 2015 15:58:01 ==From: Borislav Petkov ==To: Enrico Mioso ==Cc: Michael Matz , linux-kernel@vger.kernel.org, ==x86-ml ==Subject: Re: X86 GIT GCC 5 compilation warning == ==On Tue, Jun 16, 2015 at 02:47:02PM +

Re: X86 GIT GCC 5 compilation warning

2015-06-16 Thread Borislav Petkov
On Tue, Jun 16, 2015 at 02:47:02PM +0200, Michael Matz wrote: > Yeah, building like so on i686 will produce an assembler that warns on > "1<<32". Enrico, try this. --- From: Borislav Petkov Date: Tue, 16 Jun 2015 15:43:27 +0200 Subject: [PATCH] x86/head_32: Fix overflow warning with 32-bit binu

Re: X86 GIT GCC 5 compilation warning

2015-06-16 Thread Michael Matz
Hi, On Tue, 16 Jun 2015, Enrico Mioso wrote: > Hi guys. > First of all - thank you for the discussion, and everything. > > I am on arch linux, regularly upgraded. > $ as --version > This assembler was configured for a target of `i686-pc-linux-gnu'. > > I attach you the PKGBUILD file - the brill

Re: X86 GIT GCC 5 compilation warning

2015-06-16 Thread Enrico Mioso
Hi guys. First of all - thank you for the discussion, and everything. I am on arch linux, regularly upgraded. $ as --version GNU assembler (GNU Binutils) 2.25.0 Copyright (C) 2014 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU Gener

Re: X86 GIT GCC 5 compilation warning

2015-06-16 Thread Michael Matz
Hello, On Mon, 15 Jun 2015, Borislav Petkov wrote: > Hmm, so I did start my oS13.2 i386 guest: > > $ as --version > GNU assembler (GNU Binutils; openSUSE 13.2) 2.24.0.20140403-6.1 That won't show the issue. Our binutils are compiled with support for multiple targets, among them 64bit ones, an

Re: X86 GIT GCC 5 compilation warning

2015-06-15 Thread Borislav Petkov
On Mon, Jun 15, 2015 at 01:30:11PM +0200, Michael Matz wrote: > This warning is in gas since 2009 (commit d85733c8). In this case > it only happens when the internal type to represent values is 32 > bit, which happens only when binutils is compiled for only non-64bit > architectures, _on_ a non-64b

Re: X86 GIT GCC 5 compilation warning

2015-06-15 Thread Michael Matz
Hi, On Sun, 14 Jun 2015, Borislav Petkov wrote: > > arch/x86/kernel/head_32.S:66: Warning: shift count out of range (32 is not > > between 0 and 31) > > That's > > LOWMEM_PAGES = (((1<<32) - __PAGE_OFFSET) >> PAGE_SHIFT) > > and a 32-bit build. So gas hasn't been complaning so far about this.

Re: X86 GIT GCC 5 compilation warning

2015-06-14 Thread Borislav Petkov
On Sun, Jun 14, 2015 at 05:14:18PM +0200, Enrico Mioso wrote: > Hi guys. > Compiling my kernel with gcc (GCC) 5.1.0 > the GIT snapshot as of commit c8d17b451aa18b07b60e771addf17a5fdd4138c7 > I get the following warning you might be interested in: > arch/x86/kernel/head_32.S:66: Warning: shift count

X86 GIT GCC 5 compilation warning

2015-06-14 Thread Enrico Mioso
Hi guys. Compiling my kernel with gcc (GCC) 5.1.0 the GIT snapshot as of commit c8d17b451aa18b07b60e771addf17a5fdd4138c7 I get the following warning you might be interested in: arch/x86/kernel/head_32.S:66: Warning: shift count out of range (32 is not between 0 and 31) My .config follows. Thank