[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CA+rFky47GhkLBCis+ZmP_e+2MjNXt6oukqBhCf=qBGySxiGAJA@mail.gmail.com>
Date: Thu, 9 Nov 2023 21:36:02 +0300
From: Andrew Randrianasulu <randrianasulu@...il.com>
To: lkml <linux-kernel@...r.kernel.org>
Subject: drivers/media/pci/solo6x10 fails to crosscompile from 32-bit gcc
===
make ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- -j8
mkdir -p /dev/shm/linux-2.6/tools/objtool && make O=/dev/shm/linux-2.6
subdir=tools/objtool --no-print-directory -C objtool
INSTALL libsubcmd_headers
CALL scripts/checksyscalls.sh
CC [M] drivers/media/pci/solo6x10/solo6x10-p2m.o
CHK kernel/kheaders_data.tar.xz
CC [M] drivers/media/pci/solo6x10/solo6x10-enc.o
cc1: out of memory allocating 301930784 bytes after a total of 149139456 bytes
make[6]: *** [scripts/Makefile.build:243:
drivers/media/pci/solo6x10/solo6x10-p2m.o] Ошибка 1
make[6]: *** Ожидание завершения заданий…
virtual memory exhausted: Невозможно выделить память
make[6]: *** [scripts/Makefile.build:243:
drivers/media/pci/solo6x10/solo6x10-enc.o] Ошибка 1
make[5]: *** [scripts/Makefile.build:480: drivers/media/pci/solo6x10] Ошибка 2
make[4]: *** [scripts/Makefile.build:480: drivers/media/pci] Ошибка 2
make[3]: *** [scripts/Makefile.build:480: drivers/media] Ошибка 2
make[2]: *** [scripts/Makefile.build:480: drivers] Ошибка 2
make[1]: *** [/dev/shm/linux-2.6/Makefile:1911: .] Ошибка 2
make: *** [Makefile:234: __sub-make] Ошибка 2
===
kernel git 6bc986ab839c844e78a2333a02e55f02c9e57935
cross-gcc
x86_64-unknown-linux-gnu-gcc --version
x86_64-unknown-linux-gnu-gcc (GCC) 11.4.0
cmd line
make ARCH=x86_64 CROSS_COMPILE=x86_64-unknown-linux-gnu- -j8
for now I think I'll just disable this driver
Powered by blists - more mailing lists