Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp102045pxm; Tue, 1 Mar 2022 16:03:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJzk41C/zOGc4s2vkfQI0hvTVGsjPRhB+4FNJCrQposFIujFjT9kpjJDWBnpB9yzWi1Jei93 X-Received: by 2002:a17:906:b287:b0:6ce:98af:3f6e with SMTP id q7-20020a170906b28700b006ce98af3f6emr20344674ejz.216.1646179399939; Tue, 01 Mar 2022 16:03:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646179399; cv=none; d=google.com; s=arc-20160816; b=T0PHVrghmQR0U8Etn+erVKX0WvNC+d+K6MKbhYW/YmLk8zd09J8aZbWJlopZKpYrwX nkmE4C59wtDtn2vZTSRXNDeG+ix1hg2jbfzimeBot9yit913ZL1J3X5O4U5XEiRi/A9S ttqOCRubSsmIsXvAErF9We/1BAnZ13IJlbZmKgIUAKbQ85ez8YloMonHaKzT9OHdFb9q tE97xYW66t7kV6dZ1me87Jl0jkOFpr07uAAMtCwqvqgwjrJh0TqMpWlPL9YTqIFPtpby brb0bF+QOg4qhW9DllPN1RtRzZf0Rs0b492lIJLswm9596fwuZwVNQhvYF8zYFO4ZoO4 EiYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=qm5dRt7Gv4aZmweadp/wzo25KjVUcXv8NB7v3UutMTM=; b=DOTrNxkQtWY6yyF2XsxqVl1xldWk8M3OiYuZpo2Q+onIpPLlAUiO5R3+K59BvsVJI7 hOf2NAMtJLwmw7IZc6ozeRlHaQTa0xZwWebd6YgXjDYSUrjhzDlTjeR3MAdTnX0ykxgd U/3s7uGFGskI+Kecc/p1j3y2EgSc1aowIeItOECL/Gr6//mXxPKBrAEI6wiePOxdrnma QS6AXTGiKOJgvC6KxEftEj9Aaa0XhnIGqlV1cCoqT3s69enmqlDgfPdKgn3o0+l0CsWF bUjqJ6iMm2SHma0qF/TvECRHPf+qC6o9BfOeMao5TKVynJQADXckbouj3uDBCH0So4YW O8CA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1814yqXW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kx4-20020a170907774400b006b5d25fc542si8807472ejc.502.2022.03.01.16.02.57; Tue, 01 Mar 2022 16:03:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=1814yqXW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235952AbiCAQCN (ORCPT + 99 others); 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 X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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