From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:44788) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jEa2A-0008EK-SU for guix-patches@gnu.org; Wed, 18 Mar 2020 10:51:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jEa29-0004nA-Sc for guix-patches@gnu.org; Wed, 18 Mar 2020 10:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:35042) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jEa29-0004mu-OV for guix-patches@gnu.org; Wed, 18 Mar 2020 10:51:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jEa29-0003z9-JS for guix-patches@gnu.org; Wed, 18 Mar 2020 10:51:01 -0400 Subject: [bug#37868] [PATCH v8] system: Add kernel-module-packages to operating-system. Resent-Message-ID: References: <20200227135146.5701-1-dannym@scratchpost.org> <20200227155029.2542-1-dannym@scratchpost.org> <20200314194055.6d857037@scratchpost.org> <877dzlgbe2.fsf@gmail.com> <20200315191736.33ed8abf@scratchpost.org> <87y2s0ei8i.fsf@gmail.com> <20200316211052.5d4e29a2@scratchpost.org> From: Mathieu Othacehe In-reply-to: <20200316211052.5d4e29a2@scratchpost.org> Date: Wed, 18 Mar 2020 15:50:12 +0100 Message-ID: <87v9n1d8ez.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Danny Milosavljevic Cc: mhw@netris.org, ludo@gnu.org, 37868@debbugs.gnu.org Hello Danny, > It could just be the > > (not target) ;XXX: no cross-compilation > > in guix/build-system/linux-module.scm - because the other file should support > it just fine. Removing the (not target) is enough to make it build. However, when running: --8<---------------cut here---------------start------------->8--- guix build --target=aarch64-linux-gnu acpi-call-linux-module --8<---------------cut here---------------end--------------->8--- the produced module does not seem to be cross-compiled: --8<---------------cut here---------------start------------->8--- mathieu@meru:~/guix$ file /gnu/store/fkk5cd746xxh1nx4qvi7arzhznf37yxw-acpi-call-linux-module-3.17/lib/modules/5.4.25-gnu/extra/acpi_call.ko /gnu/store/fkk5cd746xxh1nx4qvi7arzhznf37yxw-acpi-call-linux-module-3.17/lib/modules/5.4.25-gnu/extra/acpi_call.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=a1d9e0ec7b8ef5096a4e1b5c2e7ca6a8bd524cf9, not stripped --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu