[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2e2860d7-23e8-63f3-f7d3-bce0aa57a3d0@csgroup.eu>
Date: Tue, 1 Mar 2022 07:44:26 +0000
From: Christophe Leroy <christophe.leroy@...roup.eu>
To: Luis Chamberlain <mcgrof@...nel.org>
CC: "pmladek@...e.com" <pmladek@...e.com>,
"cl@...ux.com" <cl@...ux.com>, "mbenes@...e.cz" <mbenes@...e.cz>,
"akpm@...ux-foundation.org" <akpm@...ux-foundation.org>,
"jeyu@...nel.org" <jeyu@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-modules@...r.kernel.org" <linux-modules@...r.kernel.org>,
"void@...ifault.com" <void@...ifault.com>,
"atomlin@...mlin.com" <atomlin@...mlin.com>,
"allen.lkml@...il.com" <allen.lkml@...il.com>,
"joe@...ches.com" <joe@...ches.com>,
"msuchanek@...e.de" <msuchanek@...e.de>,
"oleksandr@...alenko.name" <oleksandr@...alenko.name>,
"jason.wessel@...driver.com" <jason.wessel@...driver.com>,
"daniel.thompson@...aro.org" <daniel.thompson@...aro.org>,
Aaron Tomlin <atomlin@...hat.com>
Subject: Re: [PATCH v9 00/14] module: core code clean up
Le 01/03/2022 à 01:21, Luis Chamberlain a écrit :
>
> We should run kmod tests as well.
>
I tried to build kmod tests, but I get a crazy result:
$ ./configure --host=ppc-linux --prefix=/usr/local
$ make
$ cd testsuite
$ make
$ file test-list
test-list: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1
(SYSV), dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux
3.2.0, with debug_info, not stripped
$ file module-playground/mod-loop-a.ko
module-playground/mod-loop-a.ko: ELF 64-bit LSB relocatable, x86-64,
version 1 (SYSV),
BuildID[sha1]=d46956a4fd36d8d3467806c31831c81217a573f5, with debug_info,
not stripped
How do I get it to crossbuild proper PowerPC module ?
Thanks
Christophe
Powered by blists - more mailing lists