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] [day] [month] [year] [list]
Message-ID: <6a0b3545-e401-4c06-a466-d60e6e7ef17a@gmail.com>
Date: Mon, 8 Jul 2024 20:21:59 +0200
From: Mirsad Todorovac <mtodorovac69@...il.com>
To: Borislav Petkov <bp@...en8.de>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
 Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
 Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
 "H. Peter Anvin" <hpa@...or.com>, Yuntao Wang <ytcoode@...il.com>,
 Breno Leitao <leitao@...ian.org>, Brian Gerst <brgerst@...il.com>,
 Masahiro Yamada <masahiroy@...nel.org>
Subject: Re: [PROBLEM] ./arch/x86/include/asm/pgtable_32.h:59:5: error:
 "PTRS_PER_PMD" is not defined, evaluates to 0 [-Werror=undef]

Hi, Borislav,

On 7/8/24 11:49, Borislav Petkov wrote:
> On Fri, Jul 05, 2024 at 11:52:30PM +0200, Mirsad Todorovac wrote:
>> Hi, all!
>>
>> This is the result of testing randconfig with KCONFIG_SEED=0xEE7AB52F in next-20240703 vanilla tree on
>> Ubuntu 22.04 LTS. GCC used is gcc (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0.
>>
>> The particular error is as follows:
>>
>> In file included from arch/x86/kernel/head_32.S:29:
>> ./arch/x86/include/asm/pgtable_32.h:59:5: error: "PTRS_PER_PMD" is not defined, evaluates to 0 [-Werror=undef]
>>    59 | #if PTRS_PER_PMD > 1
>>       |     ^~~~~~~~~~~~
>> cc1: all warnings being treated as errors
> 
> I can't reproduce that with your config ontop of
> 
> commit 0b58e108042b0ed28a71cd7edf5175999955b233 (HEAD, tag: refs/tags/next-20240703, refs/remotes/linux-next/master)
> Author: Stephen Rothwell <sfr@...b.auug.org.au>
> Date:   Wed Jul 3 16:14:20 2024 +1000
> 
>     Add linux-next specific files for 20240703
>     
>     Signed-off-by: Stephen Rothwell <sfr@...b.auug.org.au>
> 
> $ make ARCH=i386 -j128 CC=gcc HOSTCC=gcc
> ...
> 
>   OBJCOPY arch/x86/boot/setup.bin
>   BUILD   arch/x86/boot/bzImage
> Kernel: arch/x86/boot/bzImage is ready  (#1)
> 
> Something's missing.
> 
> Did you do
> 
> $ git clean -dqfx
> 
> before building?
> 
> Note that that cmd will clear *everything* so you better check your local tree
> before you run it:
> 
> $ git status
> 
> and then
> 
> $ git clean -dqfx
> 
> after having saved the files which you still need.
> 
> HTH.


Well, I tried your procedure and I got again this:

In file included from arch/x86/kernel/head_32.S:29:
./arch/x86/include/asm/pgtable_32.h:59:5: error: "PTRS_PER_PMD" is not defined, evaluates to 0 [-Werror=undef]
   59 | #if PTRS_PER_PMD > 1
      |     ^~~~~~~~~~~~

Maybe you should try 

 1019  2024-07-08 20:18:10  make clean
 1020  2024-07-08 20:18:17  make randconfig
 1021  2024-07-08 20:18:32  time nice make -k W=1 -j 36 bindeb-pkg |& tee ../err-next-20230705-04p.log; date

Thanks.

Best regards,
Mirsad Todorovac

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ