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>] [day] [month] [year] [list]
Message-ID: <4d2b16d6-ea40-c43f-52f-d1c62eb97aa@aaazen.com>
Date: Mon, 2 Sep 2024 15:23:25 -0700 (PDT)
From: Richard Narron <richard@...zen.com>
To: Linux stable <stable@...r.kernel.org>
cc: Greg KH <greg@...ah.com>, Linus Torvalds <torvalds@...ux-foundation.org>, 
    Linux kernel <linux-kernel@...r.kernel.org>, 
    Patrick Volkerding <volkerdi@...il.com>
Subject: Re: [PATCH 5.15 000/215] 5.15.166-rc1 review

I get "out of memory" build error on Slackware 15.0 (x86) with kernels
5.15.164, 5.15.165, and 5.15.166-rc1.

#uname -a
Linux aragorn 5.15.166-rc1-smp #1 SMP PREEMPT Mon Sep 2 14:03:00 PDT 2024
i686 AMD Ryzen 9 5900X 12-Core Processor AuthenticAMD GNU/Linux

The attached configuration I use is the standard Slackware 15.0:
config-huge-smp-5.15.161-smp

Here is some of the error log for the 5.15.166-rc1 build:
...
  LD [M]  drivers/mtd/tests/mtd_stresstest.o
  LD [M]  drivers/pcmcia/pcmcia_core.o
  LD [M]  drivers/mtd/tests/mtd_subpagetest.o

cc1: out of memory allocating 180705472 bytes after a total of 283914240
bytes
  LD [M]  drivers/mtd/tests/mtd_torturetest.o
  CC [M]  drivers/mtd/ubi/wl.o
  LD [M]  drivers/pcmcia/pcmcia.o
  CC [M]  drivers/gpu/drm/nouveau/nvkm/engine/disp/headgv100.o
  CC [M]  drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_hw_lock_mgr.o
  LD [M]  drivers/mtd/tests/mtd_nandbiterrs.o
  CC [M]  drivers/mtd/ubi/attach.o
  LD [M]  drivers/staging/qlge/qlge.o
make[4]: *** [scripts/Makefile.build:289:
drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_1.0/ia_css_ynr.host.o]
Er
ror 1
make[3]: *** [scripts/Makefile.build:552: drivers/staging/media/atomisp]
Error 2
make[2]: *** [scripts/Makefile.build:552: drivers/staging/media] Error 2
make[2]: *** Waiting for unfinished jobs....
  LD [M]  drivers/pcmcia/pcmcia_rsrc.o
  CC [M]  drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dmub_outbox.o
make[1]: *** [scripts/Makefile.build:552: drivers/staging] Error 2
make[1]: *** Waiting for unfinished jobs....
...

I have a work around...

When I unpatch these 6 minmax patches taken from kernel-5.15.164
then the errors are fixed!

minmax: allow comparisons of 'int' against 'unsigned char/short'
minmax: allow min()/max()/clamp() if the arguments have the same
minmax: clamp more efficiently by avoiding extra comparison
minmax: fix header inclusions
minmax: relax check to allow comparison between unsigned arguments
minmax: sanity check constant bounds when clamping

Can the minmax patches be removed or fixed?

View attachment "config-huge-smp-5.15.161-smp" of type "text/plain" (248163 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ