From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C75FC433EF for ; Tue, 1 Mar 2022 16:01:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235936AbiCAQCN (ORCPT ); Tue, 1 Mar 2022 11:02:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235942AbiCAQCM (ORCPT ); Tue, 1 Mar 2022 11:02:12 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEEBAA146A; Tue, 1 Mar 2022 08:01:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Sender:In-Reply-To: Content-Transfer-Encoding:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description; bh=qm5dRt7Gv4aZmweadp/wzo25KjVUcXv8NB7v3UutMTM=; b=1814yqXWXWPNT5Q0nL4NdOCsiQ mxFREAXuA62BlyPV9R6t5SGOIaheXozWprFqVyBlipNT7IC2x9hQvaaDcRdfmbsfHzj5eoHQVx9pV 0gk/IYVY/V2XugPGQxACJVu4tTGsvFhVLBAXNOwwNjiEmpdQUAM7SDm6jFpdK+AsAh5CQ4O1AjrAL ReNRmbXUtWj4uFalvaLSbLGhHz1DKjo/F9fvXe2B7g/3nSDa+K/hRvit9AnGXNjwbNzv4r1/2yZL5 4RO9oTMigDahqAXRI/KtW7sxuQvsmeLa8DYRvjx0gnhK+6BLmGqiB0RwGeqGmNtFIINTgdSZLOlw6 ixTeZD3g==; Received: from mcgrof by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nP4wF-00HSkf-KG; Tue, 01 Mar 2022 16:01:23 +0000 Date: Tue, 1 Mar 2022 08:01:23 -0800 From: Luis Chamberlain To: Christophe Leroy , Lucas De Marchi , Lucas De Marchi Cc: "pmladek@suse.com" , "cl@linux.com" , "mbenes@suse.cz" , "akpm@linux-foundation.org" , "jeyu@kernel.org" , "linux-kernel@vger.kernel.org" , "linux-modules@vger.kernel.org" , "void@manifault.com" , "atomlin@atomlin.com" , "allen.lkml@gmail.com" , "joe@perches.com" , "msuchanek@suse.de" , "oleksandr@natalenko.name" , "jason.wessel@windriver.com" , "daniel.thompson@linaro.org" , Aaron Tomlin Subject: Re: [PATCH v9 00/14] module: core code clean up Message-ID: References: <20220228234322.2073104-1-atomlin@redhat.com> <2e2860d7-23e8-63f3-f7d3-bce0aa57a3d0@csgroup.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2e2860d7-23e8-63f3-f7d3-bce0aa57a3d0@csgroup.eu> Sender: Luis Chamberlain Precedence: bulk List-ID: On Tue, Mar 01, 2022 at 07:44:26AM +0000, Christophe Leroy wrote: > > > 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 ? Lucas? Luis