Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5463185rdb; Sat, 16 Sep 2023 19:51:23 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEHmbJHrAqgumPpR+KOcCABvv2et9RhJ3zVrFI9J3xLhFQXSwVYPkI+ddUGm3fKHvB0dl57 X-Received: by 2002:a05:6358:989a:b0:142:d5d4:1b9c with SMTP id q26-20020a056358989a00b00142d5d41b9cmr6738351rwa.26.1694919082890; Sat, 16 Sep 2023 19:51:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694919082; cv=none; d=google.com; s=arc-20160816; b=nBSZFWoq/65bnsJ567xtNCOEr9Q8IQ5M/NJ+kofYBjt+nIww5e4T+MCwwG4GYoCBb0 vnyl71KAvBREgrjPuw+px5XLHlhL59Ss5BeTEpbNiO6ncD3oSm2ICBtlaeexVo+yDkSo fHYbgiiCYWIm/oCLgghYeVeqcjNO6e6zZ/0WJS/6wepIN8ocgXJZMCK/jd8rLqWh5nMf s/tXgIDnVXAxbCQBNiah7lLmA+0HokK3LnIrEcjUwL7amqye+Monr3HcDA12Hh1ydyAG C/v87S6UjxWwXMlkfCEeCeWO2h7TShRGyHMd2YNeLcv6/ER9sAoIC3LPVwMdMgBHqHGF o5PQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=lDZx6IvA2N55Irx5NeAUAcuho/e9I+m9wEL/p3l1mj8=; fh=q3eJ70+nPBBOurH5DI6uivZtkSdfT1YhlPrRDAlF5bE=; b=NgdspZ8C5uEDbyTgE67wu91+OdGvGgL6LU+OfQU/G3hmvY6PaxOIKuZKpMiPGuyAzK 1xNjSARVb7Rwiv6ZANSECODh9XbrZUI4BqkUGP9PJ+eIuFyQZ/ObQxHgAx+3aQYtcjzw Y1HzICe7Tw23MAsRjeCeF3v6lpbtX6EqK7GwLELLs0pU2pD0kVPJ1jEVRRzHN5CGxErs rYyHqsWEVNsbS025ZWOxSiy8UxOIB6MLuiaPYravJdh2QtwOmUeOZr6d+cHARcbLaZkh s2irtrsxgc/j7+O8VLc+AWV7ngO2Rgq2BRYEREIHbMSAwWma0C95GEmH8vvDWuP/hsc4 sWkw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id ky11-20020a170902f98b00b001bb8f59aca3si5608924plb.583.2023.09.16.19.51.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 19:51:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 37B3B84A9754; Sat, 16 Sep 2023 19:51:20 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231897AbjIQCun (ORCPT + 99 others); Sat, 16 Sep 2023 22:50:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56432 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230166AbjIQCu2 (ORCPT ); Sat, 16 Sep 2023 22:50:28 -0400 Received: from 1wt.eu (ded1.1wt.eu [163.172.96.212]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 960F219A; Sat, 16 Sep 2023 19:50:22 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 38H2nnj8009853; Sun, 17 Sep 2023 04:49:49 +0200 Date: Sun, 17 Sep 2023 04:49:49 +0200 From: Willy Tarreau To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Shuah Khan , linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 1/4] selftests/nolibc: allow building i386 with multiarch compiler Message-ID: <20230917024949.GD9646@1wt.eu> References: <20230914-nolibc-syscall-nr-v1-0-e50df410da11@weissschuh.net> <20230914-nolibc-syscall-nr-v1-1-e50df410da11@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230914-nolibc-syscall-nr-v1-1-e50df410da11@weissschuh.net> User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sat, 16 Sep 2023 19:51:20 -0700 (PDT) On Thu, Sep 14, 2023 at 06:01:17PM +0200, Thomas Wei?schuh wrote: > When building with a multiarch-capable compiler, like those provided by > common distributions the -m32 argument is required to build 32bit code. > > Wrap it in cc-option in case the compiler is not multiarch-capable. I think it's a good idea. Zhangjin was also using a single compiler for both archs. > Signed-off-by: Thomas Wei?schuh Acked-by: Willy Tarreau Willy